-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (82 loc) · 1.96 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
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sriracha&display=swap');
:root {
--font1: 'Verdana, Geneva, Tahoma, sans-serif';
--font2: 'Passion One', 'cursive';
--font3: 'Sriracha', 'cursive'
}
* {
margin: 0px;
padding: 0px;
font-size: 1em;
}
html, body {
font-family: var(--font1);
min-height: 100vh;
background-color: darkgray;
}
header {
background-color: black;
color: white;
text-align: center;
}
header > h1 {
padding-top: 50px;
font-variant: small-caps; /* tudo em maiuscula */
font-family: var(--font2);
font-size: 10vw;
}
header > p {
padding-bottom: 50px;
}
header a, footer a {
color: white;
text-decoration: none;
font-weight: bolder; /* negrito */
}
header a:hover, footer a:hover {
text-decoration: underline;
}
section {
padding-top: 10%;
padding-bottom: 10%;
line-height: 5vw; /* conforme aumentando largura aumenta o tamanho da letra*/
padding-left: 30px;
font-family: var(--font3);
font-size: 3.5vw;
}
section.normal {
background-color: white;
color: black;
}
section > p {
padding-bottom: 2em; /* tamanho entre 1 e outro */
}
section.imagem > p {
background-color: rgba(0, 0, 0, 0.384);
display: inline-block; /* caixa q se adapta ao conteudo */
padding: 5px;
}
section#img01 {
background-image: url(imagens/background001.jpg);
background-position: right center;
text-shadow: 1px 1px 0px black;
}
section#img02 {
background-image: url(imagens/background002.jpg);
}
section.imagem {
background-color: rgb(95, 90, 90);
color: white;
box-shadow: inset 6px 6px 13px 0px rgba(0, 0, 0, 0.418);
background-size: cover;
background-attachment: fixed;
}
/* rodapé */
footer {
background-color: rgb(51, 51, 51);
text-align: center;
color: white;
padding: 10px;
}