SW/assets/css/main.css

369 lines
5.6 KiB
CSS
Raw Normal View History

2021-03-08 19:01:14 +01:00
/* Basic */
* {
box-sizing: border-box;
}
/* Headers */
2021-03-11 10:49:50 +01:00
h1, h2, h3, h4 {
2021-03-08 19:01:14 +01:00
color: #363636;
text-transform: uppercase;
margin: 0;
2021-03-15 12:11:51 +01:00
padding: 0;
border: 0;
2021-03-08 19:01:14 +01:00
font-size: 100%;
vertical-align: baseline;
text-align: center;
}
h2 {
2021-03-16 19:41:58 +01:00
font-size: 95%;
2021-03-15 12:11:51 +01:00
}
h3 {
font-size: 85%;
}
h4 {
font-size: 75%;
}
2021-03-08 19:01:14 +01:00
/* Header */
.header {
background-color: #1f2c3d;
color: #dadada;
padding: 15px;
text-align: left;
2021-03-11 09:51:32 +01:00
font-size: 18px;
2021-03-08 19:01:14 +01:00
}
.header img {
width: 11px;
}
.menu {
background-color: #1f2c3d;
color: #dadada;
text-align: right;
font-size: 15px;
}
/* Paragraphs */
p {
padding: 0;
border: 0;
}
a {
2021-03-17 11:01:05 +01:00
color: #dadada;
text-decoration: none;
2021-03-08 19:01:14 +01:00
}
a:hover{
color:rgb(138, 150, 32);
}
/* Body */
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #d3ebff;
color: #000000
}
/* Table */
table {
border-collapse: collapse;
border-spacing: 0;
margin: 0 0 2em 0;
width: 100%;
text-align: left;
font-size: 15px;
}
table a{
color: #1f2c3d;
}
table tbody tr {
border: solid 1px #1f2c3d;
border-left: 0;
border-right: 0;
}
table tbody tr:nth-child(2n + 1) {
background-color: rgba(144, 144, 144, 0.25);
}
table td {
padding: 0.75em 0.75em;
}
table th {
color: #1f2c3d;
font-size: 0.9em;
font-weight: 600;
padding: 0 0.85em 0.85em 0.85em;
}
table thead {
border-bottom: solid 2px #1f2c3d;
}
/* Main */
.main {
padding: 30px;
text-align: center;
font-size: 35px;
}
.main h1, h2, h3, h4 {
color: #363636;
}
.main img {
width: 50%;
}
/* Create three unequal columns that floats next to each other */
.column {
float: left;
padding: 10px;
}
/* Left and right column */
.column.side {
width: 33.33%;
}
/* Middle column */
.column.middle {
width: 33.33%;
}
2021-03-11 09:51:32 +01:00
/* Left column */
.column.left {
width: 50%;
}
/* Right column */
.column.right {
float: right;
width: 50%;
}
2021-03-08 19:01:14 +01:00
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Responsive layout: makes the three columns stack on top of each other instead of next to each other */
2021-03-17 11:01:05 +01:00
@media (max-width: 1000px) {
2021-03-11 09:51:32 +01:00
.column.side, .column.middle, .column.left, .column.right{
2021-03-08 19:01:14 +01:00
width: 100%;
}
}
2021-03-08 20:32:13 +01:00
/* Zoom */
.zoom {
transition: transform .2s;
}
.zoom:hover {
transform: scale(1.05);
}
2021-03-08 19:01:14 +01:00
/* Code & Blockquote */
.code {
background: #1f2c3d;
border-radius: 3px;
font-size: 0.9em;
margin: 10px;
display: block;
line-height: 1.75em;
padding: 1em 1.5em;
overflow-x: auto;
overflow-y: auto;
}
2021-03-17 11:01:05 +01:00
.code h1, .code h2{
2021-03-15 12:11:51 +01:00
color: #dadada;
}
2021-03-17 11:01:05 +01:00
.code h3, .code h4 {
2021-03-15 12:11:51 +01:00
color: #d3ebff;
}
.code p {
2021-03-08 19:01:14 +01:00
color: #dadada;
}
.code a {
text-decoration: underline;
}
2021-03-15 16:28:04 +01:00
.code ul {
color: #dadada;
}
2021-03-08 19:01:14 +01:00
.code img{
/* width: 80px; height: 80px; */
width: 25%;
}
2021-03-15 12:11:51 +01:00
.code fieldset{
margin: 1px;
border-color: #dadada;
border-style: groove;
}
.code fieldset legend {
text-transform: uppercase;
font-weight: bold;
font-size: 90%;
color: #d3ebff;
}
2021-03-15 16:28:04 +01:00
.code.details{
height: 750px;
}
.code.plan {
2021-03-16 19:41:58 +01:00
height: 1150px;
2021-03-15 16:28:04 +01:00
}
2021-03-08 19:01:14 +01:00
.blockquote {
border-left: solid 4px #dadada;
margin: 0 0 2em 0;
padding: 0.5em 0 0.5em 2em;
}
.blockquote.bio {
height: 250px;
}
2021-03-11 09:51:32 +01:00
/* Sketches */
2021-03-17 11:01:05 +01:00
.sketches {
2021-03-11 09:51:32 +01:00
text-align: center;
display: block;
line-height: 1.25em;
padding: 1em 1em;
overflow-x: auto;
background: #1f2c3d;
border-radius: 3px;
2021-03-16 19:41:58 +01:00
height: 680px;
2021-03-11 09:51:32 +01:00
}
2021-03-17 11:01:05 +01:00
.sketches h1, .sketches h2, .sketches h3, .sketches h4, .sketches p {
2021-03-15 12:11:51 +01:00
color: #dadada;
}
2021-03-17 11:01:05 +01:00
.sketches img {
2021-03-11 09:51:32 +01:00
width: 550px;
height: 550px;
}
.sketches .description {
color: #d3ebff;
}
/* Responsive layout */
2021-03-17 11:01:05 +01:00
@media (max-width: 1500px) {
.column.side .sketches, .column.middle .sketches {
width: 100%;
height: 500px;
}
.column.side .sketches img, .column.middle .sketches img{
width: 100%;
height: 75%;
}
}
2021-03-11 09:51:32 +01:00
@media (max-width: 1150px) {
.sketches img{
width: 100%;
height: 75%;
}
}
2021-03-16 10:56:28 +01:00
/* Percentage bar */
.bar {
height: 15px;
line-height: 15px;
font-size: 13px;
font-weight: bold;
width: 100%;
background-color: #d3ebff;
text-align: right;
}
.bar.seventyfive {
width: 75%;
}
.bar.fifty {
width: 50%;
}
2021-03-16 19:41:58 +01:00
.bar.twentyfive {
width: 25%;
}
2021-03-16 10:56:28 +01:00
2021-03-11 09:51:32 +01:00
2021-03-08 19:01:14 +01:00
/* Form */
form {
margin: auto;
2021-03-15 12:11:51 +01:00
width: 65%;
}
form h1, h2, h3, h4 {
color: #363636;
2021-03-08 19:01:14 +01:00
}
label {
text-align: center;
font-weight: bold;
}
input, textarea {
width: 100%;
height: 27px;
border: 1px solid #000000;
padding: 10px;
margin-top: 5px;
font-size: 15px;
}
textarea {
width: 100%;
height: 150px;
}
#radio, #checkbox {
width: auto;
height: 15px;
cursor: pointer;
}
.verify {
font-size: 11px;
}
#submit {
width: 100%;
height: 35px;
border: 1px solid #000000;
padding: 5px;
margin-top: 5px;
font-size: 15px;
font-weight: bold;
2021-03-09 12:29:52 +01:00
box-shadow: 2px 2px #1f2c3d;
filter: brightness(105%);
2021-03-08 19:01:14 +01:00
cursor: pointer;
}
#submit:hover {
background-color: #d3ebff;
}
#reset {
width: 100%;
height: 30px;
border: 1px solid #dadada;
background-color: #00020f;
color: #dadada;
padding: 5px;
margin-top: 5px;
font-size: 12px;
font-weight: bold;
2021-03-09 12:29:52 +01:00
box-shadow: 2px 2px #1f2c3d;
2021-03-08 19:01:14 +01:00
cursor: pointer;
}
#reset:hover {
border:#000000;
background-color: #791515;
}
/* Footer */
.footer {
background-color: #1f2c3d;
color: #dadada;
padding: 25px;
2021-03-16 10:56:28 +01:00
margin-top: 100px;
2021-03-08 19:01:14 +01:00
width: 100%;
height: 80px;
text-align: right;
2021-03-17 11:01:05 +01:00
}