-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
75 lines (66 loc) · 1.28 KB
/
index.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
body {
background-image: url('gallery 10.jpg');
background-size: cover;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
header {
padding: 5px 10px;
display: flex;
justify-content: space-between;
align-items: center;
color: rgb(255, 253, 249);
}
nav {
position: absolute;
top: 25px;
left: 50%;
transform: translateX(-50%);
padding: 0 10px;
}
nav a {
text-decoration: none;
color: rgb(255, 253, 249);
font-size: 18px;
padding: 10px 15px; /* Consolidated redundant padding properties */
background-color: transparent;
transition: background-color 0.5s ease;
border-radius: 10px;
margin-right: 5px;
}
nav a:hover,
nav a:focus {
background-color: rgba(255, 255, 255, 0.2);
}
h6 {
text-align: center;
position: absolute;
bottom: 0;
width: 100%;
color: rgb(255, 253, 249);
padding: 10px 0;
margin: 0;
}
.centered-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: rgb(255, 253, 249);
}
.centered-content h2 {
margin-bottom: 10px;
}
.centered-content p {
margin-top: 0;
margin-bottom: 20px;
}
.small-image {
width: 65px;
height: auto;
position: absolute;
top: 10px;
left: 20px;
}