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;
25 --bgColorBlue: #007fce;
59 text-decoration: none;
64 font-size: calc(62.5% * var(--globalScale));
65 background-color: var(--bgColorLight);
73 grid-template-columns: 1fr;
74 grid-template-rows: 5rem 1fr 5rem;
75 grid-template-areas: /* No mostramos el aside en móbiles */
86 ::-webkit-scrollbar-thumb {
87 background-color: var(--bgColorBlue);
95 flex-flow: column nowrap;
96 align-items: flex-start;
97 justify-content: flex-start;
102 background-color: var(--bgColorDark);
108 flex-flow: column nowrap;
110 justify-content: space-between;
118 justify-content: space-between;
121 background-color: var(--bgColorDark);
125 nav div:first-child {
127 flex-flow: row nowrap;
129 justify-content: flex-start;
134 nav div img:first-child {
140 flex-flow: row nowrap;
142 justify-content: flex-end;
143 list-style-type: none;
152 --c:linear-gradient(#1482c8 0 0); /* update the color here */
154 padding-bottom: .15em;
155 background: var(--c), var(--c);
156 background-size: .3em .1em;
157 background-position:50% 100%;
158 background-repeat: no-repeat;
159 transition: .3s linear, background-size .3s .2s linear;
163 background-size: 50% .1em;
164 background-position: 10% 100%, 90% 100%;
177 padding: 1rem 1.5rem;
178 text-decoration: none;
188 background-image: url('../images/menu.png');
189 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. */
190 background-position: top left;
191 background-repeat: no-repeat;
192 background-size: cover;
196 transition: background-image ease 0.2s;
200 nav button[data-visible="true"] {
201 background-image: url('../images/menu-abierto.png');
207 background-color: var(--bgColorMidDark);
208 background-image: url('../images/salamandra_margin.svg');
209 background-size: 10rem;
210 background-position-x: right;
211 background-position-y: bottom;
212 background-repeat: no-repeat;
215 /* Regla que aplica solo a firefox */
216 @-moz-document url-prefix() {
218 background-image: url('../images/salamandra.svg');
219 background-position-x: right 1rem;
220 background-position-y: bottom 1rem;
231 align-items: flex-start;
232 justify-content: space-between;
238 border-radius: 0.5rem;
256 .content .highlight code {
257 white-space: pre-wrap;
267 background-color: var(--bgColorLightDark);
276 @media screen and (min-width: 780px) {
282 grid-template-columns: 13rem 1fr;
283 grid-template-areas: /* Tabletas se muestra el aside */
303 nav button, aside li a {
309 @media screen and (min-width: 1280px) {