Files
El-Marino-Walk-and-Roller-Web/app/static/style.css
T

361 lines
6.7 KiB
CSS

/*Variables*/
:root {
--violet-main-color: #ad76d4;
--violet-main-color-filter: filter: invert(79%) sepia(34%) saturate(6966%) hue-rotate(220deg) brightness(86%) contrast(92%);
--violet-accent-color: #cd90db;
--violet-accent-color-filter: filter: invert(83%) sepia(16%) saturate(3750%) hue-rotate(207deg) brightness(88%) contrast(95%);
--violet-dark-color: #a758c8;
--violet-dark-color-filter: filter: invert(43%) sepia(28%) saturate(1529%) hue-rotate(240deg) brightness(94%) contrast(82%);
--violet-darker-color: #390747;
--violet-darker-color-filter: filter: invert(8%) sepia(33%) saturate(5024%) hue-rotate(272deg) brightness(116%) contrast(108%);
--wr-blue:#0e92e2;
--wr-blue-filter: filter: invert(41%) sepia(76%) saturate(1842%) hue-rotate(177deg) brightness(95%) contrast(89%);
--wr-dark-blue:#14253d;
--wr-dark-blue-filter: filter: invert(8%) sepia(87%) saturate(1211%) hue-rotate(194deg) brightness(93%) contrast(89%);
--wr-orange:#ff6600;
--wr-orange-filter: filter: invert(52%) sepia(94%) saturate(4085%) hue-rotate(3deg) brightness(105%) contrast(105%);
--wr-pink:#ff0060;
--wr-pink-filter: filter: invert(18%) sepia(83%) saturate(7497%) hue-rotate(331deg) brightness(99%) contrast(107%);
--wr-red:#d52311;
--wr-red-filter: filter: invert(17%) sepia(72%) saturate(3993%) hue-rotate(359deg) brightness(109%) contrast(89%);
--wr-white:#ffffff;
--wr-white-filter: filter: invert(98%) sepia(98%) saturate(0%) hue-rotate(337deg) brightness(103%) contrast(103%);
--wr-yellow:#e8d55d;
--wr-yellow-filter:filter: invert(77%) sepia(30%) saturate(679%) hue-rotate(12deg) brightness(101%) contrast(98%);
--wr-black:#0c1625;
--wr-border-radius: 1.25em;
--wr-widget-height: 1.5em;
--wr-active-widget-height: 2em;
}
/*Fonts*/
@font-face {
font-family: abelRegular;
src: url(/static/font/Abel-Regular.woff);
}
@font-face {
font-family: abelBold;
src: url(/static/font/AbelPro-Bold.woff);
}
/*Html*/
html,body{
margin: 0px;
padding: 0px;
line-height: .95;
scroll-behavior:smooth;
transition: all 1s ease-out;
}
html{
font-family: abelRegular;
font-size: 1.25em;
}
body{
background-color: var(--violet-main-color);
background-image: url("./img/pattern.svg");
background-attachment: fixed;
background-size: 12em;
max-width: 100%;
display: flex;
flex-direction: column;
}
h1,h3{
letter-spacing: -.075em;
color: var(--wr-yellow);
padding-top: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
h1{
font-size: 2.25em;
}
h3{
font-size: 1.5em;
}
img{
max-width: 100%;
}
/*Useful Layout Classes*/
div.page{
display: flex;
justify-content: center;
align-items: center;
max-width: 100%;
}
div.container{
display: flex;
flex-direction: column;
max-width: 40em;
align-items:center;
}
.section{
height: 100vh;
/* background-color: #d5231133;
border-style: dotted;
border-width: 1px; */
/*scale: .75;*/
}
.row{
display: flex;
flex-direction: row;
}
.column{
display: flex;
flex-direction: column;
}
.wrapping{
flex-wrap: wrap;
}
.centered{
display: flex;
justify-content: center;
align-items: center;
}
.box{
padding-top: 1em;
padding-bottom: 1em;
padding-left: 1.5em;
padding-right: 1.5em;
margin-left:2em;
margin-right:2em;
margin-top: 0px;
margin-bottom: 0px;
}
/* .box:hover{
padding-top: 5em;
} */
.box.solid{
border-style: solid;
background-color: var(--violet-main-color);
border-radius: 1.25em;
border-width: .125em;
border-color: var(--violet-accent-color);
}
.menu{
position: absolute;
top: 0em;
justify-content: center;
}
.section{
padding: 0px;
margin: 0px;
}
.fix{
position: fixed;
}
.rel{
position: relative;
}
.anchor_top_left{
top: 0px;
left: 0px;
}
.anchor_top{
top: 0px;
justify-self: center;
}
.anchor_top_right{
top: 0px;
right: 0px;
}
.anchor_right{
right:0px;
bottom:50%;
}
.anchor_bottom_right{
bottom: 0px;
right: 0px;
}
.anchor_bottom{
bottom: 0px;
justify-self: center;
}
.anchor_bottom_left{
bottom: 0px;
left: 0px;
}
.anchor_left{
left:0px;
bottom:50%;
}
/*Images*/
a.menuitem{
padding-left: 1em;
padding-right: 1em;
}
img.icon{
display: block;
max-width: 100%;
max-height: 3em;
border-radius: 0em;
padding: .5em;
}
img.emwrlogo{
max-height: 13em;
background-size: cover;
background-image: url('/static/img/backpack_purple.webp');
position: relative;
margin-bottom:1em;
}
object.map{
max-width: 100%;
border-radius: var(--wr-border-radius);
}
img.photo{
padding: .25em;
height: 12em;
object-fit: cover;
border-radius: var(--wr-border-radius);
}
img.photo.main{
width: 100%;
height: auto;
}
img.photo.A{
width: 12em;
}
img.photo.B{
width: 18em;
}
img.photo.C{
width: 8em;
}
/*Colors*/
.yellow{
color: var(--wr-yellow);
}
.ccwr_url{
background-color: #390747;
}
/*?*/
.ride_date{
display: block;
padding: .5em;
font-family: abelBold;
letter-spacing: -.075em;
}
.next_ride_date{
color:var(--wr-yellow);
}
.ride_date.active{
color: #390747;
}
div.tag_reminder{
position: fixed;
overflow-y: scroll;
overflow-x: hidden;
top: 1em;
right: 1em;
}
.widget{
height: var(--wr-widget-height);
width: auto;
margin: 0px;
padding: 0px;
display: flex;
justify-content: center;
align-items: center;
}
.widget:before, .widget:after {
display: inline-flex;
width: auto;
height: var(--wr-widget-height);
margin: 0px;
padding: 0px;
content: '';
}
.widget:before {
height: var(--wr-widget-height);
filter: var(--wr-white-filter);
content: url('./img/arrow_before.svg');
position: relative;
}
.widget:after {
height: var(--wr-widget-height);
filter: var(--wr-white-filter);
content: url('./img/arrow_after.svg');
position: relative;
}
.widget.ride_date.active::before,.widget.ride_date.active::after {
filter: var(--wr-dark-blue);
height: var(--wr-active-widget-height);
}
.widget-text{
display: flex;
height: var(--wr-widget-height);
width: 100%;
margin: 0px;
padding: 0px;
background-color:var(--wr-white);
color: var(--violet-main-color);
}
.widget-text.active{
font-family: abelBold;
height: var(--wr-active-widget-height);
background-color: var(--wr-dark-blue);
color: var(--wr-yellow);
font-size: 1em;
}
.backpack{
max-height: 15em;
width: auto;
}
p{
padding-top: 0px;
margin-top: .5em;
margin-bottom: 0px;
}
#dates_bar{
bottom: 0px;
justify-content: center;
overflow-y: scroll;
overflow-x: hidden;
}