-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
95 lines (82 loc) · 1.37 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
body,
h1,
h2,
ul,
li,
a {
margin: 0;
padding: 0;
}
body {
font-family: 'Helvetica', Arial, sans-serif;
line-height: 1.6;
background-color: #f8f8f8;
margin: 0;
height: 100vh; /* Full height of the viewport */
display: flex;
flex-direction: column;
}
header {
background-color: #333;
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
header h1 {
font-family: 'Helvetica', sans-serif; /* Use Helvetica font */
color: #fff;
}
header a {
color: #333;
text-decoration: none; /* Remove underline */
display: flex; /* Use flexbox for positioning */
align-items: center; /* Center the content vertically */
}
header img {
width: 30px;
height: 30px;
margin-top: -8px;
margin-left: 5px;
transition: transform 0.3s ease;
}
header img:hover {
transform: scale(1.2);
}
nav {
margin: 60px;
height: 100%;
}
ul {
list-style: none;
display: flex;
justify-content: center;
gap: 40px;
}
li {
margin-bottom: 10px;
}
a {
text-decoration: none;
color: #333;
font-weight: bold;
padding: 8px 12px;
border: 2px solid #333;
display: inline-block;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s;
}
a:hover {
background-color: #333;
color: #fff;
}
footer {
padding: 10px;
text-align: left;
}
footer p {
color: #333;
font-size: 0.8em;
font-weight: bold;
margin: 0;
}