Files
impress.js/website/css/style.css
2023-02-23 15:35:17 +01:00

177 lines
2.5 KiB
CSS

/*
*
* impress.js Website style.css
*
* copyright 2022 Janis Hutz
*
*
*/
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-size: calc(14pt + 0.4vw);
}
body {
background-color: #dcdcdc;
/*TODO: Choose better font*/
font-family: sans-serif;
}
::selection {
background-color: #0000ff;
}
/*
TITLE
*/
/* This is the tile element with the background image and the title */
.title {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: 120vh;
margin-top: -0.5vh;
text-align: center;
font-size: 2.5rem;
background-image: url("/assets/main_bg_cut.png");
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
.title-content {
position: relative;
color: white;
top: 20vh;
}
.title-buttons {
position: relative;
font-size: 1.3rem;
top: 30vh;
}
.heading {
color: white !important;
}
.subheading {
color: white !important;
font-size: 1.7rem !important;
}
#navbar {
height: 15vh;
position: relative;
z-index: 1;
}
#footer {
height: 70vh;
}
/*
*
* GENERAL ITEMS
*
*/
/* Buttons */
.button {
display: inline-block;
background-color: rgba(0, 128, 0, 1);
text-decoration: none;
color: white;
font-size: 1.2rem;
margin: 5px;
font-weight: bold;
padding: 30px;
padding-top: 15px;
padding-bottom: 15px;
border-radius: 50px;
}
/*
*
* CONTENT BOX
*
*/
.content {
width: 75vw;
margin-left: 12.5vw;
}
.create {
display: grid;
justify-content: center;
text-align: center;
}
/* This div will have crazy cool style, as this should represent that you can use (almost) all the CSS you want.*/
.create .crazy-styled {
background-color: aqua;
}
.centered {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.sidebyside {
display: flex;
flex-direction: column;
}
.sidebyside-element {
width: 100%;
}
/* GETTING STARTED BOX AND CHILDREN */
.getting-started {
margin-top: 5%;
width: 100%;
height: 50vh;
text-align: center;
}
.big-text {
font-size: 200%;
}
@media only screen and (min-width: 999px) {
#footer {
height: 40vh;
}
.sidebyside {
width: 100%;
align-items: flex-start;
justify-content: space-between;
flex-direction: row;
}
.sidebyside-element {
width: 40%;
}
}
code {
text-align: justify;
}