-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
98 lines (82 loc) · 1.4 KB
/
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #fafafa;
}
header {
background-color: #ab387f;
color: #fff;
padding: 20px 0;
text-align: center;
}
main {
padding: 20px;
max-width: 800px;
margin: 20px auto;
background: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h2 {
border-bottom: 2px solid #333;
padding-bottom: 10px;
}
ul {
list-style-type: none;
padding: 0;
}
ul li {
background: #e4e4e4;
margin: 5px 0;
padding: 10px;
border-radius: 4px;
}
footer {
background-color: #ab387f;
color: #fff;
text-align: center;
padding: 10px 0;
position: relative;
width: 100%;
bottom: 0;
}
.navbar ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: center;
}
.navbar ul li {
margin: 0 10px;
}
.navbar ul li a {
color: #fff;
text-decoration: none;
padding: 5px 10px;
border-radius: 4px;
background-color: #444;
}
.navbar ul li a:hover {
background-color: #555;
}
.about-me p, #projects ul {
line-height: 1.6;
}
#projects ul li {
margin-bottom: 10px;
}
@media (max-width: 600px) {
header, footer {
padding: 15px 0;
}
main {
padding: 15px;
margin: 10px;
}
.navbar ul {
flex-direction: column;
}
.navbar ul li {
margin: 5px 0;
}
}