-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
55 lines (47 loc) · 989 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
*{
box-sizing: border-box;
}
body{
margin: 0; min-height: 100vh; display: flex; flex-direction: column;
background-image: linear-gradient(45deg, #eee, #ccc)
}
/* Header Section */
header{
display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; background-color: #eee; flex-shrink: 0;
}
.header-left{
display: flex; align-items: center; width: fit-content;
}
.header-logo{
width: 120px; height: auto;
}
.header-left > h1{
display: inline-block;
}
/* Header : Nav */
nav ul{
list-style-type: none;
}
nav ul li{
display: inline-block;
}
nav ul li a:link, nav ul li a:visited{
display: block; text-decoration: none; padding: 5px 10px;
}
nav ul li a:hover{
background-color: blue; color: white;
}
/* Section */
section{
flex-grow: 1;
}
/* Footer */
footer{
flex-shrink: 0;
}
/* Media Screen */
@media screen and (min-width: 1441px){
.p-lg{
padding-left: 200px; padding-right: 200px;
}
}