mirror of
https://github.com/JonasunderscoreJones/Website-v1.git
synced 2025-10-25 11:39:18 +02:00
moved stylesheets over to new directory
This commit is contained in:
parent
05a2cfda2a
commit
45346b196e
5 changed files with 349 additions and 0 deletions
34
.src/css/assets.css
Normal file
34
.src/css/assets.css
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
.arrow {
|
||||
border: solid black;
|
||||
border-width: 0 4px 4px 0;
|
||||
display: inline-block;
|
||||
padding: 3px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.right {
|
||||
transform: rotate(-45deg);
|
||||
-webkit-transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
.left {
|
||||
transform: rotate(135deg);
|
||||
-webkit-transform: rotate(135deg);
|
||||
}
|
||||
|
||||
.up {
|
||||
transform: rotate(-135deg);
|
||||
-webkit-transform: rotate(-135deg);
|
||||
}
|
||||
|
||||
.down {
|
||||
transform: rotate(45deg);
|
||||
-webkit-transform: rotate(45deg);
|
||||
}
|
||||
|
||||
|
||||
|
||||
.vl {
|
||||
border-left: 6px solid grey;
|
||||
height: 375px;
|
||||
}
|
||||
57
.src/css/footer.css
Normal file
57
.src/css/footer.css
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
footer {
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background-image: url("/.src/misc/footerBg.png");
|
||||
background-size: cover;
|
||||
z-index: -10;
|
||||
padding-top: 100px;
|
||||
}
|
||||
footer a {
|
||||
margin: 5px;
|
||||
background-color: #10335C;
|
||||
}
|
||||
|
||||
|
||||
.contactIconDiv {
|
||||
background-color: gray;
|
||||
width: 31px;
|
||||
border-radius: 5px;
|
||||
padding: 3px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
|
||||
#innerFooterBox {
|
||||
margin: 20%;
|
||||
margin-top: 600px;
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
}
|
||||
#innerFooterBox div {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
|
||||
#toplinks {
|
||||
flex: content;
|
||||
flex-direction: column;
|
||||
}
|
||||
#topLinks a, h1 {
|
||||
background-color: transparent;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
font-size: 30px;
|
||||
}
|
||||
#topLinks div a {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.footer-bar {
|
||||
background-color: black;
|
||||
padding: 0px;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
.footer-bar a {
|
||||
background-color: black;
|
||||
}
|
||||
27
.src/css/header.css
Normal file
27
.src/css/header.css
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
@font-face {
|
||||
font-family: 'sary_soft_semiboldregular';
|
||||
src: url('/.src/font/sary-soft.soft-semibold-webfont.woff2') format('woff2'),
|
||||
url('/.src/font/sary-soft.soft-semibold-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
#header {
|
||||
position: absolute;
|
||||
top: 60;
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
z-index: -1;
|
||||
}
|
||||
#header h1 {
|
||||
font-size: 150px;
|
||||
padding-left: 70px;
|
||||
}
|
||||
|
||||
|
||||
.header a {
|
||||
font-size: 10px;
|
||||
}
|
||||
html {
|
||||
font-family: 'sary_soft_semiboldregular';
|
||||
}
|
||||
25
.src/css/main.css
Normal file
25
.src/css/main.css
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
@font-face {
|
||||
font-family: 'sary_soft_semiboldregular';
|
||||
src: url('/.src/font/sary-soft.soft-semibold-webfont.woff2') format('woff2'),
|
||||
url('/.src/font/sary-soft.soft-semibold-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: 'sary_soft_semiboldregular';
|
||||
background-color: #bababa;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
.body {
|
||||
margin-top: 500px;
|
||||
}
|
||||
|
||||
#headerContent {
|
||||
background-image: url("/.src/assets/misc/headerBg.png");
|
||||
background-position: bottom;
|
||||
background-size: cover;
|
||||
}
|
||||
206
.src/css/topnav.css
Normal file
206
.src/css/topnav.css
Normal file
|
|
@ -0,0 +1,206 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.navbar {
|
||||
overflow: hidden;
|
||||
background-color: #333;
|
||||
font-family: 'sary_soft_semiboldregular';
|
||||
z-index: 9999999;
|
||||
top: 0;
|
||||
}
|
||||
.navbar a, button {
|
||||
float: left;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 14px 16px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.navbar button {
|
||||
background-color: none;
|
||||
}
|
||||
|
||||
.dropmenu {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.navbar a:hover, .dropmenu:hover .dropmenubtn {
|
||||
background-color: #0D6769;
|
||||
}
|
||||
|
||||
.dropmenu-content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.dropmenu-content-content {
|
||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||
padding-bottom: 2px;
|
||||
margin: 5px;
|
||||
margin-top: 10px;
|
||||
background-color: #ccc;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.dropmenu-content .header-mega {
|
||||
background: #0D6769;
|
||||
padding: 16px;
|
||||
color: white;
|
||||
border-radius: 9px 9px 0px 0px;
|
||||
}
|
||||
|
||||
#header-mega-all {
|
||||
background-color: #0E5773;
|
||||
margin: 5px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
#header-mega-all a {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
margin-left: 0px;
|
||||
font-size: 15px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.dropmenu:hover .dropmenu-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Create three equal columns that floats next to each other */
|
||||
.column {
|
||||
float: left;
|
||||
width: 33.33%;
|
||||
padding: 10px;
|
||||
background-color: #ccc;
|
||||
height: 330px;
|
||||
}
|
||||
|
||||
.column a {
|
||||
float: none;
|
||||
color: black;
|
||||
padding: 16px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.column a:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
/* 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 */
|
||||
@media screen and (max-width: 600px) {
|
||||
.column {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.dropdown {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
.navbar a:hover, .dropdown:hover .dropbtn {
|
||||
background-color: #0D6769;
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
min-width: 160px;
|
||||
z-index: 1;
|
||||
margin-top: 49px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.dropdown-content-content {
|
||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||
background-color: #0D6769;
|
||||
margin-top: 10px;
|
||||
padding: 3px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.dropdown-content-content a:hover {
|
||||
color: #0D6769;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.dropdown-content a {
|
||||
float: none;
|
||||
color: black;
|
||||
padding: 12px 16px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dropdown-content a:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
.dropdown:hover .dropdown-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Navbar button style */
|
||||
.navbarbtn, .navbar a{
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
outline: none;
|
||||
color: white;
|
||||
padding: 14px 16px;
|
||||
background-color: inherit;
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
|
||||
.column a {
|
||||
color: #0D6769;
|
||||
}
|
||||
|
||||
.column a:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.expandonhover {
|
||||
float: right;
|
||||
width: 55px;
|
||||
height: 55px;
|
||||
transition: width 0.5s;
|
||||
-webkit-transition: width 0.5s;
|
||||
overflow: hidden;
|
||||
}
|
||||
.navbar:hover .expandonhover {
|
||||
width: 230px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue