-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
186 lines (184 loc) · 3.83 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
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@font-face {
font-family:'idroid';
src: url('/HTML-CSS/Exercicios/Modulo02/DESAFIO10/pacote-projeto-d010/fontes/idroid.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: 'Bebas';
src: url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap') format('opentype');
font-weight: normal;
font-style: normal;
}
*{
margin: 0px;
padding: 0px;
}
:root {
--cor0:#c5ebd6;
--cor1:#83e1ad;
--cor3:#3ddc84;
--cor4:#2fa866;
--cor5:#1a5c37;
--cor6:#063d1e;
--fonte-padrao: Arial,Verdana,Helvetica,sans-serif;
--fonte-destaque: 'Bebas Neus', cursive;
--fonte-android:'idroid', cursive;
}
*{
margin: 0px;
padding: 0px;
}
body{
background-color: var(--cor1);
}
a.externo:after{
content: '\00A0\1F517';
}
p{
margin: 15px 0px;
text-align: justify;
text-indent: 30px;
font-size: 1em;
line-height: 2em;
}
header{
min-height: 150px;
padding-top: 35px;
margin: auto;
background-image: linear-gradient(to bottom, var(--cor3),var(--cor5));
color: white;
text-align: center;
}
header > h1{
margin-bottom: 20px;
font-family: var(--fonte-destaque);
font-size: 3em;
margin-bottom: 20px;
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.148);
font-weight: normal;
}
header > p{
font-family: var(--fonte-padrao);
font-size: 1.2em;
padding: 15px;
max-width: 500px;
margin: auto;
padding-left: 10px;
padding-right: 10px;
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.148);
padding-bottom: 20px;
}
nav{
background-color: var(--cor5);
padding: 10px;
box-shadow: 0px 7px 7px rgba(0, 0, 0, 0.361);
text-align: left;
}
nav > a{
color:var(--cor1);
padding: 10px;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
transition-duration: .5s;
}
nav > a:hover {
background-color: var(--cor3);
color: var(--cor5);
}
main{
background-color: white;
min-width: 300px;
max-width: 1000px;
margin: auto;
margin-bottom: 30px;
padding: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.404);
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
main h1{
color: var(--cor5);
font-family: var(--fonte-android);
}
main h2 {
color: var(--cor4);
font-family: var(--fonte-android);
background-image: linear-gradient(to right, var(--cor3),transparent);
font-size: 1.3em;
text-indent: 10px;
font-weight: normal;
}
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: 50%;
position: relative;
}
div.video > iframe{
position: absolute;
top: 5%;
left: 5%;
width:90% ;
right: 90%;
}
main strong{
color: var(--cor4);
font-weight: bold;
padding: 2px 6px;
}
main a{
text-decoration: none;
font-weight: bold;
color: var(--cor5);
background-color: var(--cor1);
padding: 2xp 6px;
}
main a:hover{
text-decoration: underline;
color: var(--cor4);
}
aside{
background-color: var(--cor1);
padding: 10px;
border-radius: 10px;
box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.276);
}
aside > ul{
list-style-type: '\2714\00A0\00A0';
list-style-position: inside;
columns: 2;
}
aside > h3{
background-color: var(--cor4);
color: white;
padding: 10px;
margin: -10px -10px 0px -10px;
border-radius: 10px 10px 0px 0px;
}
footer{
text-align: center;
font-size: 0.8em;
padding: 5px;
}
footer a{
color: white;
font-weight: bolder;
text-decoration: none;
}
footer a:hover{
text-decoration: underline;
color: var(--cor1);
}