Skip to content

Instantly share code, notes, and snippets.

@drhees
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drhees/12f7fe89fb88e0cf47b1 to your computer and use it in GitHub Desktop.
Save drhees/12f7fe89fb88e0cf47b1 to your computer and use it in GitHub Desktop.
perfect arrangement
html, body {
height: 100%;
}
body {
font-family: 'Noto Sans', sans-serif;
font-size: 28px;
line-height: 30px;
color: #000;
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
input, select, textarea, .button {
font-family: 'Noto Sans', sans-serif;
font-size: 14px;
padding: 10px 15px;
border: 1px solid #ceaa60;
background-color: #000;
border-radius: 7px;
width: 90%;
-webkit-appearance: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
color:#FFFFFF;
}
input[type=submit], input[type=button], .button {
font-family: 'Noto Sans', sans-serif;
font-size: 14px;
font-weight: 700;
color: #FFF;
background-color: #ceaa60;
border: none;
border-radius: 3px;
cursor: pointer;
padding: 10px 25px;
display: inline;
width: 90%;
}
input[type=submit]:hover, input[type=button]:hover, .button:hover {
background-color: #C59A43;
}
input[type=checkbox] {
-webkit-appearance: checkbox;
width: auto;
}
input[type=radio] {
-webkit-appearance: radio;
width: auto;
margin-left: 10px;
}
#wrapper {
height: 100%;
width: 100%;
}
#main {
height: 100%;
}
.content {
width: 960px;
margin: 0 auto;
}
.push {
clear: both;
}
.push.top {
padding-top: 100px;
}
.mobile, .mobileSmall {
display: none;
}
.homepage, .waitlist {
min-height: 100%;
background-color: #000;
background-image: url(../img/main-bg.jpg);
background-repeat: no-repeat;
background-position: center top;
background-size: cover;
}
.homepage .content-bg {
margin: 0 auto;
background: rgba(0, 0, 0, 0.3);
border-radius: 5px;
border: 1px solid #343338;
width: 450px;
padding:7px;
position: relative;
margin-top: 62px;
}
.homepage .content {
margin: 0 auto;
background-color: #000;
border-radius: 5px;
border-top: 15px solid #ceaa60;
color: #FFF;
text-align: center;
width: 450px;
font-size: 18px;
opacity: 1;
filter: alpha(opacity=100);
padding-top:45px;
}
.waitlist {
background-color: #f7f6f6;
background-image: none;
}
.waitlist .content {
background-color: #FFF;
width: 100%;
margin: 0 auto;
text-align: center;
padding: 50px 0;
}
.waitlist h1 {
font-size: 44px;
line-height: 0;
margin: 0;
padding: 0;
margin-bottom: 25px;
margin-top: 20px;
color: #ceaa60;
}
.footer {
border-top: 1px solid #cdcbc8;
}
.footer .content {
font-size: 14px;
padding-top: 30px;
padding-bottom: 20px;
background-color: inherit;
text-align: left;
margin: 0 auto;
width: 960px;
}
.highlight {
font-size: 30px;
font-weight: 300;
color: #ceaa60;
line-height:38px;
padding-bottom:10px;
}
.highlight span {
color: #FFF;
}
.footnote {
font-size: 14px;
line-height: 21px;
color: #aaa;
}
.referral-label {
font-size: 26px;
line-height: 0;
}
.referral-url {
font-size: 20px;
line-height: 0;
}
.alignRight {
float: right;
}
label.form_error {
font-size: 14px;
display: block;
color: #F00;
}
.radioUserType {
margin: 0;
padding: 20px 0;
font-size:16px;
}
.radioUserType li {
list-style-type: none;
display: inline;
margin: 0;
padding: 0;
}
.content-area
{
padding: 30px 20px;
}
.content-bg:before
{
background: url(../img/icon.png) no-repeat #000000;
background-position: center;
width: 85px;
height: 85px;
/* padding: 10px; */
border-radius: 999px;
border: 7px solid #ceaa60;
margin: 0 auto;
/* bottom: -69px; */
position: absolute;
content: "";
top: -31px;
display: block;
left: 50%;
margin-left: -42px;
box-sizing: border-box;
}
.signup-text
{
font-size:12px;
color:#ceaa60;
margin:5px;
padding-top:10px;
}
.listing-style
{
font-size:14px;
color:#FFFFFF;
text-align:left;
font-weight:normal;
}
.listing-style li:before
{
background:#98292B;
}
.thanks-text-white
{
font-size:14px;
color:#FFFFFF;
}
.thanks-text-gold
{
font-size: 26px;
font-weight: 300;
color: #ceaa60;
line-height:34px;
padding-top:20px;
margin:0;
}
.social_ul
{
list-style:none;
margin: 0;
padding: 0;
}
.social_ul li {
margin: 0;
padding: 0;
display: inline-block;
padding-right: 5px;
padding-left: 5px;
}
/* Social sharing buttons */
.st_sharethis_custom {
background-image: url(../img/fb_icon.png);
padding: 0;
}
.st_twitter_large_custom {
background: url(../img/twitter_icon.png) no-repeat;
padding: 0;
}
.st_googleplus_large_custom {
background: url(../img/google_icon.png) no-repeat;
padding: 0;
}
/* Anything bigger than the smallest laptop screen ----------- */
@media only screen and (min-width : 1024px) {
/* STYLES GO HERE */
}
/* Anything smaller than laptop screen ----------- */
@media only screen and (max-width : 1024px) {
/* STYLES GO HERE */
.footer .content {
margin-left: 20px !important;
margin-right: 20px !important;
width: auto !important;
}
}
/* Anything smaller than iPad ----------- */
@media only screen and (max-width : 979px) {
/* STYLES GO HERE */
}
/* Anything smaller than Smartphones ----------- */
@media only screen and (max-width : 640px) {
/* STYLES GO HERE */
.mobile {
display: block;
}
body {
font-size: 21px;
}
.homepage .content-bg {
margin-left: 10px;
margin-right: 10px;
width: auto;
}
.push.top {
padding-top: 20px;
}
.content {
width: auto !important;
}
.waitlist .content {
margin-left: 0 !important;
margin-right: 0 !important;
}
.footer .content {
text-align: center;
}
.alignRight {
float: none;
padding-bottom: 10px;
}
.referral-label {
font-size: 21px;
line-height: 21px;
}
.referral-url {
font-size: 14px;
line-height: 14px;
}
}
/* Anything smaller than Smartphones (portrait) ----------- */
@media only screen and (max-width : 360px) {
/* STYLES GO HERE */
input,input[type=submit] {
width: 100%;
}
.waitlist h1 {
font-size: 42px;
}
.mobileSmall {
display: block;
}
.logo {
width: 90%;
}
.footnote {
font-size: 12px;
line-height: 18px;
}
.footer .content {
font-size: 12px;
}
.radioUserType li {
display: block;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment