added grid

This commit is contained in:
2021-01-22 02:34:34 +01:00
committed by GitHub
parent 0b4f66e203
commit 5257ae6353

View File

@ -1,86 +1,102 @@
* { * {
font-family: Verdana, Geneva, Tahoma, sans-serif; font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 12pt; font-size: 12pt;
} }
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
/* /*
Container CSS Container CSS
*/ */
.container { .container {
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
} }
@media (min-width: 770px) { @media (min-width: 770px) {
.container { .container {
width: 750px; width: 750px;
} }
} }
@media (min-width: 992px) { @media (min-width: 992px) {
.container { .container {
width: 970px; width: 970px;
} }
} }
@media (min-width: 1200px) { @media (min-width: 1200px) {
.container { .container {
width: 1170px; width: 1170px;
} }
} }
/* /*
NavBar CSS Grid
*/
.row { width: 100%; }
.col-1 { width: 100.0%; float: left; }
.col-2 { width: 50.00%; float: left; }
.col-3 { width: 33.33%; float: left; }
.col-4 { width: 25.00%; float: left; }
.col-5 { width: 20.00%; float: left; }
.col-6 { width: 16.66%; float: left; }
.col-7 { width: 14.28%; float: left; }
.col-8 { width: 12.50%; float: left; }
.col-9 { width: 11.11%; float: left; }
.col-10 { width: 10.00%; float: left; }
.col-11 { width: 09.09%; float: left; }
.col-12 { width: 08.33%; float: left; }
/*
NavBar CSS
*/ */
.nav { .nav {
position: relative; position: relative;
background-color: aliceblue; background-color: aliceblue;
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
} }
ul.nav-list { ul.nav-list {
display: flex; display: flex;
margin:0; margin:0;
padding: 5px; padding: 5px;
min-height: 60px; min-height: 60px;
line-height: 60px; line-height: 60px;
} }
li.nav-item{ li.nav-item{
float:left; float:left;
list-style: none; list-style: none;
color:black; color:black;
font-size: 10pt; font-size: 10pt;
margin-left: 10px; margin-left: 10px;
} }
li.nav-item:hover{ li.nav-item:hover{
font-size: 12pt; font-size: 12pt;
} }
a.brand { a.brand {
position: inherit; position: inherit;
display: flex; display: flex;
} }
/* /*
Dropdown Dropdown
*/ */
.dropdown { .dropdown {
position: relative; position: relative;
display: inline-block; display: inline-block;
} }
.dropdown-content { .dropdown-content {
display: none; display: none;
position: absolute; position: absolute;
background-color: #f9f9f9; background-color: #f9f9f9;
min-width: 160px; min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 12px 16px; padding: 12px 16px;
z-index: 1; z-index: 1;
} }
.dropdown:hover .dropdown-content { .dropdown:hover .dropdown-content {
display: block; display: block;
} }
/* /*
SlideShow CSS SlideShow CSS
*/ */
* {box-sizing: border-box} * {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0} body {font-family: Verdana, sans-serif; margin:0}
@ -89,93 +105,93 @@ img {vertical-align: middle;}
/* Slideshow container */ /* Slideshow container */
.slideshow-container { .slideshow-container {
max-width: 1000px; max-width: 1000px;
position: relative; position: relative;
margin: auto; margin: auto;
} }
/* Next & previous buttons */ /* Next & previous buttons */
.prev, .next { .prev, .next {
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
top: 50%; top: 50%;
width: auto; width: auto;
padding: 16px; padding: 16px;
margin-top: -22px; margin-top: -22px;
color: white; color: white;
font-weight: bold; font-weight: bold;
font-size: 18px; font-size: 18px;
transition: 0.6s ease; transition: 0.6s ease;
border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0;
user-select: none; user-select: none;
} }
/* Position the "next button" to the right */ /* Position the "next button" to the right */
.next { .next {
right: 0; right: 0;
border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px;
} }
/* On hover, add a black background color with a little bit see-through */ /* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover { .prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8); background-color: rgba(0,0,0,0.8);
} }
/* Caption text */ /* Caption text */
.text { .text {
color: #f2f2f2; color: #f2f2f2;
font-size: 15px; font-size: 15px;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: absolute;
bottom: 8px; bottom: 8px;
width: 100%; width: 100%;
text-align: center; text-align: center;
} }
/* Number text (1/3 etc) */ /* Number text (1/3 etc) */
.numbertext { .numbertext {
color: #f2f2f2; color: #f2f2f2;
font-size: 12px; font-size: 12px;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: absolute;
top: 0; top: 0;
} }
/* The dots/bullets/indicators */ /* The dots/bullets/indicators */
.dot { .dot {
cursor: pointer; cursor: pointer;
height: 15px; height: 15px;
width: 15px; width: 15px;
margin: 0 2px; margin: 0 2px;
background-color: #bbb; background-color: #bbb;
border-radius: 50%; border-radius: 50%;
display: inline-block; display: inline-block;
transition: background-color 0.6s ease; transition: background-color 0.6s ease;
} }
.active, .dot:hover { .active, .dot:hover {
background-color: #717171; background-color: #717171;
} }
/* Fading animation */ /* Fading animation */
.fade { .fade {
-webkit-animation-name: fade; -webkit-animation-name: fade;
-webkit-animation-duration: 1.5s; -webkit-animation-duration: 1.5s;
animation-name: fade; animation-name: fade;
animation-duration: 1.5s; animation-duration: 1.5s;
} }
@-webkit-keyframes fade { @-webkit-keyframes fade {
from {opacity: .4} from {opacity: .4}
to {opacity: 1} to {opacity: 1}
} }
@keyframes fade { @keyframes fade {
from {opacity: .4} from {opacity: .4}
to {opacity: 1} to {opacity: 1}
} }
/* On smaller screens, decrease text size */ /* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) { @media only screen and (max-width: 300px) {
.prev, .next,.text {font-size: 11px} .prev, .next,.text {font-size: 11px}
} }