Stylesheet hinzugefügt
This commit is contained in:
parent
9c6cf7ace5
commit
434d0f34b9
105
css/stylesheet.css
Normal file
105
css/stylesheet.css
Normal file
@ -0,0 +1,105 @@
|
||||
/* Font Import */
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Bagel+Fat+One&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600&display=swap');
|
||||
|
||||
|
||||
/* Reset / Normalize */
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Colors + Main Font */
|
||||
:root {
|
||||
--primary-color: #D44B24;
|
||||
--primary-color-dark: #D44B24;
|
||||
--secondary-color: #6B6B05;
|
||||
--secondary-color-dark: #5C5C05;
|
||||
--white: #ffffff;
|
||||
--black: #221C1A;
|
||||
--brown: #66340d;
|
||||
|
||||
--font-main: 'Jost', sans-serif;
|
||||
--font-size-base: 16px;
|
||||
}
|
||||
|
||||
/* Base Styles */
|
||||
body {
|
||||
font-family: var(--font-main);
|
||||
font-size: 1.125em;
|
||||
line-height: 1.5;
|
||||
color: var(--black);
|
||||
background-color: #FFFDE3;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
|
||||
h1, h2 {
|
||||
font-family: 'Bagel Fat One';
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
p {
|
||||
font-family: 'Jost', sans-serif;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/* Layout */
|
||||
.container {
|
||||
width: 90%;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Components */
|
||||
.button {
|
||||
display: inline-block;
|
||||
padding: 0.5em 1.25em;
|
||||
background-color: var(--secondary-color);
|
||||
font-family: 'Jost', sans-serif;
|
||||
font-size: 1em;
|
||||
color: #FFFDE3;
|
||||
border: none;
|
||||
border-radius: 2em;
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: var(--secondary-color-dark);
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
.nav {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
/* Utilities */
|
||||
.text-center {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Media Queries (Responsive) */
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
.nav {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user