Created
December 30, 2021 08:11
-
-
Save wpsyed/f3557a81b5b63999ccce020cb2242635 to your computer and use it in GitHub Desktop.
My GeneratePress Travel Site CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* GeneratePress Site CSS */ /* hide the topbar on mobile devices */ | |
@media (max-width: 768px) { | |
.top-bar { | |
display: none; | |
} | |
} | |
/* rule under top bar */ | |
.top-bar { | |
border-bottom: solid 1px rgba(109,159,170,1.0); | |
} | |
/* navigation top and bottom rules */ | |
#site-navigation { | |
border-top: solid 1px rgba(109,159,170,1.0); | |
border-bottom: solid 1px rgba(109,159,170,1.0); | |
} | |
/* mailchimp plugin styling */ | |
.mc4wp-form input[type=email] { | |
background-color: #ffffff; | |
line-height: 34px; | |
border: 0px; | |
border-radius: 4px; | |
width: 100%; | |
} | |
.mc4wp-form input[type=submit] { | |
line-height: 34px; | |
border: 0px; | |
border-radius: 4px; | |
margin: 10px 0px; | |
width: 100%; | |
transition: all 0.5s ease 0s; | |
} | |
/* End GeneratePress Site CSS */ | |
/* fix alignfull class too wide */ | |
body { | |
overflow-x: hidden; | |
} | |
::selection { | |
background-color: #FFFFFF; | |
color: ; | |
} | |
@media (min-width: 769px) { | |
.site-content { | |
display: flex; | |
} | |
.inside-right-sidebar { | |
height: 100%; | |
} | |
.inside-right-sidebar aside:last-child { | |
position: -webkit-sticky; | |
position: sticky; | |
top: 50px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment