Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Custom site by John L. Rothra */
- /******************************
- UNIVERSAL STYLES
- ******************************/
- html {
- font-size: 18px;
- font-family: 'Montserrat', Arial, sans-serif;
- }
- body {
- width: 100%;
- margin: 0;
- line-height: 1.5;
- }
- p {
- margin: 0;
- padding-bottom: 1.25em;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- font-family: 'Libre Baskerville', Times New Roman, serif;
- }
- h1 {
- font-size: 3rem;
- }
- h2 {
- font-size: 2rem;
- }
- h3 {
- font-size: 1.75rem;
- }
- h4 {
- font-size: 1.5rem;
- margin: 0;
- padding: 15px 0;
- }
- h5 {
- font-size: 1.25rem;
- }
- h6 {
- font-size: 1rem;
- }
- a,
- a:visited {
- text-decoration: none;
- color: #2e3e9e;
- }
- a:hover,
- a:focus,
- a:active {
- text-decoration: underline;
- }
- /******************************
- HEADER
- ******************************/
- #nav-bar {
- display: flex;
- flex-flow: row nowrap;
- justify-content: space-between;
- padding: 0.7rem;
- }
- #hamburger,
- #logo {
- height: 32px;
- }
- /******************************
- MAIN BODY
- ******************************/
- /* ----- FRONT PAGE CONTENT ----- */
- .fp-body-text {
- font-weight: 200;
- font-size: 1.5rem;
- font-size: 3.4vh;
- line-height: 1.5;
- margin: 0 auto;
- max-width: 800px;
- }
- /* The code for the hover effect is not my own,
- but obtained from http://ianlunn.github.io/Hover/.
- I did, however, modify the code slightly to fit
- my site's color needs. This code us used under the
- free personal license. */
- a.white-button {
- -webkit-transform: perspective(1px) translateZ(0);
- transform: perspective(1px) translateZ(0);
- box-shadow: 0 0 1px transparent;
- position: relative;
- -webkit-transition-property: color;
- transition-property: color;
- -webkit-transition-duration: 0.3s;
- transition-duration: 0.3s;
- color: #fff;
- line-height: 4rem;
- padding: 0.5rem 2rem;
- border: 1px solid #fff;
- font-family: 'Libre Baskerville', Times New Roman, serif;
- text-decoration: none;
- border-radius: 5px;
- }
- a.white-button:before {
- content: "";
- position: absolute;
- z-index: -1;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: #fff;
- -webkit-transform: scaleX(0);
- transform: scaleX(0);
- -webkit-transform-origin: 0 50%;
- transform-origin: 0 50%;
- -webkit-transition-property: transform;
- transition-property: transform;
- -webkit-transition-duration: 0.2s;
- transition-duration: 0.2s;
- -webkit-transition-timing-function: ease-out;
- transition-timing-function: ease-out;
- color: #2E3E9E;
- }
- a.white-button:hover,
- a.white-button:focus,
- a.white-button:active {
- color: #2E3E9E;
- }
- a.white-button:hover:before,
- a.white-button:focus:before,
- a.white-button:active:before {
- -webkit-transform: scaleX(1);
- transform: scaleX(1);
- /* END HOVER EFFECT CODE */
- }
- a.blue-button {
- -webkit-transform: perspective(1px) translateZ(0);
- transform: perspective(1px) translateZ(0);
- box-shadow: 0 0 1px transparent;
- position: relative;
- -webkit-transition-property: color;
- transition-property: color;
- -webkit-transition-duration: 0.3s;
- transition-duration: 0.3s;
- color: #2e3e9e;
- line-height: 4rem;
- padding: 0.5rem 2rem;
- border: 1px solid #2e3e9e;
- font-family: 'Libre Baskerville', Times New Roman, serif;
- text-decoration: none;
- border-radius: 5px;
- }
- a.blue-button:before {
- content: "";
- position: absolute;
- z-index: -1;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: #2e3e9e;
- -webkit-transform: scaleX(0);
- transform: scaleX(0);
- -webkit-transform-origin: 0 50%;
- transform-origin: 0 50%;
- -webkit-transition-property: transform;
- transition-property: transform;
- -webkit-transition-duration: 0.2s;
- transition-duration: 0.2s;
- -webkit-transition-timing-function: ease-out;
- transition-timing-function: ease-out;
- color: #fff;
- }
- a.blue-button:hover,
- a.blue-button:focus,
- a.blue-button:active {
- color: #fff;
- }
- a.blue-button:hover:before,
- a.blue-button:focus:before,
- a.blue-button:active:before {
- -webkit-transform: scaleX(1);
- transform: scaleX(1);
- /* END HOVER EFFECT CODE */
- }
- /* -- Hero Area -- */
- #hero-area { /* I used IDs vs classes because these areas will only be used once */
- display: flex;
- flex-flow: column nowrap;
- justify-content: space-between;
- background-image: url(../img/John-BW-ColorShirt-1920x1080.jpg);
- background-position: center;
- background-size: cover;
- width: 100%;
- height: 100vh;
- }
- #down-arrow {
- height: 64px;
- }
- #hero-name-area {
- margin: 0 auto;
- color: #fff;
- font-family: 'Libre Baskerville', Times New Roman, serif;
- }
- #hero-name-area h1 {
- padding-top: 5.5em;
- padding-left: 1rem;
- padding-right; 1rem;
- font-size: 5rem;
- font-size: 7vh;
- }
- #hero-blurb-area {
- padding-left: 1rem;
- padding-right: 1rem;
- color: #fff;
- text-align: center;
- font-weight: 200;
- font-size: 4vh;
- }
- #hero-arrow-area {
- align-self: center;
- }
- /* -- My Story Area -- */
- #fp-my-story {
- background-image: linear-gradient(
- to right,
- #263382, #5461af
- );
- /* margin: 0;*/
- padding: 0.1em 4rem 0 4rem;
- text-align: center;
- color: #fff;
- }
- /* -- Latest Blog Area -- */
- #fp-blogroll {
- background-color: #fff;
- padding: 0.5rem 0.7rem 0.7rem 0.7rem;
- font-weight: 400;
- text-align: center;
- }
- .blogroll-flexbox {
- display: flex;
- flex-flow: row wrap;
- justify-content: center;
- }
- .blog-post {
- min-width: 300px;
- width: 30%;
- padding: 0;
- margin: 20px;
- }
- .entry-thumb img {
- border-radius: 15px;
- width: 90%;
- }
- /* -- YouTube Featured Vid Area -- */
- #fp-youtube {
- /* Parallax start */
- background-image: url('../img/SkyGeometric.jpg');
- background-attachment: fixed;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- /* Parallax end */
- padding: 0.5rem 0.7rem 0.7rem 0.7rem;
- color: #fff;
- margin: 0 auto;
- text-align: center;
- }
- #youtube-flexbox {
- display: flex;
- flex-flow: row wrap;
- padding: 0 2.5%;
- }
- .video-container {
- position: relative;
- padding-bottom: 50%;
- padding-top: 0;
- height: 0;
- overflow: hidden;
- width: 90%;
- margin: 2.5% auto;
- background-color: #ddd;
- }
- .video-container iframe,
- .video-container object,
- .video-container embed {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- @media all and (min-width: 665px) {
- .video-container {
- width: 480px;
- padding-bottom: 270px;
- justify-content: space-between;
- }
- }
- /* -- Multiple IDs on Front Page --*/
- #fp-my-story h2,
- #fp-blogroll h2,
- #fp-youtube h2 {
- font-family: 'Libre Baskerville', Times New Roman, serif;
- font-size: 5rem;
- font-size: 5vh;
- }
- /******************************
- FOOTER
- ******************************/
- footer {
- background-color: #0c0c16;
- padding: 0.5rem 0.7rem 0.7rem 0.7rem;
- color: #fff;
- }
- #footer-container {
- font-size: 0.9rem;
- text-align: center;
- font-weight: 200;
- }
- #footer-container h3 {
- font-family: 'Libre Baskerville', Times New Roman, serif;
- font-size: 1.2rem;
- }
- #footer-flexbox {
- display: flex;
- flex-flow: row wrap;
- justify-content: space-around;
- align-items: flex-start;
- }
- .footer-area {
- flex: 0 1 auto;
- padding: 5px 20px;
- }
- .footer-content {
- display: flex;
- flex-flow: row wrap;
- justify-content: space-around;
- }
- .footer-content-contact {
- padding: 0 15px 15px 15px;
- }
- .footer-social-icons {
- padding: 0 10px 20px 10px;
- height: 2.5rem;
- }
- .footer-contact-icons {
- height: 1.5em;
- vertical-align: middle;
- padding-right: 10px;
- }
- #copyright {
- margin-top: 2rem;
- font-weight: 200;
- font-size: 0.7rem;
- }
Advertisement
Add Comment
Please, Sign In to add comment