images, download page & rwd

This commit is contained in:
janis
2023-01-10 21:50:18 +01:00
parent f686863211
commit 7937175a99
13 changed files with 449 additions and 104 deletions

View File

@@ -0,0 +1,76 @@
/*
*
* footerstyle.css - impress.js Website
*
* Created 2023 by Janis Hutz
*
*/
/* Style the footer box */
.footer-container {
width: 100%;
height: 100%;
background-color: blue;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.footer-logo-container {
margin: 0.5%;
height: 45%;
display: inline-block;
width: fit-content;
}
.footer-logo {
display: block;
width: auto;
height: 100%;
}
.footer-wrapper {
width: 70%;
height: 45%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
}
.footer-big {
font-size: 1.6rem;
margin: 1%;
font-weight: bold;
}
.footer-small {
margin: 1%;
font-size: 1.2rem
}
.credits {
margin-top: 2%;
color: gray;
text-decoration: none;
font-style: italic;
font-size: 0.8rem;
}
@media only screen and (min-width: 999px) {
.footer-container {
flex-direction: row;
}
.footer-wrapper {
height: 80%;
justify-content: flex-start;
}
.footer-logo-container {
height: 60%;
}
}

View File

@@ -1,36 +1,137 @@
.Topmenu {
width: 101vw;
padding: 0.3%;
/*
*
* menustyle.css - impress.js Website
*
* Created 2023 by Janis Hutz
*
*/
/*
Default rules that are set for mobile interfaces
*/
.nav-container {
width: 100%;
height: 100%;
background-color: blue;
margin-left: -1%;
margin-top: -1%;
}
.menubody {
width: 90%;
margin-top: 1.5%;
margin-left: 5%;
}
.Menu {
.toggle-wrapper {
display: inline-flex;
height: 100%;
width: 80%;
align-items: center;
justify-content: flex-end;
}
/* Logo image and logo link (aka logo-container)*/
.logo-container {
margin: 0.5%;
height: 80%;
display: inline-block;
width: fit-content;
}
.mobile-wrapper {
display: flex;
justify-content: center;
align-content: center;
list-style-type: none;
width: 80vw;
align-items: center;
height: 100%;
width: 100%;
}
.logo {
display: block;
width: auto;
height: 100%;
}
.mainitems {
padding: 1%;
}
.mainitems:hover {
background-color: darkblue;
}
.menubutton {
.listtoggle {
text-decoration: none;
background-color: none;
color: white;
}
color: black;
font-size: 5vh;
margin-right: 7%;
cursor: pointer;
}
.active {
color: rgba(184, 214, 240, 1);
}
/* Nav menu holder (contains the flex nav menu and has to exist because of jQuery */
.nav-menu {
background-color: rgba(245, 245, 245, 0.9);
display: none;
width: 100%;
}
/* This is the list actually containing the menu items */
.nav-list {
display: flex;
flex-direction: column;
width: 100%;
justify-content: center;
align-items: center;
}
.navitem {
text-decoration: none;
text-align: center;
color: black;
font-size: 1.3rem;
padding: 2%;
width: 100%;
}
/*
.navitem:hover {
background-color: rgba(184, 214, 240, 1);
}*/
/*
Media queries to optimise for desktop
*/
@media only screen and (min-width: 999px) {
/* Top navigation bar container */
.nav-container {
display: flex;
justify-content: center;
align-items: center;
}
/* div containing the nav-menu unordered list */
.nav-wrapper {
height: 100%;
width: 80%;
margin: auto;
display: inline-flex;
align-items: center;
justify-content: center;
}
.listtoggle, .toggle-wrapper {
display: none;
}
.nav-menu {
display: flex;
background-color: rgba(0, 0, 0, 0);
}
.nav-list {
flex-direction: row;
}
.mobile-wrapper {
width: fit-content;
margin-left: 3%;
}
.navitem {
font-size: 0.9rem;
width: fit-content;
padding: 1%;
padding-left: 2%;
padding-right: 2%
}
}

View File

@@ -7,6 +7,14 @@
*
*/
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-size: calc(14pt + 0.4vw);
}
body {
background-color: #dcdcdc;
/*TODO: Choose better font*/
@@ -25,14 +33,18 @@ body {
/* This is the tile element with the background image and the title */
.title {
/* TODO: Add background image*/
/* make div full width (well technically oversized and move it to -1% offset */
display: block;
width: 101vw;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: 120vh;
margin-top: -0.5vh;
margin-left: -0.5vw;
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 {
@@ -43,14 +55,28 @@ body {
.title-buttons {
position: relative;
font-size: 1.3rem;
top: 30vh;
}
.type-animation {
font-size: 600%;
.heading {
color: white !important;
}
.subheading {
color: white !important;
font-size: 1.7rem !important;
}
#navbar {
height: 15vh;
position: relative;
z-index: 1;
}
#footer {
height: 70vh;
}
/*
*
@@ -61,10 +87,10 @@ body {
/* Buttons */
.button {
display: inline-block;
background-color: green;
background-color: rgba(0, 128, 0, 1);
text-decoration: none;
color: white;
font-size: 150%;
font-size: 1.2rem;
margin: 5px;
font-weight: bold;
padding: 30px;
@@ -73,10 +99,6 @@ body {
border-radius: 50px;
}
.button:hover {
background-color: lightgreen;
}
/*
@@ -101,14 +123,22 @@ body {
background-color: aqua;
}
.features {
.centered {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.feature-item {
display: inline-block;
width: 40%;
margin: 2%;
.sidebyside {
display: flex;
flex-direction: column;
}
.sidebyside-element {
width: 100%;
}
@@ -123,4 +153,21 @@ body {
.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%;
}
}