-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (92 loc) · 2.14 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
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Passion+One&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;
}
html,body{
min-height: 100vh;
background-color: darkgray;
font-family: var(--font1);
}
header{
background-color: black;
color: white;
text-align: center;
font-family: var(--font2);
font-size: 1.5em;
}
.title{
padding-top:50px;
font-variant:var (--font3);
}
.title2{
padding-bottom:50px;
font-family: var(--font3);
font-size: 0.6em;
}
a{
color: white;
text-decoration: none;
font-weight: bolder;
}
a:hover{
text-decoration: underline;
color: gray;
}
.rodape{
color: white;
}
.rodape:hover{
text-decoration: underline;
}
footer{
color: white;
text-align: center;
background-color:rgb(20, 20, 20);
font-family: var(--font1);
font-size: 0.7em;
}
section{
padding-top: 10vh;
padding-bottom: 10vh;
line-height: 2em;
padding-left: 30px;
font-family: var(--font3);
box-shadow: inset 6px 6px 13px 0px rgba(0, 0, 0, 0.507);
background-size: cover; /*corta e também preenche a tela*/
}
section > p {
bottom: 2em ;
}
section.imagem > p{
width: 400px;
background-color: rgba(0, 0, 0, 0.205);
}
#sectionimg{
background-image: url(imagens/background001.jpg);
background-repeat: no-repeat; /*não permite repetição*/
background-position: right center; /* deixa a posição para a direita e centralizada*/
background-attachment: fixed; /*Faz com que a imagem de fundo fique fixa enquanto se usa a barra de rolagem*/
}
#sectionimg2{
background-image: url(imagens/background002.jpg);
background-repeat: no-repeat;
background-position: right center;
background-attachment: fixed;
text-shadow: 1px 1px 0px black;
}
section.normal{
background-color: white;
color: black;
}
section.imagem{
background-color: rgb(63, 63, 63);
color: white;
}