-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
142 lines (124 loc) · 2.71 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #121212;
color: #e0e0e0;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh; /* Full height to center content */
position: relative; /* Allow absolute positioning of search bar */
}
.search-container {
position: fixed; /* Fixed position */
top: 10px; /* Stick to the top */
width: 100%;
max-width: 600px;
margin: 0 auto; /* Centering */
z-index: 10; /* Ensure it appears above other elements */
}
.search-container input {
width: 100%;
padding: 10px;
border: 2px solid #ffd700;
border-radius: 5px;
background-color: #2a2a2a;
color: #e0e0e0;
font-size: 1em;
}
.search-results {
position: absolute;
top: 45px; /* Below the search input */
width: 100%;
max-width: 600px;
background-color: #2a2a2a;
border: 2px solid #ffd700;
border-radius: 5px;
z-index: 10;
display: none; /* Hidden by default */
max-height: 200px;
overflow-y: auto;
}
.search-result {
padding: 10px;
color: #e0e0e0;
cursor: pointer;
}
.search-result:hover {
background-color: #444;
}
h1 {
color: #ffd700;
margin-bottom: 10px;
font-size: 2.5em;
text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
p {
font-size: 1.2em;
margin-bottom: 20px;
text-align: center;
}
.sections-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
gap: 20px;
padding: 10px;
max-width: 1200px;
width: 100%;
}
.section {
background-color: #2a2a2a;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
transition: transform 0.3s, box-shadow 0.3s;
text-align: center;
color: inherit;
text-decoration: none;
}
.section:hover {
transform: scale(1.05);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}
.section h3 {
font-size: 1.5em;
margin: 10px 0;
color: #ffd700;
}
.section p {
font-size: 1em;
color: #b0b0b0;
}
.description {
margin-top: 30px;
font-size: 1.1em;
color: #b0b0b0;
max-width: 800px;
text-align: center;
}
footer {
position: fixed; /* Fix the footer to the bottom */
bottom: 20px; /* Adjust this value to move it up or down */
left: 0;
width: 100%;
text-align: center; /* Center the text */
font-size: 0.9em;
color: #b0b0b0;
}
@media (max-width: 400px) {
.section h3 {
font-size: 1.2em;
}
}
@media (max-width: 600px) {
h1 {
font-size: 2em;
}
.section {
padding: 15px;
}
.description {
font-size: 1em;
}
}