Skip to content

Instantly share code, notes, and snippets.

@imrizzy
Created July 27, 2016 02:50
Show Gist options
  • Save imrizzy/e91e235cf3a4fc5e97dd8b952ba0484d to your computer and use it in GitHub Desktop.
Save imrizzy/e91e235cf3a4fc5e97dd8b952ba0484d to your computer and use it in GitHub Desktop.
Practice 2
//http://www.galaxytaco.com/
@import url(https://fonts.googleapis.com/css?family=Fjalla+One:400);
/* latin-ext */
@font-face {
font-family: 'Fjalla One';
font-style: normal;
font-weight: 400;
src: local('Fjalla One'), local('FjallaOne-Regular'), url(https://fonts.gstatic.com/s/fjallaone/v4/SHXJdWnWW6HDq-6DpcG8PwsYbbCjybiHxArTLjt7FRU.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Fjalla One';
font-style: normal;
font-weight: 400;
src: local('Fjalla One'), local('FjallaOne-Regular'), url(https://fonts.gstatic.com/s/fjallaone/v4/rxxXUYj4oZ6Q5oDJFtEd6gzyDMXhdD8sAj6OAJTFsBI.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
.sans {
font-family: Arial,Helvetica,sans-serif;
font-weight: 700;
-webkit-font-smoothing: antialiased;
}
.z-one {
z-index: 1;
}
.menu {
z-index: 2;
position: relative;
list-style-type: none;
margin-top: 0;
margin-bottom: 40px;
}
.menu .main-nav {
padding: 0 10px;
margin: 0 0 10px 0;
overflow: hidden;
float: right;
background: rgba(0,0,0,0.4);
list-style-type: none;
}
.menu .main-nav li {
float: left;
margin: 0 10px;
padding: 0 10px;
font-size: 15px;
line-height: 40px;
}
.menu .sub-nav {
list-style-type: none;
padding: 0 10px;
margin: 0;
overflow: hidden;
float: right;
border-right: 1px solid white;
letter-spacing: 1px;
}
.menu .sub-nav li {
font-size: 10px;
float: left;
margin: 5px 5px;
padding: 0 5px;
}
.menu .social-media {
float: right;
padding: 0;
margin: 0;
}
.menu .social-media li {
list-style-type: none;
display: inline-block;
padding: 0 2px;
}
.menu .social-media .fa-facebook:hover {
color: #de7626;
}
.menu .social-media .fa-twitter:hover {
color: #de7626;
}
.menu .social-media .fa-instagram:hover {
color: #de7626;
}
.menu .social-media .fa-facebook {
color: white;
padding: 0 0 0 10px;
}
.menu .social-media .fa-twitter {
color: white;
}
.menu .social-media .fa-instagram {
color: white;
}
.menu li a {
display: block;
text-align: center;
text-decoration: none;
color: white;
}
.menu li a:hover {
color: #de7626;
}
body {
background-image: url("http://www.galaxytaco.com/sites/all/themes/galaxytaco/images/background1.jpg");
background-size: cover;
background-repeat: no-repeat;
font-family: 'Fjalla One', sans-serif;
font-weight: 400;
overflow: auto;
border: 1px solid white;
position: relative;
}
.clear {
clear: both;
}
.logo {
background-size: cover;
opacity: 0.85;
position: absolute;
top: -10px;
padding: 0;
margin: 0;
height: 200px;
float: left;
display: block;
}
.content {
display: block;
margin-left: auto;
margin-right: auto;
width: 600px;
margin-bottom: 100px;
}
.content .blurb-wrapper {
margin-left: 50%;
}
.content .blurb-wrapper .description {
font-size: 13px;
color: white;
letter-spacing: 0.5px;
}
.img-spanish {
float: left;
width: 100%;
margin: 0 0 20px 0;
}
.selling-point {
display: block;
vertical-align: bottom;
}
.selling-point .img-seal {
float: left;
margin: 0;
padding: 0;
width: 30%;
}
.selling-point .img-press {
margin: 0;
padding: 0;
width: 70%;
}
.footer {
background: rgba(0,0,0,0.4);
list-style-type: none;
font-size: 15px;
color: white;
padding: 20px 0;
position: absolute;
left: 0;
right: 0;
bottom: 0;
}
.footer .footer-container {
width: 80%;
margin-left: auto;
margin-right: auto;
display: block;
}
/* .footer .footer-container .img-winner {
float: left;
width: 5%;
border: 1px solid white;
} */
.footer-style {
float: left; //this is how to get everything in line with each other instead of stacked, don't need display styling for this
//padding: 50px 0;
//margin: 0 20px;
text-align: center;
}
.footer .footer-container .location {
width: 30%;
float: left;
}
.footer .footer-container .location .title {
margin-right: 10px;
}
.footer .footer-container .location .address {
font-size: 10px;
line-height: 10px;
}
.footer .footer-container .phone {
width: 30%;
}
.footer .footer-container .phone .title {
float: left;
margin-right: 10px;
}
.footer .footer-container .phone .pn {
font-size: 18px;
float: left;
}
.footer .footer-container .signup {
width: 30%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment