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: #353b43;
23 --bgColorLightDark: #4f5864;
24 --bgColorLight: #D2D2D2;
58 text-decoration: none;
63 font-size: calc(62.5% * var(--globalScale));
64 background-color: var(--bgColorLight);
72 grid-template-columns: 1fr;
73 grid-template-rows: 5rem 1fr 5rem;
74 grid-template-areas: /* No mostramos el aside en móbiles */
86 flex-flow: column nowrap;
87 align-items: flex-start;
88 justify-content: flex-start;
91 background-color: var(--bgColorDark);
96 flex-flow: column nowrap;
98 justify-content: space-between;
106 justify-content: space-between;
109 background-color: var(--bgColorDark);
113 nav div:first-child {
115 flex-flow: row nowrap;
117 justify-content: flex-start;
122 nav div img:first-child {
128 flex-flow: row nowrap;
130 justify-content: flex-end;
131 list-style-type: none;
140 --c:linear-gradient(#1482c8 0 0); /* update the color here */
142 padding-bottom: .15em;
143 background: var(--c), var(--c);
144 background-size: .3em .1em;
145 background-position:50% 100%;
146 background-repeat: no-repeat;
147 transition: .3s linear, background-size .3s .2s linear;
151 background-size: 50% .1em;
152 background-position: 10% 100%, 90% 100%;
165 padding: 1rem 1.5rem;
166 text-decoration: none;
176 background-image: url('../images/menu.png');
177 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. */
178 background-position: top left;
179 background-repeat: no-repeat;
180 background-size: cover;
184 transition: background-image ease 0.2s;
188 nav button[data-visible="true"] {
189 background-image: url('../images/menu-abierto.png');
195 background-color: var(--bgColorMidDark);
196 background-image: url('../images/salamandra_margin.svg');
197 background-size: 10rem;
198 background-position-x: right;
199 background-position-y: bottom;
200 background-repeat: no-repeat;
203 /* Regla que aplica solo a firefox */
204 @-moz-document url-prefix() {
206 background-image: url('../images/salamandra.svg');
207 background-position-x: right 1rem;
208 background-position-y: bottom 1rem;
219 align-items: flex-start;
220 justify-content: space-between;
226 border-radius: 0.5rem;
244 .content .highlight code {
245 white-space: pre-wrap;
255 background-color: var(--bgColorLightDark);
264 @media screen and (min-width: 780px) {
270 grid-template-columns: 11rem 1fr;
271 grid-template-areas: /* Tabletas se muestra el aside */
288 nav button, aside li a {
294 @media screen and (min-width: 1280px) {