brancher/css/styles.css
2020-07-03 13:08:07 -04:00

258 lines
6.1 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Cardo&family=Montserrat:wght@500;600&display=swap");
@font-face {
font-family: "Gotham-Bold";
src: url("fonts/Gotham-Bold.otf"); }
@font-face {
font-family: "Sans-Thin";
src: url("fonts/Sans-Thin.otf"); }
@font-face {
font-family: "Futura";
src: url("fonts/futura-pt-light.otf"); }
.main_h {
position: fixed;
max-height: 70px;
z-index: 999;
width: 100%;
padding-top: 17px;
background: black;
/*linear-gradient(to bottom, #0D1821 44%, #B4CDED 66%); old gradient, back is cleaner imo - josh*/
;
overflow: hidden;
-webkit-transition: all 0.3s;
transition: all 0.3s;
padding-bottom: 6px;
font-family: "Montserrat", sans-serif; }
@media only screen and (max-width: 766px) {
.main_h {
padding-top: 25px; } }
.open-nav {
max-height: 400px !important; }
.open-nav .mobile-toggle {
transform: rotate(-90deg);
-webkit-transform: rotate(-90deg); }
.logo {
height: 40px;
display: inline;
float: left;
margin-top: -5px; }
@media only screen and (max-width: 766px) {
.logo {
float: none; } }
nav {
float: right;
width: 80%;
display: inline;
padding-right: 30px; }
@media only screen and (max-width: 766px) {
nav {
width: 100%; } }
nav ul {
list-style: none;
overflow: hidden;
text-align: right;
float: right; }
@media only screen and (max-width: 766px) {
nav ul {
padding-top: 10px;
margin-bottom: 22px;
float: left;
text-align: center;
width: 100%; } }
nav ul li {
display: inline-block;
margin-left: 35px;
line-height: 1.5; }
@media only screen and (max-width: 766px) {
nav ul li {
width: 100%;
padding: 7px 0;
margin: 0; } }
nav ul a {
color: #FFFFFF;
text-transform: uppercase;
font-size: 14px;
font-weight: 500;
transition: .3s; }
nav ul a:hover {
color: #ffd1dc;
font-size: 15px;
text-decoration: none; }
.mobile-toggle {
display: none;
cursor: pointer;
font-size: 20px;
float: right;
right: 22px;
top: 0;
width: 30px;
-webkit-transition: all 200ms ease-in;
-moz-transition: all 200ms ease-in;
transition: all 200ms ease-in; }
@media only screen and (max-width: 766px) {
.mobile-toggle {
display: block; } }
.mobile-toggle span {
width: 30px;
height: 4px;
margin-bottom: 6px;
border-radius: 1000px;
background: #8f8f8f;
display: block; }
.row {
display: inline;
width: 100%;
max-width: 940px;
margin: 0 auto;
position: relative;
padding: 0 2%; }
* {
box-sizing: border-box; }
body {
//color: #8f8f8f;
//background: white;
color: white;
background-image: radial-gradient(circle, #070707 0%, #070707 100%);
font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-weight: 300;
-webkit-font-smoothing: antialiased; }
a {
text-decoration: none; }
h1 {
font-size: 30px;
line-height: 1.8;
text-transform: uppercase;
font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
p {
margin-bottom: 20px;
font-size: 17px;
line-height: 2; }
.content {
padding: 50px 2% 250px; }
.hero {
position: relative;
background: #333 url(res/branch_big.svg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
background-attachment: local;
<<<<<<< HEAD
<<<<<<< HEAD
color: #FFFFFF;
=======
=======
>>>>>>> 3137fbe05e3d8f0ce8c66848913714aae94a4ff0
body {
animation: 10000ms ease-in-out infinite color-change;
}
<<<<<<< HEAD
>>>>>>> 362401d662a29cb198c7c00b361d9d098c08fc9b
=======
>>>>>>> 3137fbe05e3d8f0ce8c66848913714aae94a4ff0
padding-top: 70px;
min-height: 100vh;
letter-spacing: 2px;
font-family: "Montserrat", sans-serif; }
.hero h2 {
font-family: "Gotham-Bold", "Montserrat", sans-serif; }
.hero #bottomRight {
bottom: 0;
right: 0;
text-align: right;
position: absolute; }
.scroll-text {
height: 76.8px;
overflow: hidden; }
@-webkit-keyframes scroll {
0% {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0); }
100% {
opacity: 0;
-webkit-transform: translateY(20px);
transform: translateY(20px); } }
@keyframes scroll {
0% {
opacity: 1;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0); }
100% {
opacity: 0;
-webkit-transform: translateY(20px);
-ms-transform: translateY(20px);
transform: translateY(20px); } }
/*# sourceMappingURL=styles.css.map */
/* The side navigation menu */
.sidenav {
height: 100%; /* 100% Full-height */
width: 0; /* 0 width - change this with JavaScript */
position: fixed; /* Stay in place */
z-index: 1; /* Stay on top */
top: 0; /* Stay at the top */
right: 0;
background-color: #111; /* Black*/
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 60px; /* Place content 60px from the top */
transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}
/* The navigation menu links */
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
transition: 0.3s;
}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
color: #f1f1f1;
}
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
transition: margin-left .5s;
padding: 20px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}