-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
95 lines (79 loc) · 1.24 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
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
}
header {
background: #333;
color: #fff;
padding: 10px 0;
}
header .container {
width: 80%;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
header h1 {
font-size: 1.8em;
}
nav ul {
list-style: none;
}
nav ul li {
display: inline;
margin-left: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
section {
padding: 20px 0;
}
.container {
width: 80%;
margin: 0 auto;
}
#about .photo img {
width: 150px;
height: 150px;
border-radius: 50%;
border: 5px solid #333;
}
#about .info {
display: inline-block;
vertical-align: top;
margin-left: 20px;
}
#about h2, #skills h2, #contact h2 {
margin-bottom: 10px;
font-size: 1.6em;
}
ul {
list-style: none;
}
ul li {
background: #333;
color: #fff;
margin: 5px 0;
padding: 10px;
border-radius: 5px;
}
footer {
background: #333;
color: #fff;
padding: 10px 0;
text-align: center;
}
footer p {
margin: 0;
}