-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (100 loc) · 2.44 KB
/
style.css
File metadata and controls
120 lines (100 loc) · 2.44 KB
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
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'VT323', monospace;
background: #000;
color: #fff;
font-size: 24px;
line-height: 1.4;
}
a { color: #fff; }
a:hover { opacity: 0.7; }
header {
position: sticky;
top: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.6em 2em;
background: #000;
border-bottom: 1px solid #333;
}
.header-left { display: flex; align-items: center; gap: 0.6em; }
.brand { font-size: 1.8em; }
.logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
nav { display: flex; gap: 1.5em; }
nav a { text-decoration: none; font-size: 1.2em; }
.info-banner {
text-align: center;
padding: 0.6em 1.5em;
background: #2a1a3e;
border-bottom: 1px solid #6a3fad;
color: #d4bfff;
font-size: 1em;
}
main {
max-width: 1200px;
margin: 0 auto;
padding: 2em 1.5em 4em;
}
section { margin-bottom: 3em; }
h2 {
font-size: 2em;
margin-bottom: 0.5em;
border-bottom: 1px solid #333;
padding-bottom: 0.3em;
}
ul { padding-left: 1.5em; margin: 0.5em 0 1em; }
li { margin-bottom: 0.4em; }
p { margin-bottom: 0.8em; }
.carousel-wrapper {
overflow: hidden;
border: 1px solid #333;
aspect-ratio: 16 / 6;
}
.carousel {
display: flex;
height: 100%;
transition: transform 0.5s ease;
}
.carousel img { width: 100%; flex-shrink: 0; display: block; object-fit: cover; }
.carousel-dots { display: flex; justify-content: center; gap: 0.5em; margin-top: 0.8em; }
.dot {
width: 10px; height: 10px;
border: 1px solid #fff;
border-radius: 50%;
cursor: pointer;
transition: background 0.2s;
}
.dot.active { background: #fff; }
.center-btn {
display: flex;
justify-content: center;
margin-top: 0.5em;
}
.btn {
display: inline-block;
padding: 0.4em 1.4em;
border: 1px solid #fff;
text-decoration: none;
font-size: 1.2em;
transition: background 0.2s, color 0.2s;
}
.btn:hover { background: #fff; color: #000; opacity: 1; }
.footer-github { display: inline-flex; align-items: center; margin-left: 1em; text-decoration: none; }
.github-icon { width: 28px; height: 28px; filter: invert(1); margin-right: 0.4em; }
footer {
display: flex;
align-items: center;
gap: 1em;
border-top: 1px solid #333;
padding: 1.2em 2em;
}
@media (max-width: 600px) {
header { padding: 0.5em 1em; }
.brand { font-size: 1.3em; }
nav { gap: 0.8em; }
nav a { font-size: 1em; }
main { padding: 1em; }
h2 { font-size: 1.5em; }
}