(Replaced content with "{{Template:BIT-China/css-styles}}") |
|||
Line 1: | Line 1: | ||
{{Template:BIT-China/css-styles}} | {{Template:BIT-China/css-styles}} | ||
+ | {{Template:BIT-China/css-queries}} |
Revision as of 02:42, 29 June 2018
/* ! normalize.css v1.0.0 | MIT License | git.io/normalize */
/* ========================================================================== HTML5 display definitions ========================================================================== */
/* * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3. */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
display: block;
} /* * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. */ audio, canvas, video {
display: inline-block; *display: inline; *zoom: 1;
} /* * Prevents modern browsers from displaying `audio` without controls.
- Remove excess height in iOS 5 devices. */
audio:not([controls]) {
display: none; height: 0;
} /* * Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3, * and Safari 4.
- Known issue:no IE 6 support. */
[hidden] {
display: none;
} /* ========================================================================== Base ========================================================================== */ /* * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
- `em` units.
- 2. Prevents iOS text size adjust after orientation change, without disabling
- user zoom. */
html {
font-size: 100%; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ -ms-text-size-adjust: 100%; /* 2 */
}
html, html a {
-webkit-font-smoothing: antialiased; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
} /* * Addresses `font-family` inconsistency between `textarea` and other form
- elements. */
button, html, input, select, textarea {
font-family: 'Varela Round', sans-serif;
} /* * Addresses margins handled incorrectly in IE 6/7. */ body {
margin: 0; font-family: 'Varela Round', sans-serif;
} /* ========================================================================== Links ========================================================================== */ /* * Addresses `outline` inconsistency between Chrome and other browsers. */ a:focus {
outline: thin dotted;
} /* * Improves readability when focused and also mouse hovered in all browsers. */ a:active, a:hover {
outline: 0;
} /* ========================================================================== Typography ========================================================================== */ /* * Addresses font sizes and margins set differently in IE 6/7.
- Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5, * and Chrome. */
h1 {
font-size: 2em; margin: .67em 0; color: #353535;
}
h2 {
font-size: 1.5em; margin: .83em 0;
}
h3 {
font-size: 1.17em; margin: 1em 0;
}
h4 {
font-size: 1em; margin: 1.33em 0;
}
h5 {
font-size: .83em; margin: 1.67em 0;
}
h6 {
font-size: .75em; margin: 2.33em 0;
} /* * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome. */ abbr[title] {
border-bottom: 1px dotted;
} /* * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. */ b, strong {
font-weight: bold;
}
blockquote {
margin: 1em 40px;
} /* * Addresses styling not present in Safari 5 and Chrome. */ dfn {
font-style: italic;
} /* * Addresses styling not present in IE 6/7/8/9. */ mark {
background: #ff0; color: #000;
} /* * Addresses margins set differently in IE 6/7. */ p, pre {
margin: 1em 0;
} /* * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome. */ code, kbd, pre, samp {
font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em;
} /* * Improves readability of pre-formatted text in all browsers. */ pre {
white-space: pre; white-space: pre-wrap; word-wrap: break-word;
} /* * Addresses CSS quotes not supported in IE 6/7. */ q {
quotes: none;
} /* * Addresses `quotes` property not supported in Safari 4. */ q:after, q:before {
content: ; content: none;
}
small {
font-size: 75%;
} /* * Prevents `sub` and `sup` affecting `line-height` in all browsers. */ sub, sup {
font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
} /* ========================================================================== Lists ========================================================================== */ /* * Addresses margins set differently in IE 6/7. */
dl, menu, ol, ul {
margin: 1em 0;
}
dd {
margin: 0 0 0 40px;
} /* * Addresses paddings set differently in IE 6/7. */ menu, ol, ul {
padding: 0 0 0 40px;
} /* * Corrects list images handled incorrectly in IE 7. */ nav ol, nav ul {
list-style: none; list-style-image: none;
} /* ========================================================================== Embedded content ========================================================================== */ /* * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3.
- 2. Improves image quality when scaled in IE 7. */
img {
border: 0; /* 1 */ -ms-interpolation-mode: bicubic; /* 2 */
} /* * Corrects overflow displayed oddly in IE 9. */ svg:not(:root) {
overflow: hidden;
} /* ========================================================================== Figures ========================================================================== */ /* * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11. */
figure {
margin: 0;
} /* ========================================================================== Forms ========================================================================== */ /* * Corrects margin displayed oddly in IE 6/7. */
form {
margin: 0;
} /* * Define consistent border, margin, and padding. */ fieldset {
border: 1px solid #c0c0c0; margin: 0 2px; padding: .35em .625em .75em;
} /* * 1. Corrects color not being inherited in IE 6/7/8/9.
- 2. Corrects text not wrapping in Firefox 3.
- 3. Corrects alignment displayed oddly in IE 6/7. */
legend {
border: 0; /* 1 */ padding: 0; white-space: normal; /* 2 */ *margin-left: -7px; /* 3 */
} /* * 1. Corrects font size not being inherited in all browsers.
- 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5, * and Chrome.
- 3. Improves appearance and consistency in all browsers. */
button, input, select, textarea {
font-size: 100%; /* 1 */ margin: 0; /* 2 */ vertical-align: baseline; /* 3 */ *vertical-align: middle; /* 3 */
} /* * Addresses Firefox 3+ setting `line-height` on `input` using ` !important` in
- the UA stylesheet. */
button, input {
line-height: normal;
} /* * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
- and `video` controls.
- 2. Corrects inability to style clickable `input` types in iOS.
- 3. Improves usability and consistency of cursor style between image-type
- `input` and others.
- 4. Removes inner spacing in IE 7 without affecting normal text inputs.
- Known issue:inner spacing remains in IE 6. */
button, html input[type="button"], /* 1 */ input[type="reset"], input[type="submit"] {
-webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ *overflow: visible; /* 4 */
} /* * Re-set default cursor for disabled elements. */ button[disabled], input[disabled] {
cursor: default;
} /* * 1. Addresses box sizing set to content-box in IE 8/9.
- 2. Removes excess padding in IE 8/9.
- 3. Removes excess padding in IE 7.
- Known issue:excess padding remains in IE 6. */
input[type="checkbox"], input[type="radio"] {
box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ *height: 13px; /* 3 */ *width: 13px; /* 3 */
} /* * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
- 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
- (include `-moz` to future-proof). */
input[type="search"] {
-webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box;
} /* * Removes inner padding and search cancel button in Safari 5 and Chrome
- on OS X. */
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
} /* * Removes inner padding and border in Firefox 3+. */ button::-moz-focus-inner, input::-moz-focus-inner {
border: 0; padding: 0;
} /* * 1. Removes default vertical scrollbar in IE 6/7/8/9.
- 2. Improves readability and alignment in all browsers. */
textarea {
overflow: auto; /* 1 */ vertical-align: top; /* 2 */
} /* ========================================================================== Tables ========================================================================== */ /* * Remove most spacing between table cells. */ table {
border-collapse: collapse; border-spacing: 0;
} /* ========================================================================== Global Styles ========================================================================== */ a {
color: #353535; -webkit-transition: all .5s; -moz-transition: all .5s; -o-transition: all .5s; transition: all .5s;
}
a:focus, a:hover {
color: #3dc9b3; text-decoration: none;
}
p {
color: #8c9398; word-spacing: 1px; line-height: 25px; font-size: 14px;
}
h2 {
font-size: 15px; color: #353535; text-transform: uppercase; font-weight: bold;
}
h2::after {
content: " "; border: solid 2px #3dc9b3; display: block; width: 35px; margin: 25px auto;
}
.section-padding {
padding: 90px 0 100px;
}
.dark-bg {
background: #f3f5f8;
}
.light-bg {
background-color: #fff;
}
.dark-box {
background: #f3f5f8; -webkit-box-shadow: 0 3px 0 0 #f0f2f4; -moz-box-shadow: 0 3px 0 0 #f0f2f4; box-shadow: 0 3px 0 0 #f0f2f4;
}
.light-box {
background-color: #fff; -webkit-box-shadow: 0 3px 0 0 #f0f2f4; -moz-box-shadow: 0 3px 0 0 #f0f2f4; box-shadow: 0 3px 0 0 #f0f2f4; padding: 20px 0;
}
.light-box:focus, .light-box:hover {
-webkit-box-shadow: 0 3px 0 0 #3dc9b3; -moz-box-shadow: 0 3px 0 0 #3dc9b3; box-shadow: 0 3px 0 0 #3dc9b3;
}
.box-hover {
transition: all 500ms ease-in-out; -webkit-transition: all 500ms ease-in-out; -moz-transition: all 500ms ease-in-out; -o-transition: all 500ms ease-in-out;
}
.box-hover:focus, .box-hover:hover {
transform: translate(0, -15px); -webkit-transform: translate(0, -15px); -ms-transform: translate(0, -15px);
}
.wrapper {
height: 650px;
}
.nopadding {
padding: 0;
}
.inner {
padding-top: 170px;
} /* ========================================================================== Navigation ========================================================================== */ nav {
background-color: #242830; margin-top: -1px;
}
nav ul {
list-style: none; padding: 0;
}
nav ul li {
color: rgba(255, 255, 255, 0.6); display: block; border-bottom: 1px dotted rgba(255, 255, 255, 0.2); transition: all .5s ease; -moz-transition: all .5s ease; -webkit-transition: all .5s ease; -o-transition: all .5s ease; padding-left: 0; position: relative;
}
nav ul li:last-child {
border: none;
}
nav ul li a {
color: rgba(255, 255, 255, 0.6); display: block; padding: 20px; transition: all .5s ease; -moz-transition: all .5s ease; -webkit-transition: all .5s ease; -o-transition: all .5s ease; padding-left: 0; position: relative;
}
nav ul li a:focus, nav ul li a:hover {
text-decoration: none; color: rgba(255, 255, 255, 1);
}
- nav-toggle {
position: absolute; right: 15px; top: 0;
}
- nav-toggle {
cursor: pointer; padding: 10px 35px 16px 0;
}
- nav-toggle span,
- nav-toggle span:after,
- nav-toggle span:before {
cursor: pointer; border-radius: 1px; -moz-border-radius: 1px; -webkit-border-radius: 1px; -o-border-radius: 1px; height: 5px; width: 35px; background: #353535; position: absolute; display: block; content: ;
}
- nav-toggle span:before {
top: -10px;
}
- nav-toggle span:after {
bottom: -10px;
}
- nav-toggle span,
- nav-toggle span:after,
- nav-toggle span:before {
transition: all 500ms ease-in-out; -webkit-transition: all 500ms ease-in-out; -moz-transition: all 500ms ease-in-out; -o-transition: all 500ms ease-in-out;
}
- nav-toggle.active span {
background-color: transparent;
}
- nav-toggle.active span:after,
- nav-toggle.active span:before {
top: 0;
}
- nav-toggle.active span:before {
transform: rotate(45deg); -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg);
}
- nav-toggle.active span:after {
transform: translateY(-10px) rotate(-45deg); -webkit-transform: translateY(-10px) rotate(-45deg); -ms-transform: translateY(-10px) rotate(-45deg); top: 10px;
}
.navicon {
position: relative; height: 26px;
}
.indicator {
position: absolute; right: 0 !important;
}
.pull {
display: none;
} /* ========================================================================== Hero ========================================================================== */ .hero {
background: url('https://static.igem.org/mediawiki/2018/9/9f/T--BIT-China--iGEM2018_temp_hero_bg.jpg') no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; padding: 65px 0 300px; height: auto;
}
.hero h1 {
font-size: 40px; letter-spacing: 12px; margin: 10px;
}
.hero h1 span {
color: #a1a9b0; display: inline-block;
}
.hero p {
letter-spacing: 1px;
}
.learn-more-btn {
background: rgba(61, 201, 179, 1); padding: 20px 40px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; color: #fff; text-transform: uppercase; letter-spacing: 1px; display: inline-block; -webkit-box-shadow: 0 3px 0 0 #309383; -moz-box-shadow: 0 3px 0 0 #309383; box-shadow: 0 3px 0 0 #309383; margin: 60px 0 0; font-weight: bold;
}
.learn-more-btn:focus, .learn-more-btn:hover {
background: rgba(61, 201, 179, 0.6); color: #fff;
} /* ========================================================================== Intro ========================================================================== */ .intro {
background: #f3f5f8;
}
.intro p {
margin: 50px 0 0;
}
h1.arrow {
font-size: 15px; text-transform: uppercase; color: #353535; letter-spacing: 1px; background: url('https://static.igem.org/mediawiki/2018/f/f6/T--BIT-China--iGEM2018_h1_bg.png') no-repeat center bottom; padding-bottom: 30px; font-weight: bold;
} /* ========================================================================== Features ========================================================================== */ .features-wrapper, .team-wrapper {
margin: 70px 0 0;
}
.shadow {
text-shadow: rgb(55, 181, 161) 1px 1px, rgb(55, 181, 161) 2px 2px, rgb(55, 181, 161) 3px 3px, rgb(55, 181, 161) 4px 4px, rgb(55, 181, 161) 5px 5px, rgb(55, 181, 161) 6px 6px, rgb(55, 181, 161) 7px 7px, rgb(55, 181, 161) 8px 8px, rgb(55, 181, 161) 9px 9px, rgb(55, 181, 161) 10px 10px, rgb(55, 181, 161) 11px 11px, rgb(55, 181, 161) 12px 12px, rgb(55, 182, 162) 13px 13px, rgb(55, 183, 163) 14px 14px, rgb(56, 184, 164) 15px 15px, rgb(56, 185, 165) 16px 16px, rgb(56, 186, 166) 17px 17px, rgb(57, 187, 167) 18px 18px, rgb(57, 188, 168) 19px 19px, rgb(57, 189, 169) 20px 20px, rgb(58, 191, 170) 21px 21px, rgb(58, 192, 171) 22px 22px, rgb(58, 193, 172) 23px 23px, rgb(59, 194, 173) 24px 24px, rgb(59, 195, 174) 25px 25px, rgb(59, 196, 175) 26px 26px, rgb(60, 197, 176) 27px 27px, rgb(60, 198, 177) 28px 28px, rgb(60, 199, 178) 29px 29px, rgb(61, 201, 179) 30px 30px;
}
.icon {
height: 175px; width: 175px; line-height: 175px; max-width: 100%; background: #3dc9b3; border-radius: 50%; -o-border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; display: block; color: #fff; font-size: 55px; text-align: center; vertical-align: middle; position: relative; margin: 0 auto 50px;
} /* ========================================================================== iPhone Section ========================================================================== */ .iphone {
width: 50%; background: #f3f5f8; float: left; height: 100%; box-shadow: inset -15px -11px 40px -6px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset -15px -11px 40px -6px rgba(0, 0, 0, 0.1); -webkit-box-shadow: inset -15px -11px 40px -6px rgba(0, 0, 0, 0.1); z-index: 1;
}
.fluid-white {
width: 50%; background: #fff; float: right; height: 100%; z-index: 2;
}
.responsive-services {
position: relative;
} /* ========================================================================== Swag ========================================================================== */ .swag {
-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-attachment: fixed; padding: 50px 0;
}
.swag h1 {
color: #fff; font-size: 40px; text-transform: uppercase; letter-spacing: 5px;
}
.swag h1 span {
display: block; font-size: 25px; margin-top: 20px;
}
.down-arrow-btn {
width: 40px; height: 40px; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; -o-border-radius: 50%; background: rgba(61, 201, 179, 0.8); display: inline-block; margin: 10px auto 20px; color: #fff; font-size: 16px; line-height: 40px; text-align: center;
}
.down-arrow-btn:focus, .down-arrow-btn:hover {
color: #fff; background: rgba(61, 201, 179, 1);
} /* ========================================================================== Portfolio ========================================================================== */ .effects {
padding-left: 15px;
}
.effects .img {
position: relative; margin-bottom: 50px; position: relative; z-index: 1; overflow: hidden;
}
.effects .img:nth-child(n) {
margin-right: 5px;
}
.effects .img:first-child {
margin-left: -15px;
}
.effects .img:last-child {
margin-right: 0;
}
.effects .img img {
display: block; margin: 0; padding: 0; height: auto;
}
.overlay {
display: block; position: absolute; z-index: 20; background: rgba(100, 194, 158, 0.8); overflow: hidden; transition: all .5s; -webkit-transition: all .5s; -moz-transition: all .5s; -o-transition: all .5s;
}
a.close-overlay {
display: block; position: absolute; top: 0; right: 0; z-index: 100; width: 45px; height: 45px; font-size: 20px; font-weight: 700; color: #fff; line-height: 45px; text-align: center; background-color: #000; cursor: pointer;
}
a.close-overlay.hidden {
display: none;
}
a.expand {
display: block; position: absolute; z-index: 100; text-align: center; color: #fff; font-weight: 600; font-size: 14px; text-transform: uppercase; line-height: 30px;
}
.overlay-effect .img i {
font-size: 30px;
}
.overlay-effect .overlay {
bottom: 0; left: 0; right: 0; width: 100%; height: 100%; opacity: 0;
}
.overlay-effect .overlay a.expand {
left: 0; right: 0; bottom: 47%; margin: 0 auto -30px;
}
.overlay-effect .img.hover .overlay {
height: 100%; opacity: 1;
}
.img img {
width: -webkit-calc(100% + 40px) !important; width: calc(100% + 40px) !important; -webkit-transition: opacity .35s, -webkit-transform .35s; transition: opacity .35s, transform .35s; -moz-transition: opacity .35s, -moz-transform .35s; -o-transition: opacity .35s, -o-transform .35s; -webkit-transform: translate3d(-40px, 0, 0); transform: translate3d(-40px, 0, 0); -ms-transform: translate3d(-40px, 0, 0);
}
.img:hover img {
-webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -ms-transform: translate3d(-40px, 0, 0);
}
.designs {
position: absolute; left: 0; right: 0; margin-left: auto; margin-right: auto; top: 50px;
} /* ========================================================================== Subscribe ========================================================================== */ .subscribe {
background: url('../img/keyboard-bg.jpg') no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-attachment: fixed; padding: 120px 0 140px;
}
.subscribe h1 {
color: #fff; margin-bottom: 40px;
}
.subscribe h1 span {
display: block; font-size: 15px; text-transform: uppercase; font-weight: bold; margin-top: 20px; letter-spacing: 1px;
}
.subscribe input[type=text] {
background-color: rgba(255, 255, 255, 0.1); border: solid 1px #fff; padding: 20px; width: 30%; color: #fff;
}
.subscribe input[type=submit] {
background: rgba(61, 201, 179, 0.5); border: solid 1px rgba(61, 201, 179, 0.5); padding: 20px; color: #fff; text-transform: uppercase; letter-spacing: 1px; transition: all .5s ease; -moz-transition: all .5s ease; -webkit-transition: all .5s ease; -o-transition: all .5s ease;
}
.subscribe input[type=submit]:hover {
background: rgba(61, 201, 179, 1); border: solid 1px rgba(61, 201, 179, 1); color: #fff;
} /* ========================================================================== CTA ========================================================================== */ .ignite-cta {
background-color: #242830; padding: 70px 0;
}
.ignite-btn {
display: inline-block; padding: 25px 40px; color: #fff; border: solid 1px #fff; text-transform: uppercase; font-weight: bold; letter-spacing: 1px;
}
.ignite-btn:focus, .ignite-btn:hover {
color: #3dc9b3; border: solid 1px #3dc9b3;
} /* ========================================================================== Team ========================================================================== */ .team img {
margin-bottom: 40px;
}
ul.social-buttons {
list-style: none; margin: 0; padding: 0;
}
ul.social-buttons li {
display: inline-block; margin-right: 10px;
}
ul.social-buttons li:last-child {
margin-right: 0;
}
.social-btn {
width: 40px; height: 40px; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; -o-border-radius: 50%; background: #242830; display: inline-block; color: #fff; font-size: 17px; line-height: 40px; text-align: center;
}
.social-btn:focus, .social-btn:hover {
background: #3dc9b3; color: #fff;
}
.social {
margin-top: 25px;
} /* ========================================================================== Contact ========================================================================== */ .up-btn {
width: 50px; height: 50px; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; -o-border-radius: 50%; background: rgba(61, 201, 179, 0.5); display: block; margin: 0 auto; color: #fff; font-size: 18px; line-height: 46px; text-align: center; position: absolute; top: -26px; left: 0; right: 0; margin-left: auto; margin-right: auto;
}
.up-btn:hover, up-btn:focus {
color: #fff; background: rgba(61, 201, 179, 1);
}
.contact-details {
margin: 70px 0;
}
.contact-details h2 {
font-size: 20px;
}
.contact-details h2 span {
display: block; color: #3dc9b3; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; margin-top: 15px;
}
.contact-wrap {
position: relative;
} /* ========================================================================== Footer ========================================================================== */ footer a {
color: #a1a9b0;
}
footer {
background-color: #242830; padding: 40px 0 30px;
}
footer p {
color: #fff;
}
ul.legals {
list-style: none; color: #fff; line-height: 25px;
}
ul.legals li {
display: inline-block;
}
ul.legals li::after {
content: " |";
}
ul.legals li:last-child::after {
content: "";
}
.legals {
text-align: left;
}
.credit {
text-align: right;
} /* ========================================================================== FlexSlider Custom CSS ========================================================================== */
- servicesSlider {
margin-top: 70px;
}
ul.slides li {
margin-bottom: 20px;
} /* ========================================================================== Waypoints ========================================================================== */ .wp1, .wp2, .wp3, .wp4, .wp5, .wp6 {
visibility: hidden;
}
.bounceInLeft, .bounceInRight, .fadeInDown, .fadeInLeft, .fadeInRight, .fadeInUp, .fadeInUpD, .fadeInUpDelay {
visibility: visible;
}
.delay-05s {
animation-delay: .5s; -webkit-animation-delay: .5s;
}
.delay-1s {
animation-delay: 1s; -webkit-animation-delay: 1s;
}
.wp3 {
background: url('../img/iphone-bg.png') no-repeat center center; background-position: 200px 10px; height: 100%;
} /* 320px (iPhone) */ @media screen and (max-width:320px) { } /* 480px (WVGA - Low End Windows Phone) */ @media screen and (max-width:480px) { .wrapper { background: #f3f5f8; height: 640px; } .iphone { display: none; } .fluid-white { display: none; } .wp2, .wp4, .wp5, .light-box { margin-bottom: 30px; } .legals { text-align: center; margin: 0; padding: 0; } .credit { text-align: center; } } /* xGA iPad */ @media screen and (max-width:1024px) { .wp3 { background-position: 50px 0; } .swag { background-attachment: scroll; } .subscribe { background-attachment: scroll; } } /* 1200px (Small Desktop, Netbook) */ @media screen and (max-width:1280px) { .wp3 { background-position: 50px 0; } } /* Bootstrap 990px Breakpoint to 480px */ @media screen and (min-width:480px) and (max-width:991px) { .iphone { display: none; } .fluid-white { display: none; } .wrapper { background: #f3f5f8; height: 540px; } .wp2, .wp4, .wp5, .light-box { margin-bottom: 30px; } .legals { text-align: center; margin: 0; padding: 0; } .credit { text-align: center; } }