-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
80 lines (59 loc) · 903 Bytes
/
styles.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
* {
box-sizing: border-box;
}
body, html {
height: 100%;
widows: 100%;
background-color: #FFD4D4;
scroll-behavior: smooth;
color: #FFFFE8;
}
/* ==== HEADER ==== */
header {
height: 20%;
}
/* ==== MAIN ==== */
main {
height: 60%;
}
/* NAVBAR */
nav {
width: 40%;
height: 100%;
float: left;
}
nav ul {
height: 100%;
width: 15rem;
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: space-evenly;
gap: 5px;
text-align: center;
margin: 0 auto;
}
nav li {
text-decoration: none;
padding-top: 1.2rem;
padding-bottom: 1.5rem;
border: solid 4px;
border-radius: 40px;
border-color: #FFFFE8;
font-family: 'Cherry Bomb One', cursive;
font-size: 2rem;
transition: transform 0.4s;
}
nav li:hover {
transform: scale(1.2, 1.2);
}
/* SECTION */
section {
width: 60%;
height: 100%;
float: right;
}
/* ==== FOOTER ==== */
footer {
height: 20%;
}