137 lines
2.5 KiB
CSS
137 lines
2.5 KiB
CSS
:root {
|
|
--violet-main-color: #ad76d4;
|
|
--violet-accent-color: #cd90db;
|
|
--violet-dark-color: #a758c8;
|
|
--violet-darker-color: #390747;
|
|
--wr-black:#0c1625;
|
|
--wr-blue:#0e92e2;
|
|
--wr-dark-blue:#14253d;
|
|
--wr-orange:#ff6600;
|
|
--wr-pink:#ff0060;
|
|
--wr-red:#d52311;
|
|
--wr-white:#ffffff;
|
|
--wr-yellow:#e8d55d;
|
|
}
|
|
@font-face {
|
|
font-family: abelRegular; /* set name */
|
|
src: url(/static/font/Abel-Regular.woff); /* url of the font */
|
|
}
|
|
@font-face {
|
|
font-family: abelProBold; /* set name */
|
|
src: url(/static/font/Abel-Pro-Bold.otf); /* url of the font */
|
|
}
|
|
@font-face {
|
|
font-family: Stickup;
|
|
src: url(/static/font/Stickup.otf/);
|
|
font-display:swap;
|
|
}
|
|
|
|
html{
|
|
transition: all cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
max-width: 100%;
|
|
font-family: abelRegular;
|
|
font-size: 1.25em;
|
|
line-height: .9em;
|
|
scroll-behavior: smooth;
|
|
}
|
|
#section1{
|
|
height:100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
-ms-flex-align: center;
|
|
}
|
|
body{
|
|
background-color: var(--violet-main-color);
|
|
background-image: url("./img/pattern.svg");
|
|
background-size: 12em;
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.ccwr_url{
|
|
background-color: #390747;
|
|
}
|
|
.row{
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
.ride_date{
|
|
display: block;
|
|
padding: .25em;
|
|
}
|
|
.next_ride_date{
|
|
color:var(--wr-yellow);
|
|
}
|
|
.ride_date.active{
|
|
color: #390747;
|
|
}
|
|
h1,h3{
|
|
font-family: abelProBold;
|
|
line-height: .9em;
|
|
font-weight: bold;
|
|
color: var(--wr-yellow);
|
|
}
|
|
img{
|
|
padding: .5em;
|
|
max-width: 100%;
|
|
}
|
|
img.icon{
|
|
|
|
max-width: 100%;
|
|
max-height: 3em;
|
|
float: left;
|
|
}
|
|
img.emwrlogo{
|
|
max-width: 100%;
|
|
max-height: 8em;
|
|
}
|
|
p{
|
|
margin: 1em;
|
|
padding: 1em;
|
|
}
|
|
img.map{
|
|
max-width: 100%;
|
|
max-height: 50em;
|
|
}
|
|
div{
|
|
max-width: 100%;
|
|
}
|
|
div.page{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
max-width: 45em;
|
|
max-width: 100%;
|
|
/* max-height: 100%; */
|
|
overflow: scroll;
|
|
}
|
|
div.container{
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 50em;
|
|
align-items:center;
|
|
}
|
|
#next_ride_reminder{
|
|
color: var(--wr-yellow);
|
|
font-family: abelProBold;
|
|
position: fixed;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
bottom: 1em;
|
|
right: 1em;
|
|
}
|
|
div.box{
|
|
background-color: rgba(255, 255, 255, 0.25);
|
|
padding: .5em;
|
|
border-radius: 0.5em;
|
|
}
|
|
|
|
@media (max-width: 768px) and (orientation: portrait) {
|
|
div.page{
|
|
max-width: 95%;
|
|
}
|
|
img.emwrlogo{
|
|
max-width: 100%;
|
|
max-height: 4em;
|
|
}
|
|
} |