-
-
Notifications
You must be signed in to change notification settings - Fork 865
Expand file tree
/
Copy pathbase.css
More file actions
168 lines (148 loc) · 3.59 KB
/
Copy pathbase.css
File metadata and controls
168 lines (148 loc) · 3.59 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-size: 16px;
/* font-family: ".SFNSText-Regular", "BlinkMacSystemFont", "Helvetica Neue",
"Segoe UI", "Arial", sans-serif; */
font-family: 'Roboto', monospace;
/* font-family: "Amore", cursive; */
}
/* TODO figure out why the default focus color in Electron is orange */
*:focus {
outline-color: rgb(0, 255, 191);
}
.dark-mode *:focus {
outline-color: transparent;
}
body.mac * {
letter-spacing: 0.4px;
}
[hidden] {
display: none !important;
}
/* buttons are styled like normal text by default */
button {
-webkit-appearance: none;
background: none;
border: none;
color: inherit;
outline: none;
}
body,
html {
background-color: #fff; /* Color de fondo para tema claro por defecto */
color: #000; /* Color de texto para tema claro por defecto */
height: 100%;
overflow: hidden;
-webkit-user-select: none;
}
body.dark-mode {
background-color: var(--theme-background-color);
color: var(--theme-text-color);
}
h1,
h2,
h3 {
font-size: 5em;
font-weight: 300;
opacity: 0.8;
margin: 0.5em 0;
color: inherit;
text-align: center;
}
h2 {
text-align: left;
font-size: 2.75em;
margin: 0.5em 0;
font-weight: 300;
opacity: 0.8;
color: inherit;
}
h2:first-of-type {
border-top: none;
}
h3 {
text-align: left;
font-size: 2em;
}
h1 + h2 {
margin-top: -1em;
}
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}
.spacer {
height: 1em;
}
.light-fade {
opacity: 0.666;
}
a {
color: royalblue;
text-decoration: none;
}
.dark-mode a {
color: dodgerblue;
}
.dark-mode input,
.dark-mode textarea {
background-color: rgb(52, 58, 68);
color: white;
border-color: transparent;
}
/* styled scrollbars */
/* Estilo global para todas las scrollbars */
::-webkit-scrollbar {
width: 8px; /* Ancho reducido */
height: 8px; /* Alto reducido para scrollbars horizontales */
}
::-webkit-scrollbar-track {
background: transparent; /* Hacemos el track invisible */
}
::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.3); /* Un color oscuro semitransparente para el thumb */
border-radius: 10px; /* Bordes redondeados */
border: 2px solid transparent; /* Espacio alrededor del thumb */
background-clip: content-box; /* Para que el borde sea transparente y no afecte el color del thumb */
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.5);
}
/* Estilo para el tema oscuro */
body.dark-mode ::-webkit-scrollbar-thumb {
background-color: rgba(20, 18, 18, 0.3); /* Un color claro semitransparente para el thumb en modo oscuro */
}
body.dark-mode ::-webkit-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.5);
}
.section-separator {
/* Eliminado: restauración del archivo original */
}
#navbar {
display: flex;
height: calc(36px + var(--control-space-top));
transition: 0.2s background-color; /* <- Importante: ya hay una transición de color */
width: 100%;
-webkit-user-select: none;
position: relative;
outline: none;
z-index: 2;
padding-top: var(--control-space-top);
padding-left: var(--control-space-left);
padding-right: var(--control-space-right);
background-color: var(--navbar-light); /* Color para tema claro por defecto */
}
/* Estilos de la barra de navegación */
/* #navbar {
background-color: var(--navbar-light) !important;
}
body.dark-theme #navbar {
background-color: var(--navbar-dark) !important;
} */
.dark-theme #navbar { /* O body.dark-theme #navbar si es más consistente con el resto */
background-color: var(--navbar-dark); /* Color para tema oscuro */
}