2021-07-07 00:29:11 +01:00
|
|
|
/******** Imports ********/
|
2021-07-02 13:18:52 +01:00
|
|
|
@import "/node_modules/normalize.css/normalize.css";
|
2021-07-07 00:29:11 +01:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Share+Tech+Mono&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
|
2021-07-02 13:18:52 +01:00
|
|
|
|
2021-07-07 00:29:11 +01:00
|
|
|
/****** Root Style ******/
|
|
|
|
:root{
|
|
|
|
/* colours */
|
|
|
|
--primaryDefault: hsla(79, 62%, 51%, 1);
|
|
|
|
--primaryHover: hsla(79, 75%, 41%, 1);
|
|
|
|
--errorDefault: hsla(0, 62%, 51%, 1);
|
|
|
|
--grey: hsla(0, 0%, 39%, 1);
|
2021-07-09 17:14:02 +01:00
|
|
|
--mutedGrey: hsla(0, 0%, 67%, 0.58);
|
2021-07-02 13:18:52 +01:00
|
|
|
|
2021-07-07 00:29:11 +01:00
|
|
|
/* font sizes */
|
|
|
|
--titleFS: 2.25rem;
|
|
|
|
--generalFS: 1.125rem;
|
|
|
|
--headingFS: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2021-07-19 20:00:26 +01:00
|
|
|
/*** Template Styles ****/
|
2021-07-09 17:14:02 +01:00
|
|
|
|
|
|
|
a:visited{
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, nav{
|
2021-07-07 00:29:11 +01:00
|
|
|
font-family: Share Tech Mono, monospace;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 2.25rem;
|
|
|
|
line-height: 2.5625rem;
|
|
|
|
text-transform: lowercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2{
|
|
|
|
font-family: Noto Sans KR, sans-serif;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: 2.1875rem;
|
|
|
|
}
|
|
|
|
|
2021-07-09 17:14:02 +01:00
|
|
|
a.btn, form input[type="submit"]{
|
|
|
|
text-decoration: none;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 1rem 2rem;
|
2021-07-19 20:00:26 +01:00
|
|
|
border-radius: 0.625em;
|
|
|
|
border: 0.3215em solid var(--primaryDefault);
|
|
|
|
color: #FFFFFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.btn:hover{
|
|
|
|
border: 0.3215em solid var(--primaryHover);
|
2021-07-09 17:14:02 +01:00
|
|
|
}
|
2021-07-19 20:00:26 +01:00
|
|
|
|
2021-07-17 19:08:13 +01:00
|
|
|
a.btnPrimary, form input[type="submit"]{
|
2021-07-09 17:14:02 +01:00
|
|
|
background: var(--primaryDefault);
|
2021-07-17 19:08:13 +01:00
|
|
|
cursor: pointer;
|
2021-07-09 17:14:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a.btnOutline{
|
|
|
|
background: #FFFFFF;
|
|
|
|
color: var(--primaryDefault);
|
|
|
|
}
|
|
|
|
|
|
|
|
a.btnPrimary:hover, form input[type="submit"]:hover{
|
|
|
|
background: var(--primaryHover);
|
2021-07-19 20:00:26 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
a.btn:active, form input[type="submit"]:active{
|
|
|
|
padding: 0.8rem 1.8rem;
|
2021-07-09 17:14:02 +01:00
|
|
|
}
|
|
|
|
|
2021-07-19 20:00:26 +01:00
|
|
|
.boxShadowOut:hover{
|
2021-07-09 17:14:02 +01:00
|
|
|
box-shadow: 0 6px 4px 0 hsla(0, 0%, 0%, 0.25);
|
|
|
|
}
|
|
|
|
|
2021-07-19 20:00:26 +01:00
|
|
|
.boxShadowIn:active{
|
2021-07-17 19:08:13 +01:00
|
|
|
box-shadow: inset 0 6px 4px 0 hsla(0, 0%, 0%, 0.25);
|
2021-07-09 17:14:02 +01:00
|
|
|
}
|
|
|
|
|
2021-07-19 20:00:26 +01:00
|
|
|
.textShadow:hover{
|
|
|
|
text-shadow: 0 6px 4px hsla(0, 0%, 0%, 0.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** Standard Styles ****/
|
|
|
|
|
2021-07-07 00:29:11 +01:00
|
|
|
body{
|
|
|
|
font-family: Noto Sans KR, sans-serif;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
2021-07-19 20:00:26 +01:00
|
|
|
font-size: 1.125rem;
|
2021-07-07 00:29:11 +01:00
|
|
|
line-height: 1.625rem;
|
|
|
|
}
|
2021-07-09 17:14:02 +01:00
|
|
|
|
|
|
|
header{
|
2021-07-19 20:00:26 +01:00
|
|
|
background: url("../imgs/hero.jpg") no-repeat bottom;
|
2021-07-09 17:14:02 +01:00
|
|
|
background-size: cover;
|
|
|
|
height: 40%;
|
|
|
|
color: #FFFFFF;
|
|
|
|
backdrop-filter: grayscale(100%);
|
2021-07-19 20:00:26 +01:00
|
|
|
position: relative;
|
2021-07-09 17:14:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
nav{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav h1 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a{
|
|
|
|
text-decoration: none;
|
2021-07-19 20:00:26 +01:00
|
|
|
color: #FFFFFF;
|
2021-07-09 17:14:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
nav ul {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 1em;
|
|
|
|
margin: 0;
|
|
|
|
justify-content: right;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
2021-07-19 20:00:26 +01:00
|
|
|
nav ul li span{
|
|
|
|
visibility: hidden;
|
2021-07-09 17:14:02 +01:00
|
|
|
}
|
|
|
|
|
2021-07-19 20:00:26 +01:00
|
|
|
nav ul li a:hover > span{
|
|
|
|
visibility: visible;
|
2021-07-09 17:14:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
header div{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding-top: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
header div .btn {
|
|
|
|
margin: 2em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
header div button{
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 2rem;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
i.fa-chevron-down{
|
|
|
|
color: var(--mutedGrey);
|
|
|
|
font-size: 3.75em;
|
|
|
|
margin: 1.5rem 0;
|
|
|
|
}
|
2021-07-19 20:00:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 75em) {
|
|
|
|
nav{
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: left;
|
|
|
|
align-items: end;
|
|
|
|
gap: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul{
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|