557 lines
No EOL
7.4 KiB
CSS
557 lines
No EOL
7.4 KiB
CSS
*, *::before, *::after
|
|
{
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
color: rgb(var(--color_10));
|
|
font-family: 'DejaVu Sans', sans-serif;
|
|
font-size: 1rem;
|
|
|
|
background-color: rgb(var(--color_60));
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6
|
|
{
|
|
margin-top: 0;
|
|
|
|
color: rgb(var(--color_30));
|
|
font-family: 'HelveticaNeue', sans-serif;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
h1
|
|
{
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h2
|
|
{
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
h3
|
|
{
|
|
font-size: 1.17rem;
|
|
}
|
|
|
|
h4
|
|
{
|
|
font-size: 1rem;
|
|
}
|
|
|
|
h5
|
|
{
|
|
font-size: .83rem;
|
|
}
|
|
|
|
h6
|
|
{
|
|
font-size: .67rem;
|
|
}
|
|
|
|
p
|
|
{
|
|
margin: 0;
|
|
}
|
|
|
|
a
|
|
{
|
|
color: rgb(var(--color_10));
|
|
}
|
|
|
|
img
|
|
{
|
|
width: 100%;
|
|
}
|
|
|
|
figure
|
|
{
|
|
margin: 0;
|
|
}
|
|
|
|
picture
|
|
{
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
picture img
|
|
{
|
|
width: 150px;
|
|
}
|
|
|
|
section
|
|
{
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
header#cabeceira
|
|
{
|
|
padding: 0.625rem;
|
|
}
|
|
|
|
div#logo
|
|
{
|
|
width: 230px !important;
|
|
}
|
|
|
|
header#cabeceira input#interruptor
|
|
{
|
|
display: block;
|
|
|
|
position: absolute;
|
|
top: 1.563rem;
|
|
left: 1.563rem;
|
|
z-index: 4;
|
|
|
|
height: 1.875rem;
|
|
width: 1.875rem;
|
|
|
|
opacity: 0;
|
|
}
|
|
|
|
header#cabeceira .interruptor
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
|
|
position: absolute;
|
|
top: 1.25rem;
|
|
left: 1.25rem;
|
|
z-index: 3;
|
|
|
|
height: 1.875rem;
|
|
width: 1.875rem;
|
|
|
|
margin: 5px;
|
|
}
|
|
|
|
header#cabeceira .interruptor .linna
|
|
{
|
|
display: block;
|
|
|
|
height: 4px;
|
|
width: 100%;
|
|
|
|
border-radius: 0.625rem;
|
|
|
|
background: rgb(var(--color_10));
|
|
}
|
|
|
|
header#cabeceira .interruptor .linna1
|
|
{
|
|
transform-origin: 0% 0%;
|
|
transition: all 0.4s ease-in-out;
|
|
}
|
|
|
|
header#cabeceira .interruptor .linna2
|
|
{
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
header#cabeceira .interruptor .linna3
|
|
{
|
|
transform-origin: 0% 100%;
|
|
transition: all 0.4s ease-in-out;
|
|
}
|
|
|
|
nav#menu
|
|
{
|
|
left: 0;
|
|
position: fixed;
|
|
top: 0;
|
|
z-index: 2;
|
|
|
|
height: 100vh;
|
|
width: 50%;
|
|
|
|
padding: 0;
|
|
|
|
border-right: 2px solid rgb(var(--color_30));
|
|
|
|
color: rgb(var(--color_30));
|
|
font-family: 'HelveticaNeue', sans-serif;
|
|
|
|
background-color: rgb(var(--color_60));
|
|
|
|
transform: translateX(-100%);
|
|
transition: transform 0.5s;
|
|
}
|
|
|
|
nav#menu a
|
|
{
|
|
color: rgb(var(--color_10));
|
|
}
|
|
|
|
ul#idiomas
|
|
{
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
width: 75%;
|
|
|
|
margin: 70px 0 0 20px;
|
|
|
|
padding: 0;
|
|
}
|
|
|
|
ul#idiomas a
|
|
{
|
|
color: rgb(var(--color_10));
|
|
}
|
|
|
|
ul#paxinas
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
margin: 1.25rem 0 0;
|
|
|
|
padding: 0;
|
|
}
|
|
|
|
ul#idiomas li, ul#paxinas li
|
|
{
|
|
list-style: none;
|
|
|
|
/*text-transform: uppercase;*/
|
|
}
|
|
|
|
ul#idiomas li a
|
|
{
|
|
display: block;
|
|
|
|
padding: 0.625rem;
|
|
|
|
border: 1px solid rgb(var(--color_10));
|
|
|
|
text-decoration: none;
|
|
}
|
|
|
|
ul#idiomas li.activo a
|
|
{
|
|
color: rgb(var(--color_60));
|
|
|
|
background-color: rgb(var(--color_10));
|
|
}
|
|
|
|
nav#menu li a:focus
|
|
{
|
|
outline: 2px dotted rgb(var(--color_10));
|
|
}
|
|
|
|
ul#paxinas li
|
|
{
|
|
border-left: 0.625rem solid rgb(var(--color_60));
|
|
}
|
|
|
|
ul#paxinas li.activo
|
|
{
|
|
border-left: 0.625rem solid rgb(var(--color_30));
|
|
}
|
|
|
|
ul#paxinas li:hover
|
|
{
|
|
border-left: 0.625rem solid rgb(var(--color_30));
|
|
}
|
|
|
|
ul#paxinas li a
|
|
{
|
|
display: block;
|
|
|
|
padding: 1.25rem;
|
|
|
|
text-decoration: none;
|
|
}
|
|
|
|
header#cabeceira input#interruptor:checked ~ nav#menu
|
|
{
|
|
transform: translateX(0);
|
|
}
|
|
|
|
header#cabeceira input#interruptor:focus ~ .interruptor
|
|
{
|
|
outline: 2px dotted rgb(var(--color_10));
|
|
}
|
|
|
|
header#cabeceira input#interruptor:checked ~ .interruptor .linna1
|
|
{
|
|
transform: rotate(45deg) scaleX(1.3);
|
|
}
|
|
|
|
header#cabeceira input#interruptor:checked ~ .interruptor .linna2
|
|
{
|
|
transform: scaleY(0);
|
|
}
|
|
|
|
header#cabeceira input#interruptor:checked ~ .interruptor .linna3
|
|
{
|
|
transform: rotate(-45deg) scaleX(1.3);
|
|
}
|
|
|
|
header#cabeceira input#interruptor:checked:focus ~ .interruptor
|
|
{
|
|
outline: 2px dotted rgb(var(--color_10));
|
|
}
|
|
|
|
header#cabeceira div.contedor
|
|
{
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
main#contido
|
|
{
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
article#inicio section
|
|
{
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
footer#pe
|
|
{
|
|
flex-shrink: 0;
|
|
|
|
padding: 1.25rem 0.625rem;
|
|
|
|
color: rgb(var(--color_60));
|
|
|
|
background-color: rgb(var(--color_30));
|
|
}
|
|
|
|
footer#pe p
|
|
{
|
|
font-size: .83rem;
|
|
text-align: center;
|
|
}
|
|
|
|
footer#pe a
|
|
{
|
|
color: rgb(var(--color_60));
|
|
}
|
|
|
|
section.swiper
|
|
{
|
|
width: 100%;
|
|
height: auto;
|
|
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
div.swiper-slide
|
|
{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
padding: 10px;
|
|
|
|
text-align: center;
|
|
font-size: 18px;
|
|
|
|
background: #fff;
|
|
}
|
|
|
|
div.swiper-slide figure
|
|
{
|
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
|
|
0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
}
|
|
|
|
div.swiper-slide figcaption
|
|
{
|
|
padding: 0 40px 20px;
|
|
|
|
color: rgb(var(--color_30));
|
|
font-family: 'Amontillados', sans-serif;
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
div.swiper-slide img
|
|
{
|
|
display: block;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
|
|
padding: 10px;
|
|
|
|
background-color: rgb(var(--color_60));
|
|
}
|
|
|
|
.swiper-button-prev,
|
|
.swiper-button-next
|
|
{
|
|
bottom: 15px;
|
|
top: unset;
|
|
|
|
color: rgb(var(--color_30));
|
|
}
|
|
|
|
.contedor
|
|
{
|
|
width: 90%;
|
|
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.visually-hidden
|
|
{
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
border: 0;
|
|
}
|
|
|
|
.element-focusable:focus
|
|
{
|
|
clip: auto;
|
|
overflow: visible;
|
|
height: auto;
|
|
}
|
|
|
|
.bypass-to-main:focus
|
|
{
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
text-align: center;
|
|
background: rgb(var(--color_30));
|
|
color: rgb(var(--color_60));
|
|
}
|
|
|
|
@media (min-width:768px)
|
|
{
|
|
picture img
|
|
{
|
|
width: 230px;
|
|
}
|
|
}
|
|
|
|
@media (max-height: 768px) and (orientation: landscape)
|
|
{
|
|
ul#idiomas
|
|
{
|
|
margin-top: 20px;
|
|
margin-left: 70px;
|
|
}
|
|
|
|
ul#paxinas li a
|
|
{
|
|
padding: 0.625rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width:1024px)
|
|
{
|
|
ul#paxinas li a
|
|
{
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px)
|
|
{
|
|
header#cabeceira div.contedor
|
|
{
|
|
align-items: flex-start;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
header#cabeceira input#interruptor,
|
|
header#cabeceira .interruptor
|
|
{
|
|
display: none;
|
|
}
|
|
|
|
nav#menu
|
|
{
|
|
position: initial;
|
|
|
|
width: initial;
|
|
height: initial;
|
|
|
|
padding: 0;
|
|
|
|
border: initial;
|
|
|
|
background-color: transparent;
|
|
|
|
transform: initial;
|
|
transition: initial;
|
|
}
|
|
|
|
ul#idiomas
|
|
{
|
|
justify-content: flex-end;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
}
|
|
|
|
ul#paxinas
|
|
{
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
gap: 20px;
|
|
}
|
|
|
|
ul#paxinas li
|
|
{
|
|
border-left: 0;
|
|
}
|
|
|
|
ul#paxinas li:hover, ul#paxinas li.activo
|
|
{
|
|
border-left: 0;
|
|
}
|
|
|
|
ul#paxinas li:hover a, ul#paxinas li.activo a
|
|
{
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.contedor
|
|
{
|
|
max-width: 70.5rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1025px)
|
|
{
|
|
header#cabeceira div.contedor > *
|
|
{
|
|
width: unset;
|
|
}
|
|
} |