-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
216 lines (193 loc) · 3.69 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
body {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
font-weight: 500;
font-size: 14px;
color: #fff;
background-color: var(--dark);
min-height: 100vh;;
}
:root {
--dark: #3a1078;
--less-dark: #4e31aa;
--medium: #3e72ff;
--bright: #5dceff;
--medium-translucent: #2f58cdcc
}
p {
margin-bottom: 0px;
text-align: justify;
}
header li,header a,header button {
font-size: 18px;
color: var(--bright);
text-decoration: none;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 10%;
user-select: none;
box-shadow: 0px 1px 8px black;
/* margin-bottom: 20px; */
top:0;
position: sticky;
background-color: #2C3333;
}
.logo img {
width: 150px;
}
.not-links {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.nav-links {
list-style-type: none;
display:flex;
justify-content: space-between;
align-items: center;
flex-direction: row;
font-weight: 800;
}
.nav-links li {
display: inline-block;
padding: 0px 20px;
}
.nav-links li a {
transition: all 0.3s ease 0s;
display: block;
}
.nav-links li a:hover {
color: var(--medium);
}
button {
margin-left: 20px;
padding: 9px 25px;
background-color: var(--medium);
border: none;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease 0s;
font-weight: 700;
}
button:hover {
background-color: var(--medium-translucent);
}
.container {
padding: 80px 200px;
}
/* .container p:nth-child(3) { */
/* margin-bottom: 0; */
/* } */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: rgb(69,69,69);
}
::-webkit-scrollbar-thumb {
background: #888;
}
::-webkit-scrollbar-thumb:hover {
background: #666;
}
.container a {
text-decoration: none;
color: inherit;
font-weight: 800;
transition: 0.3s;
}
.container a:hover {
color: var(--bright);
}
abbr {
text-decoration: none;
cursor:help;
font-weight: 800;
}
/* footer { */
/* height: 4.5rem; */
/* width: 100%; */
/* background-color: var(--medium); */
/* } */
@media (max-width: 992px) {
.container {
padding: 50px 100px;
}
}
@media (max-width: 768px) {
.container {
padding: 30px 50px;
}
.nav-links li {
padding: 0 10px;
}
}
@media (max-width: 576px) {
.container {
text-align: left !IMPORTANT;
}
}
.not-links {
width: 100%;
}
#bars {
display: none;
font-size: 24px;
cursor: pointer;
width: 10x;
}
#bars img {
width: 24px;
}
@media (max-width: 655px){
#bars {
display: inline-block;
}
.nav-links,nav {
display: none;
transition: 0.3s;
}
header.active {
display: flex;
flex-direction: column;
text-align: center !important;
}
.nav-links.active {
display: flex;
flex-direction: column;
width: 100%;
padding: 0 !important;
background-color: var(--less-dark);
}
nav {
width: 100%;
}
.nav-links.active li {
width: 100%;
padding:0;
}
.nav-links.active li:nth-child(1){
border-bottom: 3px solid var(--dark);
}
.nav-links.active li:nth-child(2){
border-bottom: 3px solid var(--dark);
}
.nav-links.active button {
margin-left:0
}
nav.active {
display: block;
}
}
/* small 576
medium 768
large 992
x-large 1200
xx-large 1400*/