-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.css
191 lines (169 loc) · 4.27 KB
/
custom.css
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
/* Base styles and content styles */
@import 'variables.css';
html {
font-family: "Open Sans", sans-serif;
color: var(--fg);
background-color: var(--bg);
text-size-adjust: none;
padding: 11px;
}
body {
font-size: 0.85rem; /*(CHANGED)*/
/* overflow-x: hidden;*/
}
code {
font-family: "Courier New", "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace!important; /*(CHANGED)*/
font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
}
/* PERSONALES */
pre {
padding: 10px;
background: #f3f3f3;
}
#titulo {
background-color: #ffeeee;
}
#titulo a {
text-decoration: none;
}
#titulo a:hover {
text-decoration: none;
color:red;
}
#toc {
font-family: "Courier New", "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace!important; /*(CHANGED)*/
font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
}
#toc a {
text-decoration: none;
}
#toc a:hover {
text-decoration: none;
color:red;
}
.left { float: left; }
.right { float: right; }
.hidden { display: none; }
.play-button.hidden { display: none; }
h2, h3 { margin-top: 2.5em; }
h4, h5 { margin-top: 2em; }
.header + .header h3,
.header + .header h4,
.header + .header h5 {
margin-top: 1em;
}
h1 a.header:target::before,
h2 a.header:target::before,
h3 a.header:target::before,
h4 a.header:target::before {
display: inline-block;
content: "»";
margin-left: -30px;
width: 30px;
}
.page {
outline: 0;
padding: 0 var(--page-padding);
}
.page-wrapper {
box-sizing: border-box;
}
.js:not(.sidebar-resizing) .page-wrapper {
transition: margin-left 0.3s ease, transform 0.3s ease; /* Animation: slide away */
}
.content {
overflow-y: auto;
padding: 0 15px;
padding-bottom: 50px;
}
.content main {
margin-left: auto;
margin-right: auto;
max-width: var(--content-max-width);
}
.content a { text-decoration: none; }
.content a:hover { text-decoration: underline; color:red; } /*(CHANGED) FORZAMOS COLOR ROJO EN LINKS*/
.content img { max-width: 100%; }
.content .header:link,
.content .header:visited {
color: var(--fg);
}
.content .header:link,
.content .header:visited:hover {
text-decoration: none;
}
table {
/*margin: 0 auto;*/ /*(CHANGED) NO CENTRAMOS LAS TABLAS*/
margin:0;
border-collapse: collapse;
font-size: 90%;
border: 1px solid lightgrey;
}
table td {
padding: 3px 5px; /*(CHANGED)*/
border: 1px var(--table-border-color) solid;
}
table thead {
/*background: var(--table-header-bg);*/ /*(CHANGED) FORZAMOS COLOR BG*/
background-color: #efefef;
}
table thead td {
font-weight: 700;
border: none;
}
table thead tr {
border: 1px solid lightgrey;
}
/* Alternate background colors for rows */
table tbody tr:nth-child(2n) {
background: var(--table-alternate-bg);
}
table a {
text-decoration: none;
}
table a:hover {
color:red;
text-decoration: none;
}
blockquote {
margin: 20px 0;
padding: 0 20px;
color: var(--fg);
background-color: var(--quote-bg);
border-top: .1em solid var(--quote-border);
border-bottom: .1em solid var(--quote-border);
}
:not(.footnote-definition) + .footnote-definition,
.footnote-definition + :not(.footnote-definition) {
margin-top: 2em;
}
.footnote-definition {
font-size: 0.9em;
margin: 0.5em 0;
}
.footnote-definition p {
display: inline;
}
.tooltiptext {
position: absolute;
visibility: hidden;
color: #fff;
background-color: #333;
transform: translateX(-50%); /* Center by moving tooltip 50% of its width left */
left: -8px; /* Half of the width of the icon */
top: -35px;
font-size: 0.8em;
text-align: center;
border-radius: 6px;
padding: 5px 8px;
margin: 5px;
z-index: 1000;
}
.tooltipped .tooltiptext {
visibility: visible;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
}