Reorganized CSS stylesheet, and added a menu and smooth scrolling
This commit is contained in:
+11
-11
@@ -8,7 +8,7 @@
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
sodipodi:docname="pattern_v2.svg"
|
||||
sodipodi:docname="pattern.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -24,7 +24,7 @@
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="0.45254834"
|
||||
inkscape:cx="323.72232"
|
||||
inkscape:cx="322.61747"
|
||||
inkscape:cy="490.55533"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1440"
|
||||
@@ -75,7 +75,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1075.8097,-99.496743)"
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g243"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -488,7 +488,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-980.02025,-195.28624)"
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g6"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -901,7 +901,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1169.3333,-193.02019)"
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g87"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -1314,7 +1314,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-982.28638,-5.9732306)"
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g168"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -1727,7 +1727,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1171.5992,-3.7072715)"
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g263"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -2140,7 +2140,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1264.8898,-96.965096)"
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g263-6"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -2553,7 +2553,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1073.5438,-288.80976)"
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g344"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -2966,7 +2966,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-886.49681,-101.7628)"
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g425"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -3379,7 +3379,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1078.0758,89.81617)"
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g506"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
|
||||
|
Before Width: | Height: | Size: 608 KiB After Width: | Height: | Size: 608 KiB |
+170
-83
@@ -1,3 +1,4 @@
|
||||
/*Variables*/
|
||||
:root {
|
||||
--violet-main-color: #ad76d4;
|
||||
--violet-main-color-filter: invert(79%) sepia(34%) saturate(6966%) hue-rotate(220deg) brightness(86%) contrast(92%);
|
||||
@@ -27,20 +28,23 @@
|
||||
--wr-active-widget-height: 2em;
|
||||
|
||||
}
|
||||
#section1{
|
||||
height: 100vh;
|
||||
|
||||
/*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;
|
||||
}
|
||||
@font-face {
|
||||
font-family: abelRegular; /* set name */
|
||||
src: url(/static/font/Abel-Regular.woff); /* url of the font */
|
||||
}
|
||||
@font-face {
|
||||
font-family: abelBold; /* set name */
|
||||
src: url(/static/font/AbelPro-Bold.woff); /* url of the font */
|
||||
line-height: .95;
|
||||
scroll-behavior:smooth;
|
||||
}
|
||||
|
||||
html{
|
||||
@@ -57,53 +61,139 @@ body{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.ccwr_url{
|
||||
background-color: #390747;
|
||||
|
||||
h1,h3{
|
||||
letter-spacing: -.075em;
|
||||
color: var(--wr-yellow);
|
||||
padding-top: 0px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
h1{
|
||||
|
||||
font-size: 2.25em;
|
||||
}
|
||||
|
||||
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: 50em;
|
||||
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;
|
||||
}
|
||||
.ride_date{
|
||||
display: block;
|
||||
padding: .5em;
|
||||
|
||||
.centered{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.next_ride_date{
|
||||
color:var(--wr-yellow);
|
||||
}
|
||||
.ride_date.active{
|
||||
color: #390747;
|
||||
|
||||
.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;
|
||||
}
|
||||
h1,h3{
|
||||
letter-spacing: -.075em;
|
||||
color: var(--wr-yellow);
|
||||
line-height: .9;
|
||||
|
||||
.box.solid{
|
||||
border-style: solid;
|
||||
background-color: var(--violet-main-color);
|
||||
border-radius: 1.25em;
|
||||
border-width: .125em;
|
||||
border-color: var(--violet-accent-color);
|
||||
|
||||
}
|
||||
/* h1{
|
||||
font-size: 3em;
|
||||
|
||||
.menu{
|
||||
position: absolute;
|
||||
top: 0em;
|
||||
justify-content: center;
|
||||
}
|
||||
h2{
|
||||
font-size: 2.5em;
|
||||
|
||||
.section{
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
h3{
|
||||
font-size: 2em;
|
||||
.fix{
|
||||
position: fixed;
|
||||
}
|
||||
h4{
|
||||
font-size: 1.5em;
|
||||
.rel{
|
||||
position: relative;
|
||||
}
|
||||
h5{
|
||||
font-size: 1.25em;
|
||||
} */
|
||||
img{
|
||||
max-width: 100%;
|
||||
.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*/
|
||||
|
||||
img.icon{
|
||||
max-width: 100%;
|
||||
max-height: 3em;
|
||||
@@ -111,6 +201,7 @@ img.icon{
|
||||
border-radius: 0em;
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
img.emwrlogo{
|
||||
max-height: 20em;
|
||||
background-size: cover;
|
||||
@@ -118,11 +209,10 @@ img.emwrlogo{
|
||||
position: relative;
|
||||
top: -5em;
|
||||
}
|
||||
|
||||
img.map{
|
||||
max-width: 100%;
|
||||
max-height: 50em;
|
||||
border-radius: var(--wr-border-radius);
|
||||
|
||||
}
|
||||
|
||||
img.photo{
|
||||
@@ -131,32 +221,51 @@ img.photo{
|
||||
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;
|
||||
}
|
||||
|
||||
div.page{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
max-width: 100%;
|
||||
/*Colors*/
|
||||
|
||||
.yellow{
|
||||
color: var(--wr-yellow);
|
||||
}
|
||||
div.container{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 50em;
|
||||
align-items:center;
|
||||
|
||||
.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;
|
||||
@@ -184,26 +293,25 @@ div.tag_reminder{
|
||||
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{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.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);
|
||||
@@ -214,51 +322,30 @@ div.tag_reminder{
|
||||
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);
|
||||
padding-left:.25em;
|
||||
padding-right:.25em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.centered{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.menu{
|
||||
position: absolute;
|
||||
top: 0em;
|
||||
justify-content: center;
|
||||
}
|
||||
.section{
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
.backpack{
|
||||
max-height: 15em;
|
||||
width: auto;
|
||||
}
|
||||
.box{
|
||||
border-style: solid;
|
||||
background-color: var(--violet-main-color);
|
||||
padding-top: .5em;
|
||||
padding-bottom: .5em;
|
||||
padding-left: 1.5em;
|
||||
padding-right: 1.5em;
|
||||
border-radius: 1.25em;
|
||||
border-width: .125em;
|
||||
border-color: var(--violet-accent-color);
|
||||
margin-left:2em;
|
||||
margin-right:2em;
|
||||
|
||||
p{
|
||||
padding-top: 0px;
|
||||
margin-top: .5em;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
#dates_bar{
|
||||
position: fixed;
|
||||
bottom: 0px;
|
||||
justify-content: center;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user