-
Notifications
You must be signed in to change notification settings - Fork 0
/
estilo.css
120 lines (84 loc) · 2.12 KB
/
estilo.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
/*Tarefa 8: Box Model*/
/*Aluna Luciene Lima*/
/*Instruções da professora sobre a configuração:
{
width: 400px;
height: 400px;
}
*/
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@1,700&display=swap');
body {
background-color: rgb(238, 250, 187);
}
/*título*/
h1 {
text-align: center;
font-size: 3em;
color: rgb(30, 62, 170);
font-family: 'PT Sans', sans-serif;
/*margin-bottom: 100px;*/
margin: 0;
font-weight: bold;
}
h1:hover {
/*color: rgb(240, 43, 43);*/
color: violet;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
/*Foto e parágrafo*/
div {
/*ajustando a foto*/
background-image: url(flor3.jpg);
text-align: center;
width: 400px;
height: 400px;
/*ajustando a borda da foto*/
border-width: 20px;
border-style: groove;
/*borda interna*/
border-color: rgb(160, 245, 234);
border-radius: 50%;
box-shadow: inset 2px 6px 23px 20px rgb(27, 219, 27);
background-size: cover; /*adapta a imagem dentro da div*/
padding: 10px;
/*borda externa*/
outline-width: 56px; /*largura contorno por fora*/
/*outline-style: groove; /*tipo de contorno*/
/*outline-style: outset;*/
outline-style: double;
outline-color: rgb(55, 245, 55);
/*margem*/
margin: auto; /*pra deixar o elemento no meio do site*/
margin-top: 100px; /*pro elemento não grudar em cima*/
}
div:hover {
/*borda interna*/
border-color: aqua;
/*sombra*/
box-shadow: inset 26px 6px 26px 20px rgb(27, 219, 27);
/*borda externa*/
/*outline-style: dotted;*/
outline-style: dashed;
}
/*descodificadas*/
div p {
color: yellow;
padding-top: 100px;
font-style: italic;
font-weight: bold;
font-size: 50px;
}
/*rodapé*/
footer {
color: black;
font-size: 1em;
padding-top: 8em;
font-weight: bold;
text-align: center;
}
/*pegar só o 1º p do footer*/
footer p:nth-of-type(1) {
opacity: .6;
font-size: .8em;
}
/* Esse trabalho foi feito por Luciene Lima */