Merge branch 'temp_branch'
This commit is contained in:
commit
71c3d7c8de
29 changed files with 802 additions and 169 deletions
|
@ -1,5 +1,3 @@
|
|||
$color: {{ .Param "color" }};
|
||||
|
||||
.footer {
|
||||
margin: auto;
|
||||
padding: 1.5rem 0rem;
|
||||
|
@ -16,7 +14,11 @@ $color: {{ .Param "color" }};
|
|||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
font-size: 2em;
|
||||
color: $color;
|
||||
color: {{ .Site.Params.color.primary }};
|
||||
}
|
||||
|
||||
.social-media-footer a {
|
||||
color: {{ .Site.Params.color.primary }};
|
||||
}
|
||||
|
||||
.links {
|
||||
|
@ -36,6 +38,10 @@ $color: {{ .Param "color" }};
|
|||
padding: 0px 24px;
|
||||
}
|
||||
|
||||
.link a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
margin-top: 2rem;
|
||||
width: 100%;
|
||||
|
|
177
assets/scss/header.scss
Normal file
177
assets/scss/header.scss
Normal file
|
@ -0,0 +1,177 @@
|
|||
.header {
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
padding: 0.5rem;
|
||||
padding-right: 0rem;
|
||||
display: flex;
|
||||
font-size: large;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
background: white;
|
||||
box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.2);
|
||||
position: fixed;
|
||||
z-index: 999;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
width: 100%;
|
||||
max-width: 1152px;
|
||||
display: flex;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 3rem;
|
||||
max-width: 10rem;
|
||||
}
|
||||
|
||||
.small-logo {
|
||||
height: 2.5rem;
|
||||
max-width: 10rem;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: none;
|
||||
font-size: larger;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.header-items {
|
||||
margin: auto;
|
||||
margin-right: 0px;
|
||||
padding-right: 24px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.header-item {
|
||||
margin: auto;
|
||||
margin-left: 2.5rem;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dropdown .dropbtn {
|
||||
border: none;
|
||||
outline: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
display: none;
|
||||
position: fixed;
|
||||
background-color: #ffffff;
|
||||
min-width: 160px;
|
||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dropdown-content a {
|
||||
padding: 0.5rem 1rem;
|
||||
display: block;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.dropdown-content a:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
.dropdown:hover .dropdown-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.header-contact-button {
|
||||
background-color: {{ .Site.Params.color.primary }};
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
padding: 0.5rem 1.5rem;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 1rem;
|
||||
margin-left: 2.5rem
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.header {
|
||||
padding: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.home {
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 15px;
|
||||
right: 30px;
|
||||
}
|
||||
|
||||
.menu-icon .hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.small-icon {
|
||||
top: 15px;
|
||||
}
|
||||
|
||||
.header-items {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-items.responsive {
|
||||
position: relative;
|
||||
float: none;
|
||||
display: block;
|
||||
text-align: left;
|
||||
margin-top: 0.5rem;
|
||||
padding-right: 0rem;
|
||||
}
|
||||
|
||||
.header-items.responsive .header-item {
|
||||
display: block;
|
||||
margin-left: 0rem;
|
||||
padding-bottom: 0.5rem;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
.header-items.responsive .header-contact-button {
|
||||
display: block;
|
||||
margin-left: 0rem;
|
||||
}
|
||||
|
||||
.header-items.responsive .icon {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.header-items.responsive .dropdown {
|
||||
float: none;
|
||||
}
|
||||
.header-items.responsive .dropdown-content {
|
||||
position: relative;
|
||||
box-shadow: none;
|
||||
}
|
||||
.header-items.responsive .dropdown .dropbtn {
|
||||
display: block;
|
||||
width: 100vw;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
}
|
24
assets/scss/hero.scss
Normal file
24
assets/scss/hero.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
.hero {
|
||||
height: 700px;
|
||||
background-image: url({{ .hero.background }}) !important;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
.hero-icon-container {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.hero-button {
|
||||
background-color: {{ .color.primary }};
|
||||
color: white;
|
||||
border: 2px solid {{ .color.primary }};
|
||||
border-radius: 4px;
|
||||
padding: 0.5rem 1.5rem;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
|
@ -1,4 +1,3 @@
|
|||
$color: {{ .Param "color" }};
|
||||
$font: {{ .Param "font" }};
|
||||
|
||||
@font-face {
|
||||
|
@ -8,6 +7,10 @@ $font: {{ .Param "font" }};
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
@ -39,7 +42,7 @@ p {
|
|||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
color: {{ .Site.Params.color.secondary }};
|
||||
}
|
||||
|
||||
button {
|
||||
|
@ -66,14 +69,6 @@ button {
|
|||
|
||||
[class*="col-"] {
|
||||
float: left;
|
||||
padding: 1.5rem 1.5rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
[class*="col-"] {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.row {
|
||||
|
@ -89,10 +84,15 @@ button {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.content p img {
|
||||
width: 100%;
|
||||
// height: 500px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
height: 3px;
|
||||
border-radius: 50px;
|
||||
background: $color;
|
||||
background: {{ .Site.Params.color.primary }};
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
|
@ -111,7 +111,7 @@ button {
|
|||
.video {
|
||||
position: absolute;
|
||||
margin: 0 auto;
|
||||
border: 5px dotted $color;
|
||||
border: 5px dotted {{ .Site.Params.color.primary }};
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
|
@ -134,25 +134,43 @@ button {
|
|||
}
|
||||
|
||||
.section-highlight {
|
||||
background-color: $color;
|
||||
background-color: {{ .Site.Params.color.primary }};
|
||||
}
|
||||
|
||||
.section-content {
|
||||
/* width: 100%; */
|
||||
width: 100%;
|
||||
max-width: 1152px;
|
||||
margin: auto;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.article {
|
||||
.content {
|
||||
padding-top: 9rem;
|
||||
padding-bottom: 2rem;
|
||||
// padding-right: 1.5rem;
|
||||
// padding-left: 1.5rem;
|
||||
max-width: 1152px;
|
||||
padding-right: 1.5rem;
|
||||
padding-left: 1.5rem;
|
||||
width: 100%;
|
||||
max-width: 1152px;
|
||||
margin: 0;
|
||||
align-self: center;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.notfound {
|
||||
display: flex;
|
||||
padding-right: 1.5rem;
|
||||
padding-left: 1.5rem;
|
||||
width: 100%;
|
||||
max-width: 1152px;
|
||||
margin: 0;
|
||||
align-self: center;
|
||||
justify-content: center;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.notfoundimage {
|
||||
width: 100%;
|
||||
max-width: 912px;
|
||||
}
|
||||
|
||||
/* Team */
|
||||
|
@ -162,19 +180,38 @@ button {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.team-list {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.team-list a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.teammember {
|
||||
display: inline-block;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
padding: 1.5rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 15rem;
|
||||
height: 15rem;
|
||||
border-radius: 50%;
|
||||
border: 2px solid $color;
|
||||
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 }};
|
||||
object-fit: cover;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
@ -184,31 +221,79 @@ button {
|
|||
padding-bottom: 0.1rem;
|
||||
}
|
||||
|
||||
.social-media {
|
||||
.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 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
font-size: 1.5em;
|
||||
padding-top: 1rem;
|
||||
color: #333;
|
||||
min-height: 2em;
|
||||
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;
|
||||
}
|
||||
|
||||
/* Funding */
|
||||
|
||||
.funding-logo {
|
||||
width: 14rem;
|
||||
padding: 1.5rem;
|
||||
width: 9rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.services {
|
||||
display: inherit;
|
||||
padding: 1.5rem 0rem;
|
||||
}
|
||||
|
||||
.service-icon-container {
|
||||
/* min-width: 300px; */
|
||||
/* margin: 0 auto;
|
||||
align-self: center; */
|
||||
padding: 1.5rem;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.service-icon {
|
||||
|
@ -218,8 +303,8 @@ button {
|
|||
|
||||
.service-button {
|
||||
background-color: transparent;
|
||||
color: $color;
|
||||
border: 2px solid $color;
|
||||
color: {{ .Site.Params.color.primary }};
|
||||
border: 2px solid {{ .Site.Params.color.primary }};
|
||||
border-radius: 4px;
|
||||
padding: 0.5rem 1.5rem;
|
||||
text-align: center;
|
||||
|
@ -230,7 +315,7 @@ button {
|
|||
}
|
||||
|
||||
.service-button:hover {
|
||||
background-color: $color;
|
||||
background-color: {{ .Site.Params.color.primary }};
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
@ -247,7 +332,7 @@ button {
|
|||
|
||||
.contact-button {
|
||||
background-color: white;
|
||||
color: $color;
|
||||
color: {{ .Site.Params.color.primary }};
|
||||
border-radius: 4px;
|
||||
padding: 0.5rem 1.5rem;
|
||||
text-align: center;
|
||||
|
@ -260,4 +345,120 @@ button {
|
|||
.contact-text {
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cardList {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cardList a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.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;
|
||||
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: 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;
|
||||
}
|
||||
.cardImage {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.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;
|
||||
//white-space: -moz-pre-wrap;
|
||||
//white-space: pre-wrap;
|
||||
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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
$color: {{ .Param "color" }};
|
||||
.progress {
|
||||
background: linear-gradient(to right, $color var(--scroll), transparent 0);
|
||||
background: linear-gradient(to right, {{ .Site.Params.color.primary }} var(--scroll), transparent 0);
|
||||
background-repeat: no-repeat;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
$color: {{ .Param "color" }};
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
@ -67,7 +65,7 @@ $color: {{ .Param "color" }};
|
|||
display: inline-flex;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
background: $color;
|
||||
background: {{ .color.primary }};
|
||||
text-decoration: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
@ -100,7 +98,7 @@ $color: {{ .Param "color" }};
|
|||
left: 0;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
color: $color;
|
||||
color: {{ .color.primary }};
|
||||
font-size: 3.5em;
|
||||
}
|
||||
|
||||
|
@ -119,7 +117,7 @@ $color: {{ .Param "color" }};
|
|||
top: 0;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
color: $color;
|
||||
color: {{ .color.primary }};
|
||||
font-size: 3.5em;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
$color: {{ .Param "color" }};
|
||||
.totop {
|
||||
display: inline-flex;
|
||||
background-color: $color;
|
||||
background-color: {{ .Site.Params.color.primary }};
|
||||
color: #f2f2f2;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue