Update CSS
This commit is contained in:
parent
9b307813d6
commit
8cd02cdb76
4 changed files with 110 additions and 189 deletions
127
css/base.css
127
css/base.css
|
|
@ -1,21 +1,34 @@
|
|||
|
||||
/* Primary Font */
|
||||
@font-face {
|
||||
font-family: Banquise;
|
||||
src: url(../assets/Banquise-Regular.woff);
|
||||
font-family: MonTrappist;
|
||||
src: url(../assets/fonts/MonTrappist-Black.woff);
|
||||
}
|
||||
|
||||
/* Secondary Font */
|
||||
@font-face {
|
||||
font-family: Dymo;
|
||||
src: url(../assets/Dymo.ttf);
|
||||
font-family: Segoesc;
|
||||
src: url(../assets/fonts/segoesc.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Erika;
|
||||
src: url(../assets/Erika-Type.ttf);
|
||||
/* Basic Font */
|
||||
/* font-family: Courier New */
|
||||
|
||||
:root {
|
||||
--primary-bg-color: black; /* global scope */
|
||||
--accent-violet: #8800FF;
|
||||
--accent-yellow: #ffbf3e;
|
||||
--accent-orange: #FF4E00 ;
|
||||
--accent-minor-blue: #33D8D8;
|
||||
--text-color-primary: #FFFFFF;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
font-family: "Verdana", "Helvetica", "Arial", sans-serif;
|
||||
color: var(--text-color-primary);
|
||||
background: var(--primary-bg-color);
|
||||
}
|
||||
|
||||
img {
|
||||
|
|
@ -23,34 +36,75 @@ img {
|
|||
}
|
||||
|
||||
a {
|
||||
color: var(--accent-yellow);
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
|
||||
main {
|
||||
/* background-color: #413f43;*/
|
||||
background: #058C9E;
|
||||
background: radial-gradient(at left top, #058C9E, #BC5180);
|
||||
/* background-repeat: no-repeat;
|
||||
background-size: cover; */
|
||||
}
|
||||
|
||||
|
||||
main h1, main h2, main h3 {
|
||||
font-family: Banquise;
|
||||
font-family: MonTrappist;
|
||||
color: white;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
main h1 {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
width: 50%;
|
||||
font-size: clamp(4em, 14vw, 8em);
|
||||
margin-top: 5%;
|
||||
max-width: 1400px;
|
||||
font-size: 8em;
|
||||
}
|
||||
|
||||
main h2 {
|
||||
position: relative;
|
||||
margin: 4% auto;
|
||||
text-align: center;
|
||||
font-size: clamp(1.5em, 4vw, 3em);
|
||||
font-family: segoesc;
|
||||
}
|
||||
|
||||
main h3 {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
font-size: clamp(2em, 4vw, 4em);
|
||||
margin-top: 5%;
|
||||
}
|
||||
|
||||
main p {
|
||||
margin: 1%;
|
||||
padding: 1%;
|
||||
/* border: solid 1px; */
|
||||
opacity: 0.90;
|
||||
display: inline-block;
|
||||
z-index: 3;
|
||||
background-color: black;
|
||||
|
||||
}
|
||||
|
||||
section {
|
||||
max-width: 1400px;
|
||||
font-size: 2em;
|
||||
text-align:justify;
|
||||
margin: auto;
|
||||
margin-bottom: 100px;
|
||||
padding: 2%;
|
||||
padding-left: 0px;
|
||||
z-index: 1;
|
||||
box-shadow: -5px 5px 0px var(--accent-yellow), -10px 10px 0px var(--accent-orange), -15px 15px 0px var(--accent-violet);
|
||||
}
|
||||
|
||||
nav, footer, aside {
|
||||
background: #d7d7d7;
|
||||
background: url(../assets/paper.avif);
|
||||
background: var(--accent-violet);
|
||||
padding: 5px;
|
||||
font-family: Erika;
|
||||
font-family: MonTrappist;
|
||||
z-index: 10000;
|
||||
position: relative;
|
||||
opacity: 0.95;
|
||||
|
|
@ -58,7 +112,6 @@ nav, footer, aside {
|
|||
}
|
||||
|
||||
nav a, footer a, aside a {
|
||||
font-family: Dymo;
|
||||
font-size: 3em;
|
||||
display: inline-block;
|
||||
margin-right: 1em;
|
||||
|
|
@ -72,8 +125,6 @@ footer a:hover, nav a:hover {
|
|||
transform: rotate(-2deg);
|
||||
}
|
||||
|
||||
|
||||
|
||||
footer {
|
||||
display: block;
|
||||
text-align: center;
|
||||
|
|
@ -88,3 +139,39 @@ footer {
|
|||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
main > img {
|
||||
object-fit: scale-down;
|
||||
}
|
||||
|
||||
main > .sticker {
|
||||
background: none;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
main > *.draggable:not(.sticker) {
|
||||
|
||||
&:not(h2) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:not(h1):not(h2):hover {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
#camp {
|
||||
font-family: segoesc;
|
||||
float: left;
|
||||
margin-left: 10%;
|
||||
line-height: 0.8em;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
#interhack {
|
||||
text-shadow: -5px 5px 0px var(--accent-orange), -10px 10px 0px var(--accent-violet);
|
||||
color: var(--accent-yellow);
|
||||
margin-right: 10%;
|
||||
line-height: 0.5em;
|
||||
margin-top: -0.4em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue