-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.min.css
109 lines (92 loc) · 1.69 KB
/
styles.min.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
99
100
101
102
103
104
105
106
107
108
109
html {
height: 100%;
}
body {
background-color: #f0f0f5;
position: relative;
min-height: 100vh;
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
color: #333;
}
main {
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
/* CSS for navigation bar */
.navbar {
position: -webkit-sticky;
position: sticky;
top: 0;
width: 100%;
height: 7%;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
background-color: #080256;
color: white;
padding: 10px 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease;
/* Debug border */
/* border: solid red; */
}
.navbar:hover {
background-color: #0b0d30;
}
img {
max-width: 100%;
height: auto;
margin: 20px 0;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
img:hover {
transform: scale(1.02);
transition: transform 0.3s ease;
}
.nav-list {
display: flex;
flex-direction: row;
position: relative;
right: 30px;
list-style: none;
}
.navbar a {
color: white;
font-weight: 500;
margin: 0 12px;
text-decoration: none;
letter-spacing: 1px;
transition: color 0.3s ease, transform 0.2s ease;
}
.navbar a:hover {
color: #f9a826;
transform: scale(1.1);
}
/* CSS for page footer */
.footer {
display: flex;
justify-content: center;
align-items: center;
background-color: #080256;
color: white;
position: relative;
bottom: 0;
width: 100%;
height: 2.5rem;
padding: 10px 0;
margin-top: 20px;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
footer p {
margin: 0;
font-size: 0.9rem;
}