Merge branch 'master' into kevin-prototype

This commit is contained in:
Kevin Nobel
2017-01-12 11:33:02 +01:00
8 changed files with 338 additions and 22 deletions

135
website/styles/index.css Normal file
View File

@@ -0,0 +1,135 @@
/* Body */
body {
background-color: #B78996;
}
/* Bordered form */
form {
background-color: #a87a87;
border: 5px solid #325da3;
border-radius: 12px;
height: 50%;
margin: auto;
width: 45%;
}
h1 {
padding: 16px;
text-align: center;
}
h2 {
padding: 16px;
text-align: left;
}
label {
display: block;
}
/* Full-width inputs */
input[type=text], input[type=password], input[type=email] {
border-radius: 12px;
border: 5px solid #ccc;
box-sizing: border-box;
display: inline-block;
height: 50%;
padding: 12px 20px;
margin: 8px 0;
width: 50%;
}
input[type=submit]{
background-color: #845663;
border: 2px solid black;
border-radius: 12px;
color: white;
cursor: pointer;
height: 50%;
margin: 8px 0;
padding: 14px 20px;
width: 50%;
}
/* Set a style for all buttons */
button {
background-color: #845663;
border: 2px solid black;
border-radius: 12px;
color: white;
cursor: pointer;
height: 50%;
margin: 8px 0;
padding: 14px 20px;
width: 25%;
}
/* Add padding to containers */
.container {
padding: 16px;
text-align: left;
}
.containercenter {
padding: 16px;
text-align: center;
}
/* The Modal (background) */
.modal {
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
display: none; /* Hidden by default */
height: 100%;
left: 0;
margin: auto;
overflow: auto; /* Enable scroll if needed */
padding-top: 60px;
position: fixed; /* Stay in place */
top: 0;
width: 100%; /* Full width */
z-index: 1; /* Sit on top */
}
/* Modal Content/Box */
.modal-content {
background-color: #B78996;
border: 5px solid #325da3;
margin: 5px auto; /* 15% from the top and centered */
overflow-y: auto;
width: 50% /* Could be more or less, depending on screen size */
}
/* The Close Button */
.close {
/* Position it in the top right corner outside of the modal */
color: white;
font-size: 100px;
font-weight: bold;
position: absolute;
right: 25px;
top: 0;
}
/* Close button on hover */
.close:hover,
.close:focus {
color: red;
cursor: pointer;
}
/* Add Zoom Animation */
.animate {
animation: animatezoom 0.6s
-webkit-animation: animatezoom 0.6s;
}
@-webkit-keyframes animatezoom {
from {-webkit-transform: scale(0)}
to {-webkit-transform: scale(1)}
}
@keyframes animatezoom {
from {transform: scale(0)}
to {transform: scale(1)}
}

View File

@@ -41,6 +41,13 @@ body {
min-height: 100%;
}
.platform {
padding: 20px;
border-radius: 10px;
background-color: #FFFFFF;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
::selection {
background: #845663;
color: white;
@@ -120,7 +127,7 @@ td {
}
/* Custom title box, appears instantaneously */
a:hover, img:hover, span:hover, div:hover {
a[data-title]:hover, img[data-title]:hover, span[data-title]:hover, div[data-title]:hover {
position: relative;
}