squirrel/assets/scss/index.scss

263 lines
No EOL
4.4 KiB
SCSS

$color: {{ .Param "color" }};
$font: {{ .Param "font" }};
@font-face {
font-family: $font;
src: url("/fonts/#{$font}/#{$font}-Regular.ttf") format('truetype');
font-weight: 400;
font-style: normal;
}
html {
scroll-behavior: smooth;
}
html, body {
height: 100%;
}
body {
margin: 0;
display: flex;
flex-direction: column;
// font-family: system-ui,-apple-system,'Segoe UI',$font,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';
color: #333;
font-family: $font;
font-weight: 400;
font-style: normal;
}
h1 {
margin: 0rem;
margin-bottom: 0.5rem;
margin-top: 0.5rem;
}
p {
margin: 0.5rem;
}
a {
text-decoration: none;
color: inherit;
}
button {
font-family: inherit;
font-size: 100%;
line-height: inherit;
color: inherit;
background-color: transparent;
background-image: none;
text-transform: none;
padding: 0;
}
.col-3 {flex: 25%; width: 25%; max-width: 25%;}
.col-4 {flex: 33.33%; width: 33.33%; max-width: 33.33%;}
.col-5 {flex: 41.66%; width: 41.66%; max-width: 41.66%;}
.col-6 {flex: 50%; width: 50%; max-width: 50%;}
.col-7 {flex: 58.33%; width: 58.33%; max-width: 58.33%;}
.col-8 {flex: 66.66%; width: 66.66%; max-width: 66.66%;}
.col-9 {flex: 75%; width: 75%; max-width: 75%;}
.col-10 {flex: 83.33%; width: 83.33%; max-width: 83.33%;}
.col-11 {flex: 91.66%; width: 91.66%; max-width: 91.66%;}
.col-12 {flex: 100%; width: 100%; max-width: 100%;}
[class*="col-"] {
float: left;
padding: 1.5rem 1.5rem;
}
@media screen and (max-width: 600px) {
[class*="col-"] {
width: 100%;
max-width: 100%;
}
}
.row {
display: flex;
flex-wrap: wrap;
flex-flow: column;
}
.content {
align-self: center;
padding-top: 3rem;
width: 100%;
margin: 0;
}
.divider {
height: 3px;
border-radius: 50px;
background: $color;
width: 60px;
}
.title {
font-size: large;
padding-bottom: 1rem;
text-align: start;
}
.videoWrapper {
position: relative;
padding-bottom: 56.25%;
height: 0;
}
.video {
position: absolute;
margin: 0 auto;
border: 5px dotted $color;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.section {
padding-top: 2rem;
padding-bottom: 2.5rem;
padding-right: 1.5rem;
padding-left: 1.5rem;
width: 100%;
margin: 0;
align-self: center;
flex: 1 0 auto;
}
.section-even {
background-color: #eee;
}
.section-highlight {
background-color: $color;
}
.section-content {
/* width: 100%; */
max-width: 1152px;
margin: auto;
justify-content: center;
}
.article {
padding-top: 9rem;
padding-bottom: 2rem;
// padding-right: 1.5rem;
// padding-left: 1.5rem;
max-width: 1152px;
width: 100%;
margin: 0;
align-self: center;
}
/* Team */
.team {
align-items: center;
text-align: center;
}
.teammember {
display: inline-block;
align-items: center;
text-align: center;
margin: 0 auto;
padding: 1.5rem;
}
.avatar {
width: 15rem;
height: 15rem;
border-radius: 50%;
border: 2px solid $color;
object-fit: cover;
margin: 0 auto;
}
.teammember-title {
font-size: x-large;
padding-bottom: 0.1rem;
}
.social-media {
display: flex;
justify-content: center;
flex-wrap: wrap;
font-size: 1.5em;
padding-top: 1rem;
color: #333;
min-height: 2em;
}
/* Funding */
.funding-logo {
width: 14rem;
padding: 1.5rem;
}
.services {
padding: 1.5rem 0rem;
}
.service-icon-container {
/* min-width: 300px; */
/* margin: 0 auto;
align-self: center; */
}
.service-icon {
width: 100%;
height: auto;
}
.service-button {
background-color: transparent;
color: $color;
border: 2px solid $color;
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
margin-top: 2rem;
}
.service-button:hover {
background-color: $color;
color: white;
}
.contact {
justify-content: center;
align-items: center;
}
.contact-button-container {
text-align: center;
margin-top: 0;
margin-bottom: 0;
}
.contact-button {
background-color: white;
color: $color;
border-radius: 4px;
padding: 0.5rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
margin-top: 1rem;
}
.contact-text {
text-align: center;
color: white;
}