This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
Files
IT2/resources/css/main.css
2020-02-19 00:01:50 +01:00

175 lines
2.6 KiB
CSS

/* Colors */
/* General styling */
body {
background-color: #282828;
color: white;
margin: 0px;
padding: 0px;
margin-right: 2%;
margin-left: 8%;
margin-top: 5%;
font-family: museo-sans-rounded, sans-serif;
font-size: 14pt;
font-weight: 300;
font-style: normal;
}
/* Text elements */
h1 {
color: #2883d0;
text-align: center;
background-color: #3c3c3c;
padding: 15px;
margin-left: 10%;
margin-right: 10%;
border-radius: 15px;
}
h2 {
color: #91e22c;
}
a {
color: #66D9EF;
}
a:hover {
color: #A6E22E;
}
/* Special elements */
button, input[type=submit] {
background-color: #787878;
border: 2px solid white;
color: white;
padding: 4px 12px;
margin: 2px 12px;
font-size: 14pt;
}
button:hover, input:hover[type=submit] {
background-color: #505050;
}
button:focus, input:focus[type=submit] {
outline: 0;
}
button.big, input.big[type=submit] {
padding: 15px;
border-radius: 15px;
font-size: 18pt;
}
/* Inputs */
input {
padding: 4px 12px;
margin: 2px 12px;
font-size: 14pt;
}
input[type=color] {
width: 4em;
height: 2em;
background-color: #787878;
}
/* Table elements */
table {
width: 100%;
}
td, th {
border: 1px solid white;
padding: 8px;
}
th {
text-align: left;
background-color: #4CAF50;
}
tr:nth-child(even) {
background-color: #00000033;
}
tr:hover {
background-color: rgba(255, 255, 255, 0.281);
}
/* Import */
.center {
background-color: #505050;
margin: auto;
margin-bottom: 10%;
width: 70%;
padding: 5%;
height: -webkit-max-content;
height: -moz-max-content;
height: max-content;
border-radius: 15px;
}
.center * {
margin: auto;
}
.center canvas {
border: 5px solid black;
}
.inline {
margin: 15px;
}
.inline * {
display: inline-block;
}
.leftalign * {
margin: 15px;
text-align: left;
}
.textboxGrid {
display: -ms-grid;
display: grid;
-webkit-box-pack: space-evenly;
-ms-flex-pack: space-evenly;
justify-content: space-evenly;
-ms-flex-line-pack: space-evenly;
align-content: space-evenly;
grid-column-gap: 20px;
grid-row-gap: 20px;
-ms-grid-columns: (minmax(350px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
.textboxGrid * {
size: 100%;
margin: 0px;
padding: 30px 0px;
text-align: center;
background-color: #787878;
}
.textboxGrid .linkGridElement {
border: 1px solid black;
}
.textboxGrid .linkGridElement:hover {
background-color: #505050;
cursor: pointer;
}
.textboxGrid .linkGridElement a:hover {
text-decoration: underline;
color: #66D9EF;
}
.textboxGrid .linkGridElement * {
margin: 0px;
padding: 0px;
background-color: transparent;
}