-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
62 lines (56 loc) · 1.15 KB
/
style.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
body, html {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background: #e0f7fa;
text-align: center;
color: #333;
}
h1 {
background: #0277bd;
color: #fff;
padding: 20px 0;
margin: 0;
font-size: 2.5em;
}
nav ul {
list-style: none;
padding: 0;
margin: 20px auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
max-width: 800px;
}
nav ul li {
margin: 10px;
flex: 1 0 150px;
}
nav ul li a {
display: block;
text-decoration: none;
color: #0277bd;
background-color: #ffffff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, background-color 0.3s ease;
font-size: 1.2em;
font-weight: bold;
position: relative;
text-align: center;
}
nav ul li a:hover {
background-color: #b3e5fc;
transform: translateY(-5px);
}
.contributor {
font-size: 0.8em;
color: #666;
position: absolute;
bottom: -20px;
left: 50%;
transform: translateX(-50%);
width: 100%;
text-align: center;
}