squirrel/assets/scss/index.scss

512 lines
8.6 KiB
SCSS
Raw Normal View History

$font: {{ .Param "font" }};
@font-face {
font-family: $font;
2022-06-28 07:28:15 +00:00
src: url("/fonts/#{$font}/#{$font}-Regular.ttf") format('truetype');
font-weight: 400;
font-style: normal;
}
2021-02-25 21:23:58 +00:00
2022-06-27 14:09:44 +00:00
* {
box-sizing: border-box;
2022-07-06 13:07:45 +00:00
word-break: break-word;
2022-06-27 14:09:44 +00:00
}
2021-02-25 21:23:58 +00:00
html {
scroll-behavior: smooth;
}
html, body {
height: 100%;
}
body {
margin: 0;
display: flex;
flex-direction: column;
color: #333;
2022-06-28 07:28:15 +00:00
font-family: $font !important;
font-weight: 400;
font-style: normal;
2021-02-25 21:23:58 +00:00
}
h1 {
margin: 0rem;
margin-bottom: 0.5rem;
margin-top: 0.5rem;
}
p {
margin: 0.5rem;
}
a {
text-decoration: none;
2022-06-27 14:09:44 +00:00
color: {{ .Site.Params.color.secondary }};
2021-02-25 21:23:58 +00:00
}
{{ if .Site.Params.list.image }}
ul {
list-style: none;
padding-left: 1rem;
}
ul li {
display: flex;
}
ul li:before {
content: url({{ .Site.Params.list.image }});
display: inline-block;
width: 21px;
height: 21px;
margin-right: 10px;
flex-shrink: 0;
}
{{ end }}
2021-02-25 21:23:58 +00:00
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;
}
.row {
display: flex;
flex-wrap: wrap;
flex-flow: column;
}
.content {
align-self: center;
padding-top: 3rem;
width: 100%;
margin: 0;
}
2022-06-27 14:09:44 +00:00
.content p img {
width: 100%;
// height: 500px;
}
2021-02-25 21:23:58 +00:00
.divider {
height: 3px;
border-radius: 50px;
2022-06-27 14:09:44 +00:00
background: {{ .Site.Params.color.primary }};
2021-02-25 21:23:58 +00:00
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;
2022-06-27 14:09:44 +00:00
border: 5px dotted {{ .Site.Params.color.primary }};
2021-02-25 21:23:58 +00:00
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 {
2022-06-27 14:09:44 +00:00
background-color: {{ .Site.Params.color.primary }};
2021-02-25 21:23:58 +00:00
}
.section-content {
2022-06-27 14:09:44 +00:00
width: 100%;
2021-02-25 21:23:58 +00:00
max-width: 1152px;
margin: auto;
justify-content: center;
}
2022-06-27 14:09:44 +00:00
.content {
2021-02-25 21:23:58 +00:00
padding-top: 9rem;
padding-bottom: 2rem;
2022-06-27 14:09:44 +00:00
padding-right: 1.5rem;
padding-left: 1.5rem;
width: 100%;
2021-02-25 21:23:58 +00:00
max-width: 1152px;
2022-06-27 14:09:44 +00:00
margin: 0;
align-self: center;
flex-grow: 1;
}
.notfound {
display: flex;
padding-right: 1.5rem;
padding-left: 1.5rem;
2021-02-25 21:23:58 +00:00
width: 100%;
2022-06-27 14:09:44 +00:00
max-width: 1152px;
2021-02-25 21:23:58 +00:00
margin: 0;
align-self: center;
2022-06-27 14:09:44 +00:00
justify-content: center;
flex-grow: 1;
}
.notfoundimage {
width: 100%;
max-width: 912px;
2021-02-25 21:23:58 +00:00
}
/* Team */
.team {
align-items: center;
text-align: center;
}
2022-06-27 14:09:44 +00:00
.team-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.team-list a {
color: inherit;
}
2021-02-25 21:23:58 +00:00
.teammember {
display: inline-block;
align-items: center;
text-align: center;
margin: 0 auto;
2022-06-27 14:09:44 +00:00
padding: 1rem;
2021-02-25 21:23:58 +00:00
}
.avatar {
width: 15rem;
height: 15rem;
border-radius: 50%;
2022-06-27 14:09:44 +00:00
border: 2px solid {{ .Site.Params.color.primary }};
object-fit: cover;
margin: 0 auto;
}
.avatar-small {
width: 10rem;
height: 10rem;
border-radius: 50%;
border: 2px solid {{ .Site.Params.color.primary }};
2021-02-25 21:23:58 +00:00
object-fit: cover;
margin: 0 auto;
}
.teammember-title {
font-size: x-large;
padding-bottom: 0.1rem;
}
2022-06-27 14:09:44 +00:00
.teammember-header {
display: flex;
justify-content: left;
margin-bottom: 2rem;
}
.teammember-header-avatar {
width: 10rem;
height: 10rem;
border-radius: 50%;
border: 2px solid {{ .Site.Params.color.primary }};
object-fit: cover;
}
.teammember-header-title {
font-size: x-large;
padding-bottom: 0.1rem;
margin: auto 1rem;
}
.teammember-header-social-media {
2021-02-25 21:23:58 +00:00
display: flex;
flex-wrap: wrap;
color: #333;
2022-06-27 14:09:44 +00:00
margin-top: -0.5rem
}
.teammember-header-social-media a {
color: inherit;
}
.teammember-posts {
margin-top: 2rem;
}
.social-media {
font-size: 1.5em;
}
.author {
width: 100%;
display: inline-block;
align-items: center;
text-align: center;
margin: 0 auto;
padding-top: 2rem;
}
.author a {
color: inherit;
}
.author-title {
font-size: x-large;
padding-bottom: 0.1rem;
margin: 0;
2021-02-25 21:23:58 +00:00
}
/* Funding */
.funding-logo {
2022-06-27 14:09:44 +00:00
width: 9rem;
padding: 1rem;
2021-02-25 21:23:58 +00:00
}
.services {
display: flex;
align-items: center;
2021-02-25 21:23:58 +00:00
padding: 1.5rem 0rem;
}
.services-section-content {
display: flex;
align-items: center;
}
2021-02-25 21:23:58 +00:00
.service-icon-container {
2022-06-27 14:09:44 +00:00
padding: 1.5rem;
margin: auto;
2021-02-25 21:23:58 +00:00
}
.service-icon {
width: 100%;
height: auto;
object-fit: contain;
2021-02-25 21:23:58 +00:00
}
.service-button {
background-color: transparent;
2022-06-27 14:09:44 +00:00
color: {{ .Site.Params.color.primary }};
border: 2px solid {{ .Site.Params.color.primary }};
2021-02-25 21:23:58 +00:00
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 {
2022-06-27 14:09:44 +00:00
background-color: {{ .Site.Params.color.primary }};
2021-02-25 21:23:58 +00:00
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;
2022-06-27 14:09:44 +00:00
color: {{ .Site.Params.color.primary }};
2021-02-25 21:23:58 +00:00
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;
2022-06-27 14:09:44 +00:00
}
.cardList {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
width: 100%;
}
.cardList a {
color: inherit;
2022-06-27 16:23:35 +00:00
flex-grow: 1;
2022-06-27 14:09:44 +00:00
}
.smallCard {
display: flex;
flex-direction: column;
border-radius: 5px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
width: 360px;
height: 100px;
margin: 10px;
justify-content: center;
}
.mediumCard {
display: flex;
flex-direction: column;
flex: 1 1 300px;
2022-06-27 14:09:44 +00:00
border-radius: 5px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
2022-06-27 16:23:35 +00:00
max-width: 350px;
2022-06-27 14:09:44 +00:00
height: 200px;
margin: 10px;
justify-content: center;
}
.card {
display: flex;
flex-direction: column;
border-radius: 5px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
max-width: 350px;
height: 400px;
margin: 5px;
justify-content: center;
}
.cardContent {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
}
2022-06-27 14:09:44 +00:00
.cardImage {
display: flex;
width: 100%;
height: 150px;
border-radius: 5px 5px 0px 0px;
object-fit: cover;
}
.noCover {
object-fit: unset !important;
2022-06-27 14:09:44 +00:00
}
.cardIcon {
margin: auto;
font-size: 8em;
color: {{ .Site.Params.color.secondary }};
}
.cardTitle {
text-align: center;
font-size: 18px;
font-weight: 600;
padding-top: 1rem;
padding-bottom: 0.5rem;
}
.cardDescription {
flex-grow: 1;
overflow: hidden;
text-overflow: ellipsis;
padding: 6px;
padding-top: 0px;
word-wrap: break-word;
height: 100%;
}
.cardDetail {
padding: 6px;
font-size: 12px;
text-align: right;
}
.post-detail {
margin-top: -6px;
padding-bottom: 6px;
font-size: 14px;
}
.coverimage {
height: 60vh;
min-width: 100%;
padding-top: 68px;
object-fit: cover;
}
.image-copyright {
width: 100%;
max-width: 1152px;
align-self: center;
padding-right: 1.5rem;
padding-left: 1.5rem;
font-size: small;
}
2022-06-27 14:09:44 +00:00
.more-button {
padding-top: 1rem;
text-align: center;
color: {{ .Site.Params.color.primary }};
}
@media screen and (max-width: 600px) {
[class*="col-"] {
display: block;
width: 100%;
max-width: 100%;
}
.services {
display: inline-block;
}
2021-02-25 21:23:58 +00:00
}