-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
153 lines (128 loc) · 2.19 KB
/
style.css
File metadata and controls
153 lines (128 loc) · 2.19 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/* style.css — ETSI Dark Purple Developer Theme */
:root {
--bg: #121212;
--sidebar: #1e1b29;
--primary: #a87ff3;
--secondary: #e2d9f7;
--text: #f3f3f3;
--muted: #aaa;
--border: #2e2e40;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Segoe UI", sans-serif;
background-color: var(--bg);
color: var(--text);
display: flex;
min-height: 100vh;
}
nav {
width: 260px;
background-color: var(--sidebar);
padding: 2rem 1.5rem;
border-right: 1px solid var(--border);
position: fixed;
height: 100vh;
}
nav h1 {
font-size: 1.6rem;
margin-bottom: 2rem;
color: var(--primary);
}
nav ul {
list-style: none;
}
nav ul li {
margin-bottom: 1.4rem;
}
nav ul li a {
color: var(--muted);
text-decoration: none;
font-weight: 500;
transition: all 0.2s;
}
nav ul li a:hover,
nav ul li a.active {
color: var(--primary);
}
main {
margin-left: 260px;
padding: 2rem 3rem;
width: calc(100% - 260px);
line-height: 1.8;
}
main h2, h3 {
color: var(--primary);
margin-bottom: 1rem;
}
main table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
font-size: 0.95rem;
}
table, th, td {
border: 1px solid var(--border);
}
th, td {
padding: 12px 16px;
text-align: left;
}
th {
background-color: #1d1d2d;
color: var(--primary);
}
tr:nth-child(even) {
background-color: #1a1a2a;
}
code {
background-color: #1e1e2e;
padding: 0.25rem 0.5rem;
border-radius: 4px;
color: var(--secondary);
font-family: monospace;
}
pre {
background-color: #1e1e2e;
padding: 1rem;
border-left: 4px solid var(--primary);
overflow-x: auto;
margin-bottom: 1.5rem;
border-radius: 4px;
}
.resource-links {
display: flex;
flex-direction: column;
gap: 6px;
margin-top: 12px;
}
.resource-link {
color: #b39ddb;
text-decoration: none;
font-weight: 500;
width: fit-content;
padding: 4px 6px;
border-radius: 4px;
transition: all 0.2s ease;
font-size: 0.95rem;
}
.resource-link:hover {
color: #ffffff;
background-color: #7e57c2;
text-decoration: underline;
}
@media (max-width: 768px) {
nav {
width: 100%;
height: auto;
position: relative;
}
main {
margin-left: 0;
width: 100%;
}
}