praiadeseselle/site/templates/css/style.css

515 lines
6.8 KiB
CSS
Raw Normal View History

2022-03-09 18:09:44 +01:00
*, *::before, *::after
{
box-sizing: border-box;
}
body
{
2022-03-10 01:47:18 +01:00
display: flex;
flex-direction: column;
2022-03-09 18:09:44 +01:00
min-height: 100vh;
margin: 0;
color: rgb(var(--color_10));
2022-03-10 01:47:18 +01:00
font-family: 'DejaVu Sans', sans-serif;
font-size: 1rem;
background-color: rgb(var(--color_60));
2022-03-13 21:30:17 +01:00
}
2022-03-10 01:47:18 +01:00
h1, h2, h3, h4, h5, h6
{
margin-top: 0;
2022-03-17 15:56:19 +01:00
color: rgb(var(--color_30));
font-family: 'HelveticaNeue', sans-serif;
text-transform: lowercase;
2022-03-10 01:47:18 +01:00
}
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;
2022-03-09 18:09:44 +01:00
}
a
{
color: rgb(var(--color_10));
2022-03-17 15:56:19 +01:00
}
2022-03-09 18:09:44 +01:00
img
{
width: 100%;
2022-03-10 01:47:18 +01:00
}
2022-04-05 12:43:22 +02:00
picture
{
align-items: center;
display: flex;
justify-content: center;
}
picture img
{
width: 150px;
}
2022-03-10 01:47:18 +01:00
header#cabeceira
{
2022-03-13 21:30:17 +01:00
margin-bottom: 1.125rem;
2022-03-10 01:47:18 +01:00
padding: 0.625rem;
}
2022-03-17 15:56:19 +01:00
div#logo
{
width: 230px !important;
height: 169px;
}
2022-03-13 21:30:17 +01:00
header#cabeceira input#interruptor
2022-03-10 01:47:18 +01:00
{
display: block;
position: absolute;
top: 1.563rem;
left: 1.563rem;
2022-03-10 01:47:18 +01:00
z-index: 5;
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;
2022-03-10 01:47:18 +01:00
z-index: 2;
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));
2022-03-10 01:47:18 +01:00
}
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;
height: 100vh;
width: 50%;
2022-03-10 01:47:18 +01:00
padding: 0;
2022-03-10 01:47:18 +01:00
border-right: 2px solid rgb(var(--color_30));
color: rgb(var(--color_30));
2022-03-17 15:56:19 +01:00
font-family: 'HelveticaNeue', sans-serif;
background-color: rgb(var(--color_60));
2022-03-10 01:47:18 +01:00
transform: translateX(-100%);
transition: transform 0.5s;
}
nav#menu a
{
color: rgb(var(--color_10));
2022-03-13 21:30:17 +01:00
}
2022-03-10 01:47:18 +01:00
ul#idiomas
{
display: flex;
flex-direction: row;
width: 75%;
margin: 70px 0 0 20px;
2022-03-10 01:47:18 +01:00
padding: 0;
2022-03-10 01:47:18 +01:00
}
ul#idiomas a
{
color: rgb(var(--color_10));
}
2022-03-10 01:47:18 +01:00
ul#paxinas
{
display: flex;
flex-direction: column;
margin: 1.25rem 0 0;
padding: 0;
}
ul#idiomas li, ul#paxinas li
{
list-style: none;
2022-03-17 15:56:19 +01:00
/*text-transform: uppercase;*/
2022-03-10 01:47:18 +01:00
}
ul#idiomas li a
{
display: block;
padding: 0.625rem;
border: 1px solid rgb(var(--color_10));
2022-03-10 01:47:18 +01:00
text-decoration: none;
}
ul#idiomas li.activo a
{
color: rgb(var(--color_60));
2022-03-10 01:47:18 +01:00
background-color: rgb(var(--color_10));
2022-03-10 01:47:18 +01:00
}
nav#menu li a:focus
{
outline: 2px dotted rgb(var(--color_10));
2022-03-10 01:47:18 +01:00
}
ul#paxinas li
{
border-left: 0.625rem solid rgb(var(--color_60));
2022-03-10 01:47:18 +01:00
}
2022-03-17 15:56:19 +01:00
ul#paxinas li.activo
2022-03-10 01:47:18 +01:00
{
border-left: 0.625rem solid rgb(var(--color_30));
2022-03-17 15:56:19 +01:00
}
ul#paxinas li:hover
{
border-left: 0.625rem solid rgb(var(--color_30));
2022-03-10 01:47:18 +01:00
}
ul#paxinas li a
{
display: block;
padding: 1.25rem;
text-decoration: none;
}
2022-03-13 21:30:17 +01:00
header#cabeceira input#interruptor:checked ~ nav#menu
2022-03-10 01:47:18 +01:00
{
transform: translateX(0);
}
2022-03-13 21:30:17 +01:00
header#cabeceira input#interruptor:focus ~ .interruptor
2022-03-10 01:47:18 +01:00
{
outline: 2px dotted rgb(var(--color_10));
2022-03-10 01:47:18 +01:00
}
2022-03-13 21:30:17 +01:00
header#cabeceira input#interruptor:checked ~ .interruptor .linna1
2022-03-10 01:47:18 +01:00
{
transform: rotate(45deg) scaleX(1.3);
}
2022-03-13 21:30:17 +01:00
header#cabeceira input#interruptor:checked ~ .interruptor .linna2
2022-03-10 01:47:18 +01:00
{
transform: scaleY(0);
}
2022-03-13 21:30:17 +01:00
header#cabeceira input#interruptor:checked ~ .interruptor .linna3
2022-03-10 01:47:18 +01:00
{
transform: rotate(-45deg) scaleX(1.3);
}
2022-03-13 21:30:17 +01:00
header#cabeceira input#interruptor:checked:focus ~ .interruptor
2022-03-10 01:47:18 +01:00
{
outline: 2px dotted rgb(var(--color_10));
2022-03-10 01:47:18 +01:00
}
header#cabeceira div.contedor
{
align-items: center;
display: flex;
flex-direction: row;
justify-content: center;
}
main#contido
{
flex: 1 0 auto;
}
2022-03-17 15:56:19 +01:00
main section
{
padding: 20px 0;
}
2022-03-10 15:09:07 +01:00
section#mantemento
{
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
}
2022-03-10 01:47:18 +01:00
section#mantemento img
{
2022-03-10 15:09:07 +01:00
max-width: 800px;
2022-03-10 01:47:18 +01:00
padding: 0.625rem;
}
section#mantemento div
{
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
width: 75%;
margin: 1.25rem auto 0;
text-align: center;
}
footer#pe
{
flex-shrink: 0;
padding: 1.25rem 0.625rem;
color: rgb(var(--color_60));
2022-03-10 01:47:18 +01:00
background-color: rgb(var(--color_30));
2022-03-10 01:47:18 +01:00
}
footer#pe p
{
font-size: .83rem;
text-align: center;
}
footer#pe a
{
color: rgb(var(--color_60));
}
2022-03-10 01:47:18 +01:00
.contedor
{
width: 100%;
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));
2022-03-10 01:47:18 +01:00
}
2022-04-05 12:43:22 +02:00
@media (min-width:768px)
{
picture img
{
width: 230px;
}
}
2022-03-17 15:56:19 +01:00
@media (max-height: 768px) and (orientation: landscape)
2022-03-10 01:47:18 +01:00
{
ul#idiomas
{
margin-top: 20px;
margin-left: 70px;
}
2022-03-17 15:56:19 +01:00
ul#paxinas li a
{
2022-03-17 15:56:19 +01:00
padding: 0.625rem;
2022-03-10 15:09:07 +01:00
}
2022-03-17 15:56:19 +01:00
}
2022-03-10 15:09:07 +01:00
2022-03-17 15:56:19 +01:00
@media (min-width:1024px)
{
ul#paxinas li a
2022-03-13 21:30:17 +01:00
{
padding: 0;
}
}
@media (min-width: 1024px)
{
header#cabeceira div.contedor
{
2022-03-17 15:56:19 +01:00
align-items: flex-start;
display: flex;
2022-03-13 21:30:17 +01:00
flex-direction: row;
justify-content: space-between;
}
header#cabeceira input#interruptor,
header#cabeceira .interruptor
2022-03-13 21:30:17 +01:00
{
display: none;
2022-03-13 21:30:17 +01:00
}
2022-03-10 15:09:07 +01:00
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%;
2022-03-10 15:09:07 +01:00
margin: 0;
}
ul#paxinas
{
flex-direction: row;
justify-content: flex-end;
2022-03-17 15:56:19 +01:00
gap: 20px;
}
ul#paxinas li
{
border-left: 0;
2022-03-10 15:09:07 +01:00
}
ul#paxinas li:hover, ul#paxinas li.activo
{
border-left: 0;
}
ul#paxinas li:hover a, ul#paxinas li.activo a
{
text-decoration: underline;
}
2022-03-10 01:47:18 +01:00
.contedor
{
max-width: 70.5rem;
}
}
@media (min-width: 1025px)
{
header#cabeceira div.contedor > *
{
width: unset;
}
2022-03-09 18:09:44 +01:00
}