-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOpenCSS.css
More file actions
136 lines (119 loc) · 2.71 KB
/
OpenCSS.css
File metadata and controls
136 lines (119 loc) · 2.71 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
/*
* Open CSS - Estilos para projetos abertos
* Autor: Henrique (HenSit)
* Licença: MIT (https://opensource.org/licenses/MIT)
* Você pode usar, modificar e distribuir este CSS, desde que mantenha este aviso.
*/
:root {
--bg: #0f0f0f;
--fg: #f0f0f0;
--accent: #00ffe1;
--card: #1c1c1c;
--border: #333;
}
body {
margin: 0;
display: flex;
min-height: 100vh;
font-family: 'Segoe UI', sans-serif;
background-color: var(--bg);
color: var(--fg);
}
.site-header {
width: 250px;
background-color: #1a1a1a;
border-right: 2px solid var(--border);
padding: 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
}
.site-header h1 {
color: var(--accent);
font-size: 2em;
margin-bottom: 20px;
}
.nav-menu {
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.nav-menu a {
text-decoration: none;
color: var(--fg);
padding: 8px 12px;
border: 1px solid transparent;
transition: all 0.3s ease;
}
.nav-menu a:hover {
border: 1px solid var(--accent);
border-radius: 5px;
color: var(--accent);
}
main.content {
flex: 1;
padding: 40px 20px;
max-width: 900px;
margin: 0 auto;
}
main.content h2 {
text-align: center;
color: var(--accent);
margin-bottom: 30px;
}
.blog-post {
background-color: var(--card);
border-left: 5px solid var(--accent);
padding: 20px;
border-radius: 10px;
margin-bottom: 30px;
box-shadow: 0 2px 8px rgba(0, 255, 255, 0.1);
}
.blog-post h2 {
margin-top: 0;
color: var(--accent);
}
.blog-post .date {
font-size: 0.9em;
font-style: italic;
color: #999;
margin-bottom: 10px;
}
.blog-post p {
color: #ccc;
line-height: 1.6;
}
.blog-post a {
color: #00d1ff;
text-decoration: underline;
}
.site-footer {
text-align: center;
padding: 20px;
background-color: #1a1a1a;
border-top: 2px solid var(--border);
color: #999;
font-size: 0.9em;
margin-top: 40px;
}
@media (max-width: 768px) {
body {
flex-direction: column;
}
.site-header {
width: 100%;
border-right: none;
border-bottom: 2px solid var(--border);
flex-direction: row;
justify-content: space-around;
}
.nav-menu {
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
}