praiadeseselle/site/templates/css/style.css

476 lines
7.5 KiB
CSS
Raw Normal View History

2022-03-09 18:09:44 +01:00
*, *::before, *::after
{
box-sizing: border-box;
}
body
{
2022-10-06 10:54:15 +02:00
color: rgb(var(--cor_10));
2022-04-15 12:16:44 +02:00
font-family: 'Source Sans Pro', sans-serif;
2022-03-10 01:47:18 +01:00
font-size: 1rem;
2022-03-09 18:09:44 +01:00
}
a
{
color: rgba(var(--cor_30), var(--bs-link-opacity, 1));
text-decoration-line: underline;
text-decoration-style: dotted;
2022-03-17 15:56:19 +01:00
}
h1, h2, h3, h4, h5, h6
{
color: rgb(var(--cor_30));
2023-02-19 16:09:41 +01:00
font-family: 'Josefin Sans', serif;
}
2022-10-25 14:47:38 +02:00
dl
{
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10%;
max-width: 18.75rem;
margin: 0;
}
dt
{
width: 10%;
2023-02-27 17:10:20 +01:00
color: rgb(var(--cor_30));
2022-10-25 14:47:38 +02:00
}
dt::after
{
content: ": ";
}
dd
{
width: 80%;
margin: 0;
padding: 0;
}
figure
{
margin: 0;
}
figure figcaption
{
2022-04-15 12:16:44 +02:00
padding: 10px 40px 20px;
2022-10-06 10:54:15 +02:00
color: rgb(var(--cor_30));
2022-04-15 12:16:44 +02:00
font-family: 'Source Sans Pro', sans-serif;
font-weight: normal;
font-size: 1rem;
text-align: center;
}
figure img
{
display: block;
width: 100%;
2022-04-08 12:32:49 +02:00
height: auto;
2023-02-21 14:48:37 +01:00
object-fit: contain;
2022-10-06 10:54:15 +02:00
background-color: rgb(var(--cor_60));
}
figure.effect-ming
2022-04-05 12:43:22 +02:00
{
background: #030c17;
2022-04-05 12:43:22 +02:00
position: relative;
float: left;
overflow: hidden;
margin: 10px 1%;
padding: 0;
min-width: 320px;
max-width: 480px;
max-height: 360px;
width: 100%;
height: auto;
background: rgb(var(--cor_30));
text-align: center;
cursor: pointer;
}
2022-03-10 01:47:18 +01:00
figure.effect-ming img
{
position: relative;
display: block;
min-height: 100%;
max-width: 100%;
opacity: 0.9;
transition: opacity 0.35s;
2022-03-10 01:47:18 +01:00
}
figure.effect-ming:hover img
2022-03-17 15:56:19 +01:00
{
opacity: 0.4;
2022-03-17 15:56:19 +01:00
}
figure.effect-ming figcaption
{
padding: 2em;
color: #fff;
text-transform: uppercase;
font-size: 1.25em;
backface-visibility: hidden;
}
figure.effect-ming figcaption > a
2022-03-10 01:47:18 +01:00
{
z-index: 1000;
text-indent: 200%;
white-space: nowrap;
font-size: 0;
2022-03-10 01:47:18 +01:00
opacity: 0;
}
figure.effect-ming figcaption,
figure.effect-ming figcaption > a
2022-03-10 01:47:18 +01:00
{
position: absolute;
top: 0;
left: 0;
2022-03-10 01:47:18 +01:00
width: 100%;
height: 100%;
2022-03-10 01:47:18 +01:00
}
figure.effect-ming h3
2022-03-10 01:47:18 +01:00
{
margin: 20% 0 10px 0;
word-spacing: -0.15em;
2023-02-19 16:09:41 +01:00
font-weight: 700;
transition: transform 0.35s;
background: rgba(255,255,255,0.5);
2022-10-06 10:54:15 +02:00
color: rgb(var(--cor_30));
2022-03-10 01:47:18 +01:00
}
figure.effect-ming:hover h3
2022-03-10 01:47:18 +01:00
{
transform: scale(0.9);
2022-03-17 15:56:19 +01:00
}
figure.effect-ming p
2022-03-17 15:56:19 +01:00
{
padding: 1em;
opacity: 0;
2022-10-27 14:10:14 +02:00
letter-spacing: 1px;
font-size: 68.5%;
transition: opacity 0.35s, transform 0.35s;
transform: scale(1.5);
2022-03-10 01:47:18 +01:00
}
figure.effect-ming figcaption::before
2022-03-10 01:47:18 +01:00
{
position: absolute;
top: 30px;
right: 30px;
bottom: 30px;
left: 30px;
border: 2px solid #fff;
box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
content: '';
opacity: 0;
transition: opacity 0.35s, transform 0.35s;
transform: scale3d(1.4,1.4,1);
2022-03-10 01:47:18 +01:00
}
figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p
2022-03-10 15:09:07 +01:00
{
opacity: 1;
transform: scale3d(1,1,1);
2022-05-03 12:18:01 +02:00
}
figure.effect-ming figcaption::before, figure.effect-ming figcaption::after
2022-05-03 12:18:01 +02:00
{
pointer-events: none;
2022-10-27 14:10:14 +02:00
}
2022-05-03 12:18:01 +02:00
2023-02-21 14:48:37 +01:00
time
2022-10-27 14:10:14 +02:00
{
display: block;
position: relative;
height: 5rem;
overflow: hidden;
width: 5rem;
border-radius: 0.6em;
box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
font-size: 0.75rem;
background-color: #fff;
}
2023-02-21 14:48:37 +01:00
time *
2022-10-27 14:10:14 +02:00
{
display: block;
width: 100%;
2023-02-21 14:48:37 +01:00
font-size: 0.8rem;
2022-10-27 14:10:14 +02:00
font-style: normal;
font-weight: bold;
text-align: center;
}
2023-02-21 14:48:37 +01:00
time em
2022-10-27 14:10:14 +02:00
{
position: absolute;
2023-02-21 14:48:37 +01:00
bottom: 0;
2022-10-27 14:10:14 +02:00
color: rgb(var(--cor_30));
}
2023-02-21 14:48:37 +01:00
time strong
2022-10-27 14:10:14 +02:00
{
position: absolute;
top: 0;
2023-02-21 14:48:37 +01:00
padding: 0.3rem 0;
2022-10-27 14:10:14 +02:00
box-shadow: 0 2px 0 rgb(var(--cor_30));
color: white;
background-color: rgb(var(--cor_30));
}
2023-02-21 14:48:37 +01:00
time span
2022-10-27 14:10:14 +02:00
{
2023-02-21 14:48:37 +01:00
padding-top: 1.4rem;
2022-10-27 14:10:14 +02:00
color: black;
2023-02-21 14:48:37 +01:00
font-size: 2rem;
letter-spacing: -0.05rem;
2022-05-03 12:18:01 +02:00
}
.btn-primary
2022-05-03 12:18:01 +02:00
{
--bs-btn-bg: rgb(var(--cor_30));
--bs-btn-border-color: rgb(var(--cor_30));
--bs-btn-hover-bg: rgb(var(--cor_30));
--bs-btn-hover-border-color: rgb(var(--cor_30));
--bs-btn-active-bg: rgb(var(--cor_30));
--bs-btn-active-border-color: rgb(var(--cor_30));
--bs-btn-disabled-bg: rgb(var(--cor_30));
--bs-btn-disabled-border-color: rgb(var(--cor_30));
2022-10-25 14:47:38 +02:00
}
2022-05-03 12:18:01 +02:00
2023-02-21 14:48:37 +01:00
.breadcrumb-item + .breadcrumb-item::before
2022-10-25 14:47:38 +02:00
{
2023-02-21 14:48:37 +01:00
padding-right: unset;
2022-10-25 14:47:38 +02:00
}
.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select
2022-10-25 14:47:38 +02:00
{
height: calc(2.25rem + 2px);
line-height: 1.25;
2022-10-25 14:47:38 +02:00
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-select ~ label
2022-10-25 14:47:38 +02:00
{
height: unset;
width: unset;
2022-03-10 15:09:07 +01:00
padding: 0 !important;
2022-03-10 15:09:07 +01:00
background-color: #fff;
opacity: unset;
transform: scale(0.85) translateY(-0.8rem) translateX(0.15rem);
2022-03-10 01:47:18 +01:00
}
2023-02-27 17:10:20 +01:00
#menu-desplegable .nav-item
{
2023-02-22 18:57:39 +01:00
border-left: 0.625rem solid rgb(var(--cor_60));
}
2023-02-27 17:10:20 +01:00
#menu-desplegable .nav-item.active,
#menu-desplegable .nav-item:hover
{
2023-02-22 18:57:39 +01:00
border-left: 0.625rem solid rgb(var(--cor_30));
text-decoration-line: underline;
text-decoration-style: dotted;
}
2023-02-22 18:57:39 +01:00
.navbar-toggler-icon
{
2023-02-22 18:57:39 +01:00
color: rgba(var(--cor_10));
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
2023-02-22 18:57:39 +01:00
.btn-close:focus
{
outline: 2px dotted rgb(var(--cor_10)) !important;
box-shadow: none;
}
.swiper
{
width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
}
.galeria .swiper-slide
2022-03-10 01:47:18 +01:00
{
display: flex;
justify-content: center;
align-items: center;
2022-03-10 01:47:18 +01:00
padding: 10px;
2022-03-10 01:47:18 +01:00
text-align: center;
font-size: 18px;
background: #fff;
2022-03-10 01:47:18 +01:00
}
.swiper-button-prev,
.swiper-button-next
{
bottom: 15px;
top: unset;
2022-10-06 10:54:15 +02:00
color: rgb(var(--cor_10));
}
.swiper-pagination-bullet-active
2022-04-08 12:32:49 +02:00
{
background: rgb(var(--cor_30));
2022-04-08 12:32:49 +02:00
}
2023-02-21 14:48:37 +01:00
.reixa-item
2022-05-03 12:18:01 +02:00
{
cursor: pointer;
}
2023-02-21 14:48:37 +01:00
.feature-icon
2022-10-23 22:35:04 +02:00
{
2023-02-21 14:48:37 +01:00
width: 3rem;
height: 3rem;
border-radius: .75rem;
2022-10-23 22:35:04 +02:00
}
2023-02-21 14:48:37 +01:00
a.collapse-head::before
2022-10-23 22:35:04 +02:00
{
2023-02-21 14:48:37 +01:00
font-family: 'icomoon';
content: "\e917";
float: right;
transition: all 0.5s;
2022-10-23 22:35:04 +02:00
}
2023-02-21 14:48:37 +01:00
a.collapse-head.active:before
2022-10-23 22:35:04 +02:00
{
2023-02-21 14:48:37 +01:00
transform: rotate(180deg);
}
2022-10-23 22:35:04 +02:00
.text-bg-primary
2022-10-23 22:35:04 +02:00
{
background-color: rgba(var(--cor_30), var(--bs-bg-opacity, 1)) !important;
2022-10-23 22:35:04 +02:00
}
2023-02-21 14:48:37 +01:00
.text-bg-secondary
2022-10-23 22:35:04 +02:00
{
2023-02-21 14:48:37 +01:00
background-color: rgba(var(--cor_10), var(--bs-bg-opacity, 1)) !important;
2022-05-03 12:18:01 +02:00
}
2023-02-21 14:48:37 +01:00
.bg-primary
2022-10-25 14:47:38 +02:00
{
2023-02-21 14:48:37 +01:00
background-color: rgba(var(--cor_30), var(--bs-bg-opacity)) !important;
2022-10-25 14:47:38 +02:00
}
2023-02-22 18:57:39 +01:00
.border-primary
2022-10-25 14:47:38 +02:00
{
2023-02-22 18:57:39 +01:00
border-color: rgba(var(--cor_30), var(--bs-border-opacity)) !important;
2022-10-25 14:47:38 +02:00
}
2023-02-22 18:57:39 +01:00
@media (min-width: 992px)
2022-10-25 14:47:38 +02:00
{
2023-02-27 17:10:20 +01:00
#menu-desplegable .nav-item,
#menu-desplegable .nav-item.active,
#menu-desplegable .nav-item:hover
2023-02-22 18:57:39 +01:00
{
border-left: 0;
}
2022-10-25 14:47:38 +02:00
2023-02-22 18:57:39 +01:00
.navbar-toggler
{
display: none;
}
2022-10-25 14:47:38 +02:00
}
2023-02-21 14:48:37 +01:00
@media (min-width: 1024px)
2022-10-25 14:47:38 +02:00
{
2023-02-21 14:48:37 +01:00
dl
{
gap: 0;
}
2022-10-25 14:47:38 +02:00
2023-02-21 14:48:37 +01:00
dt
{
width: 60%;
}
2022-10-25 14:47:38 +02:00
2023-02-21 14:48:37 +01:00
dd
{
width: 40%;
}
2022-10-25 14:47:38 +02:00
}
2022-03-10 01:47:18 +01:00
.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;
2022-10-06 10:54:15 +02:00
background: rgb(var(--cor_30));
color: rgb(var(--cor_60));
2022-03-09 18:09:44 +01:00
}