-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
253 lines (165 loc) · 3.98 KB
/
style.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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@font-face {
font-family: 'Android';
src: url('fontes/idroid.otf') format('opentype');
font-weight: normal;
}
* {
margin: 0px;
padding: 0px;
}
:root {
--cor0: #ebe5c5;
--cor1: #83e1ad;
--cor2: #3ddc84;
--cor3: #2fa866;
--cor4: #1a5c37;
--cor5: #0b3b20;
--font-padrao: Arial, Verdana, Helvetica, sans-serif;
--font-destaque: 'Bebas Neue', cursive;
--font-android: 'Android', 'cursive';
}
body {
background-color: var(--cor0);
font-family: var(--font-padrao);
}
a.externo::after {
content: '🔗'; /* emoji tirado da -emojipedia- */
}
header {
background-image: linear-gradient(to bottom, var(--cor3), var(--cor5));
min-height: 150px;
padding-top: 35px;
text-align: center;
}
header > h1 {
color: white ;
font-family: var(--font-destaque);
font-size: 3em;
font-weight: normal;
margin-bottom: 15px;
text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.507);
}
header > p {
color: white;
max-width: 500px; /* Ele vira automaticamente um block */
margin: auto;
padding: 0px 5px 10px 10px;
font-family: var(--font-padrao);
font-size: 1.2em; /* (em) relativo ao padrão(16px) ex: 2em = 32px */
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.486);
}
nav {
background-color: var(--cor5);
padding: 15px;
box-shadow: 0px 8px 8px rgba(20, 20, 20, 0.281);
}
nav > a {
color: var(--cor1);
padding: 8px;
margin-right: 5px;
text-decoration: none;
font-weight: bold;
transition-duration: 0.4s; /* define o tempo de duraçao da ação */
}
nav > a:hover {
background-color: var(--cor3);
color: var(--cor5);
border-radius: 17px;
}
main {
background-color: white;
min-width: 320px;
max-width: 1000px;
margin: auto;
margin-bottom: 25px;
padding: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.329);
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
main h1 {
color: var(--cor5);
font-family: var(--font-android);
font-weight: normal;
font-size: 1.8em;
}
main h2 {
color: var(--cor4);
background-image: linear-gradient(to right, var(--cor1),transparent);
text-indent: 7px;
font-size: 1.4em;
font-family: var(--font-android);
font-weight: normal;
}
main p {
margin: 15px 0px;
font-size: 1.1em;
text-align: justify;
text-indent: 25px;
line-height: 2em; /* espaço entre as linhas */
}
main strong {
color: var(--cor4);
font-weight: bold;
}
main a {
text-decoration: none;
font-weight: bold;
color: var(--cor5);
background-color: var(--cor1);
padding: 2px 5px;
}
main a:hover {
text-decoration: underline;
color: var(--cor4);
}
main img {
width: 100%;
}
main img.pequena {
max-width: 350px;
display: block;
margin: auto;
}
div#video {
background-color: var(--cor5);
margin: 0px -20px 30px -20px;
padding: 20px;
padding-bottom: 56.6%; /* para configurar a barra preta dentro do video, (teste 50%) */
position: relative;
}
div#video > iframe {
position: absolute; /* Ao colocar absolute so pode mexer na posiçao por top e left */
top: 5%;
left: 5%;
width: 90%;
height: 90%;
}
aside {
background-color: var(--cor1);
padding: 10px;
border-radius: 10px;
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.37);
}
aside > h3 {
background-color: var(--cor4);
color: white;
padding: 10px;
margin: -10px -10px 0px -10px;
border-radius: 10px 10px 0px 0px;
}
aside > ul {
list-style-position: inside;
list-style-type: '\2714\00A0'; /* mudar o estilo da lista com emojis / O (\00A0) é o espaço em branco em forma de código */
columns: 2;
}
footer {
color: white;
background-color: var(--cor5);
padding: 5px;
font-size: 0.9em;
font-weight: bold;
text-align: center;
}