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);
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;
217 /* Regla que aplica solo a firefox */
218 @-moz-document url-prefix() {
220 background-image: url('../images/salamandra.svg');
221 background-position-x: right 1rem;
222 background-position-y: bottom 1rem;
233 align-items: flex-start;
234 justify-content: space-between;
240 border-radius: 0.5rem;
258 .content .highlight code {
259 white-space: pre-wrap;
269 background-color: var(--bgColorLightDark);
278 @media screen and (min-width: 780px) {
284 grid-template-columns: 13rem 1fr;
285 grid-template-areas: /* Tabletas se muestra el aside */
299 nav button, aside li a {
305 @media screen and (min-width: 1280px) {