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: #1b6694;
26 --bgColorSalamandra: rgb(236, 162, 143);
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 --c:linear-gradient(#1482c8 0 0); /* update the color here */
157 padding-bottom: .15em;
158 background: var(--c), var(--c);
159 background-size: .3em .1em;
160 background-position:50% 100%;
161 background-repeat: no-repeat;
162 transition: .3s linear, background-size .3s .2s linear;
166 background-size: 50% .1em;
167 background-position: 10% 100%, 90% 100%;
180 padding: 1rem 1.5rem;
181 text-decoration: none;
191 background-image: url('../images/menu.png');
192 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. */
193 background-position: top left;
194 background-repeat: no-repeat;
195 background-size: cover;
200 transition: background-image ease 0.2s;
204 nav button[data-visible="true"] {
205 background-image: url('../images/menu-abierto.png');
211 background-color: var(--bgColorMidDark);
212 background-image: url('../images/salamandra_margin.svg');
213 background-size: 10rem;
214 background-position-x: right;
215 background-position-y: bottom;
216 background-repeat: no-repeat;
219 /* Regla que aplica solo a firefox */
220 @-moz-document url-prefix() {
222 background-image: url('../images/salamandra.svg');
223 background-position-x: right 1rem;
224 background-position-y: bottom 1rem;
235 align-items: flex-start;
236 justify-content: space-between;
242 border-radius: 0.5rem;
260 .content .highlight code {
261 white-space: pre-wrap;
271 background-color: var(--bgColorLightDark);
280 @media screen and (min-width: 780px) {
286 grid-template-columns: 13rem 1fr;
287 grid-template-areas: /* Tabletas se muestra el aside */
301 nav button, aside li a {
307 @media screen and (min-width: 1280px) {