-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (75 loc) · 1.1 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
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
html{
height: 100%;
}
body{
display: grid;
min-height: 100%;
grid-template-areas:
"header header header"
"section section aside"
"footer footer footer";
grid-template-rows: auto 1fr auto;
}
h1{
font-family: Pacifico;
background: linear-gradient(to right, purple, red, magenta, yellow);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
:not(h1){
font-family: Lato;
}
header{
grid-area: header;
}
section{
grid-area: section;
background-color: #e3e3e3;
}
aside{
grid-area: aside;
background-color: #f6f6f6;
}
footer{
grid-area: footer;
background-color: #c9c9c9;
color: dimgrey;
}
.center{
display: grid;
place-items: center;
}
#img{
width: 100%;
height: auto;
}
button{
padding: 0.5rem;
background-color: #405DE6;
color: white;
border: none;
}
button:hover{
opacity: 0.8;
}
header, section, aside, footer{
border: 1px solid grey;
padding: 1.5rem;
}
ul{
list-style-type: none;
}
@media screen and (max-width: 800px){
body{
grid-template-areas:
"header"
"section"
"aside"
"footer";
}
}