1 /* ESTILOS CSS PARA EL SITIO WEB DE SALAMANDRADEVS */
4 Puedes copiar, modificar y usar este software bajo los términos de la licencia general de uso público reducida de GNU.
5 Encontrarás una copia de la licencia aquí https://www.gnu.org/licenses/lgpl-3.0.html */
7 /* Metodología mobile first o pantallas pequeñas primero.
8 Primero se escriben las reglas para el ancho de portview
9 más pequeño a considerar */
11 /* VARIABLES Y REGLAS GENERALES */
15 box-sizing: border-box;
21 --bgColorDark: #0e0e0e;
22 --bgColorMidDark: #292e35;
23 --bgColorLightDark: #373d46;
24 --bgColorLight: #D2D2D2;
25 --bgColorBlue: #1b6694;
26 --bgColorSalamandra: rgb(236, 162, 143);
28 --navLinkColor: linear-gradient(#1482c8 0 0);
60 text-decoration: none;
62 color: var(--bgColorSalamandra);
66 font-size: calc(62.5% * var(--globalScale));
67 background-color: var(--bgColorLight);
75 grid-template-columns: 1fr;
76 grid-template-rows: 5rem 1fr 5rem;
77 grid-template-areas: /* No mostramos el aside en móbiles */
88 ::-webkit-scrollbar-thumb {
89 background-color: var(--bgColorBlue);
94 inset: 0 calc(100% - 18rem);
97 flex-flow: column nowrap;
98 align-items: flex-start;
99 justify-content: flex-start;
101 height: calc(100% - 5rem);
104 background-color: var(--bgColorDark);
109 color: var(--bgColorLight);
111 flex-flow: column nowrap;
113 justify-content: space-between;
121 justify-content: space-between;
124 background-color: var(--bgColorDark);
128 nav div:first-child {
130 flex-flow: row nowrap;
132 justify-content: flex-start;
137 nav div img:first-child {
143 flex-flow: row nowrap;
145 justify-content: flex-end;
146 list-style-type: none;
155 padding-bottom: .15em;
156 background: var(--navLinkColor), var(--navLinkColor);
157 background-size: .3em .1em;
158 background-position:50% 100%;
159 background-repeat: no-repeat;
160 transition: .3s linear, background-size .3s .2s linear;
164 background-size: 50% .1em;
165 background-position: 10% 100%, 90% 100%;
178 padding: 1rem 1.5rem;
179 text-decoration: none;
189 background-image: url('../images/menu.png');
190 background-color: transparent; /* Cuando usamos background-image se pone el background-color en blanco por default por eso le indicamos que sea transparente para que se pueda ver la imagen. */
191 background-position: top left;
192 background-repeat: no-repeat;
193 background-size: cover;
198 transition: background-image ease 0.2s;
202 nav button[data-visible="true"] {
203 background-image: url('../images/menu-abierto.png');
209 background-color: var(--bgColorMidDark);
210 background-image: url('../images/salamandra_margin.svg');
211 background-size: 10rem;
212 background-position-x: right;
213 background-position-y: bottom;
214 background-repeat: no-repeat;
218 /* Regla que aplica solo a firefox */
219 @-moz-document url-prefix() {
221 background-image: url('../images/salamandra.svg');
222 background-position-x: right 1rem;
223 background-position-y: bottom 1rem;
234 align-items: flex-start;
235 justify-content: space-between;
239 display: inline-block;
240 width: calc(50% - 2rem);
242 border-radius: 0.5rem;
247 background-color: var(--bgColorLightDark);
248 box-shadow: 0 4px 1px 0.2px var(--bgColorDark);
253 main div > article img {
257 background-color: var(--bgColorLight);
260 main div > article span {
262 word-break: break-all;
279 .content .highlight code {
280 white-space: pre-wrap;
290 background-color: var(--bgColorLightDark);
299 @media screen and (min-width: 780px) {
305 grid-template-columns: 13rem 1fr;
306 grid-template-areas: /* Tabletas se muestra el aside */
317 display: none !important;
320 nav button, aside li a {
326 @media screen and (min-width: 1280px) {