Repository navigation
Expand file tree
/
Copy pathmain.css
More file actions
102 lines (88 loc) · 1.96 KB
/
Copy pathmain.css
File metadata and controls
102 lines (88 loc) · 1.96 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
:root {
--bg-color: #121212; /* Very dark background */
--text-color: #00ff00; /* Classic terminal green */
--accent-color: #ffb86c; /* Amber for highlights */
--section-bg: #1e1e1e; /* Slightly lighter background for sections */
}
/* Blinking cursor effect */
.blinking-cursor::after {
content: '█';
animation: blink 1s steps(2, start) infinite;
}
@keyframes blink {
0%, 50% { opacity: 1; }
50.01%, 100% { opacity: 0; }
}
body {
background-color: var(--bg-color);
color: var(--text-color);
font-family: 'Fira Mono', monospace, 'Courier New', monospace;
margin: 0;
padding: 1rem;
line-height: 1.4;
transition: background-color 0.3s, color 0.3s;
}
header, footer {
text-align: center;
padding: 1.5rem 0;
border-bottom: 1px solid var(--text-color);
border-top: 1px solid var(--text-color);
font-weight: bold;
}
header h1 {
font-size: 2.5rem;
margin: 0;
}
header p {
font-style: italic;
margin: 0.3rem 0 0 0;
color: var(--accent-color);
}
section {
background-color: var(--section-bg);
padding: 1.5rem;
margin: 1.5rem auto;
max-width: 900px;
border-left: 3px solid var(--accent-color);
box-shadow: inset 0 0 10px #003300;
}
section h2 {
color: var(--accent-color);
margin-top: 0;
border-bottom: 1px solid var(--text-color);
padding-bottom: 0.25rem;
}
ul {
padding-left: 1.5rem;
list-style-type: none;
}
ul li::before {
content: "▸ ";
color: var(--accent-color);
}
a {
color: var(--text-color);
text-decoration: none;
border-bottom: 1px dotted var(--text-color);
transition: color 0.2s;
}
a:hover {
color: var(--accent-color);
}
footer p {
font-size: 0.85rem;
color: var(--accent-color);
}
/* Responsive */
@media (max-width: 600px) {
body {
padding: 0.5rem;
}
header h1 {
font-size: 1.8rem;
}
section {
margin: 1rem 0.5rem;
padding: 1rem;
}
}