I have my first responsive design website here
I tried resizing my window using Chrome and FF and i see that the responsiveness is working ... But when i viewed it on my phone it looks the same as i see it in my desktop.
Here's my CSS
#import url(http://fonts.googleapis.com/css?family=Roboto);
#import url(http://fonts.googleapis.com/css?family=Lato:300,700);
html {
font-family: 'Roboto', sans-serif;
font-size: 14px;
line-height: 1.2em;
background-color: #FFF;
color: rgb(68, 68, 68);
font-weight: normal;
!important;
-webkit-font-smoothing: antialiased;
}
.side-container {
margin: 0;
padding: 0;
padding-right: 0;
}
.sidebar {
width: auto;
position: fixed;
overflow-x: auto;
overflow-y: auto;
background-color: transparent;
float: left;
border-left: 740px solid transparent;
padding: 50px 0 0 0;
}
.main-content-wrapper {
margin: 0;
width: 620px;
padding: 60px 60px 200px 60px;
position: absolute;
}
.postcont.main-content-wrapper, .main-content-wrapper {
margin: 0;
}
::selection {
background: #202020;
color: #fff;
text-shadow: none;
}
.ease {
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.prettyprint {
background-color: rgb(46, 46, 46);
display: inline-block;
padding: 2px 8px;
border: 1px solid rgb(0, 0, 0);
font-size: 0.9em;
}
.profile {
padding: 60px 20px 20px 60px;
width: 250px;
}
.profile .avatar {
max-width: 80px;
height: auto;
opacity: 0;
}
.profile .avatar-wrapper {
display: block;
margin: 0 0 20px 0;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
border-radius: 50px;
background-position: center center;
background-size: 80px 80px;
width: 80px;
height: 80px;
}
.profile .username {
text-decoration: none;
color: rgb(68, 68, 68);
font-family: 'Lato', sans-serif;
font-weight: normal;
}
.profile .Med.bio {
font-size: 14px;
line-height: 1.5em;
font-family: 'Lato', sans-serif;
}
.profile .Tiny.location {
color: #999;
font-family: 'Lato', sans-serif;
}
.profile p {
margin: 0.2em 0;
color: rgb(68, 68, 68);
}
.profile .twitter-handle a {
background-image: url(../images/twitter-bird-black-bgs.png);
background-repeat: no-repeat;
display: block;
opacity: 0.2;
background-position: top left;
width: 26px;
height: 26px;
background-size: 26px 26px;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
margin: 10px 0;
}
.profile .twitter-handle a:hover {
opacity: 0.6;
}
.profile .twitter-handle span {
display: none;
}
.mini-profile {
padding: 30px 0;
margin: 20px 0 0 0;
border-top: 1px solid #FFF;
border-bottom: 1px solid rgb(214, 214, 214);
-moz-box-shadow: 0 1px 0 rgb(255, 255, 255), 0 -1px 0 rgb(214, 214, 214);
-webkit-box-shadow: 0 1px 0 rgb(255, 255, 255), 0 -1px 0 rgb(214, 214, 214);
box-shadow: 0 1px 0 rgb(255, 255, 255), 0 -1px 0 rgb(214, 214, 214);
}
.mini-profile .avatar-wrapper, .mini-profile .avatar {
max-width: 50px;
height: auto;
display: inline-block;
vertical-align: top;
}
.mini-profile .avatar-wrapper {
float: left;
}
.mini-profile .profile-about {
display: block;
padding-left: 20px;
margin-left: 50px;
}
.mini-profile .username, .mini-profile .bio, .mini-profile .twitter-handle {
margin: 0;
padding: 0;
}
.mini-profile .username {
font-weight: bold;
line-height: 1em;
padding-bottom: 6px;
}
.mini-profile .twitter-handle {
font-weight: bold;
}
.mini-profile .location {
display: none;
}
.mini-profile .twitter-handle a {
background-image: url(../images/twitter-bird-light-bgs.png);
opacity: 1;
}
.jplnav {
list-style-type: none;
margin: 0;
padding: 0 0 0 60px;
}
.jplnav li a {
display: block;
margin: 0;
}
.jplnav a {
text-decoration: none;
display: block;
padding: 5px 0;
}
.jplnav a:hover {
text-decoration: none;
color: rgb(111, 152, 190);
}
.jplnav li.active a {
color: #CCC;
}
.section-trigger {
background-color: transparent;
}
ul.sections {
margin: 0;
padding: 0;
}
.menu, .expand-profile {
width: 44px;
display: none;
position: absolute;
right: 10%;
top: 30px;
opacity: 0.3;
text-align: center;
background-color: rgb(179, 179, 179);
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
padding-top: 10px;
padding-bottom: 6px;
color: #000;
}
.menu:hover, .expand-profile:hover {
cursor: pointer;
opacity: 0.5;
}
.close-menu {
font-family: Arial !important;
font-size: 50px;
display: none;
line-height: 30px;
vertical-align: middle;
}
.wedge {
height: 4px;
margin: 0 8px 5px 8px;
background-color: #000;
display: block;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
}
.expand-profile {
right: 25%;
font-family: Georgia, Roboto, "Droid Serif", serif;
font-style: italic;
font-weight: bold;
font-size: 36px;
line-height: 0.8em;
}
.pager-footer {
margin: 40px 0;
padding: 10px 0;
}
.pager {
}
.pager span, .pager a {
display: inline-block;
padding: 2px;
}
.Loading {
text-align: center;
padding: 30px;
display: block;
margin-top: -50px;
margin-left: -1px;
}
.Loading img {
display: none;
margin: 0 auto;
}
h1 {
color: #202020;
font-size: 52px;
line-height: 1em;
font-weight: 300;
font-family: 'Lato', sans-serif;
text-transform: uppercase;
text-shadow: 0 2px 0 #FFF;
}
h1 a {
color: inherit;
}
h2, h3, h4, h5, h6 {
color: #202020;
font-family: 'Lato', sans-serif;
font-weight: bold;
}
.jplnav a {
font-size: 18px;
color: #91b6e4;
}
.jplnav li a {
font-family: 'Lato', sans-serif;
}
.Lrg {
font-size: 20px;
color: #202020;
font-weight: bold;
}
.Lrg a {
color: inherit;
}
.Med {
font-size: 16px;
line-height: 1.8em;
color: rgb(68, 68, 68);
}
.Sml {
font-size: 13px;
line-height: 1.4em;
color: rgb(68, 68, 68);
}
.Tiny {
font-size: 12px;
font-weight: normal;
color: rgb(68, 68, 68);
}
a {
color: rgb(96, 167, 207);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.post-header {
padding: 0 0 30px 0;
}
.post-header h1 {
margin: 0 0 10px 0;
padding: 0;
}
.post-date {
padding-top: 0;
margin-bottom: 0;
display: block;
color: #bfbfbf;
}
.entry {
padding: 0;
}
.entry span {
background-color: transparent !important;
}
.entry img {
max-width: 520px;
height: auto;
}
.entry blockquote {
font-style: normal;
margin: 10px 0;
padding: 20px;
background-color: #FFF;
display: block;
}
.entry blockquote.quote {
border-left: 0;
font-size: 1.2em;
color: #202020;
}
.entry blockquote.quote:before {
content: "“";
font-family: Georgia;
font-size: 40px;
line-height: 30px;
}
.post-footer {
padding: 0 0 50px 0;
margin-bottom: 50px;
border-bottom: 1px solid rgb(214, 214, 214);
-moz-box-shadow: 0 1px 0 rgb(255, 255, 255);
-webkit-box-shadow: 0 1px 0 rgb(255, 255, 255);
box-shadow: 0 1px 0 rgb(255, 255, 255);
}
.post-origin {
padding-bottom: 6px;
margin: 20px 0 20px 0;
display: block;
}
.image-block {
vertical-align: bottom;
padding: 10px;
}
.image-block img {
opacity: 0;
}
.image-block a {
display: inline-block;
}
.photo-detail {
-moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
display: inline-block;
margin: 0 auto;
padding: 0;
}
body.dribbble .postcont.main-content-wrapper, body.dribbble .main-content-wrapper {
margin-top: 0;
}
body.dribbble-shot .entry {
max-width: none;
text-align: center;
}
body.dribbble-shot .post-header h1 {
width: 400px;
margin: 0 auto;
}
body.dribbble-shot .photo-detail {
/* width: 400px; */
}
body.dribbble-shot .suppliment-group {
text-align: left;
width: 400px;
margin: 0 auto;
padding-top: 40px;
}
body.dribbble-shot .suppliment {
display: block;
margin-top: 6px;
}
body.dribbble-shot .mini-profile {
display: none;
}
body.flickr .postcont.main-content-wrapper, body.flickr .main-content-wrapper {
/* margin-top:0; */
}
body.flickr-photo .main-content-wrapper {
width: auto;
position: relative;
padding-top: 20px;
}
body.flickr-photo .sidebar {
width: auto;
position: relative;
float: none;
border-left: none;
padding: 30px 0;
}
body.flickr-photo .jplnav {
margin-left: 90px;
}
body.flickr-photo .jplnav li {
display: inline-block;
margin-right: 10px;
}
body.flickr-photo .profile {
width: auto;
padding: 10px 60px;
}
body.flickr-photo .profile .avatar-wrapper {
float: left;
width: 50px;
height: 50px;
background-size: 50px 50px;
}
body.flickr-photo .profile-about {
margin-left: 90px;
display: none;
}
body.flickr-photo .section-trigger {
display: none;
}
body.flickr-photo .post-header {
margin-top: 0;
padding-top: 50px;
}
body.flickr-photo .breadcrumb {
line-height: normal;
padding-top: 0;
margin-bottom: 10px;
color: #CCC;
}
body.flickr-photo .breadcrumb a {
color: inherit;
}
body.flickr-photo .post-header h1 {
max-width: none;
font-size: 38px;
margin: 0 0 0px 0;
color: rgb(185, 185, 182);
max-width: 600px;
}
body.flickr-photo .entry {
max-width: none;
}
body.flickr-photo .entry .description {
max-width: 600px;
margin-top: 50px;
}
body.flickr-photo .photo-detail {
text-align: center;
}
body.flickr-photo .entry img {
max-width: 100%;
width: auto;
margin: 0 auto;
}
body.flickr-photo .mini-profile {
display: none;
}
body.flickr-photo .post-footer {
border-bottom: 0;
margin-top: 50px;
max-width: 600px;
}
body.flickr-photoset .post-header {
padding: 20px 0 0 10px;
}
.video-block {
margin: 10px 0;
}
/* hide hastags */
.ot-hashtag {
display: none;
}
.link a {
background-color: rgb(224, 240, 255);
display: inline-block;
padding: 4px 8px;
}
.map {
display: block;
margin: 10px 0;
}
.googleplus-post .post-footer {
border-bottom: none;
padding-top: 50px;
}
/*
* Etsy
*/
body.etsy-section .post-header {
padding: 20px 0 0 10px;
}
body.etsy-listing .post-header {
padding: 60% 50px 0 0;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
body.etsy-listing .post-header h1 {
background-color: rgba(255,255,255,0.9);
display: inline-block;
padding: 30px 30px 30px 44px;
margin: 0;
}
body.etsy-listing .post-header p.Lrg {
background-color: rgba(255,255,255,0.8);
display: inline-block;
padding: 4px 12px;
margin: 0;
height: auto;
line-height: 1em !important;
margin: 0;
display: inline-block;
vertical-align: bottom;
}
body.etsy-listing .photo-detail {
margin-bottom: 20px;
}
body.instagram-photo .mini-profile {
display: none;
}
.postcont.achievement, .postcont.portfolio, rticle.reviews {
margin-bottom: 50px;
}
.postcont.achievement header, .postcont.portfolio header, .postcont.reviews header {
padding-bottom: 0;
}
.angellist-grid, .angellist-grid ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.angellist-grid-content {
display: inline-block;
margin: 0 6px 0 0;
}
.angellist-grid-content .angellist-company-name a:before {
content: " / ";
rgb(78, 78, 78);
}
.angellist-grid-content:first-child .angellist-company-name a:before {
content: "";
}
.angellist-company-image {
display: none;
}
.angellist-company-concept {
display: none;
}
.angellist-grid-content:hover .angellist-company-concept {
display: block;
position: absolute;
}
.angellist-grid-content .angellist-company-concept {
position: absolute;
background-color: #FFF;
padding: 20px 20px 5px 20px;
width: 200px;
margin-left: -65px;
margin-top: 10px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
opacity: 0;
display: block;
visibility: hidden;
white-space: normal;
text-align: center;
-moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.angellist-company-image-popup {
width: 60px;
height: 60px;
display: block;
margin: 0 auto;
-webkist-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background-position: center center;
background-size: 60px 60px;
background-repeat: no-repeat;
background-color: #FFF;
padding: 6px;
-moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.angellist-company-image-popup img {
display: none;
}
.angellist-grid-content .angellist-company-concept:after {
top: -5px;
right: 110px;
bottom: auto;
left: auto;
border-width: 0 5px 5px;
border-color: rgb(255,255,255) transparent;
content: "";
position: absolute;
border-style: solid;
display: block;
width: 0;
}
.angellist-company-concept p.Sml {
color: #202020;
}
.angellist-grid-content:hover .angellist-company-concept {
visibility: visible;
opacity: 1;
margin-top: 0;
-webkit-transition: opacity 0.2s ease-in-out 0.3s, margin-top 0.2s ease-in-out 0.3s;
-moz-transition: opacity 0.2s ease-in-out 0.3s, margin-top 0.2s ease-in-out 0.3s;
-o-transition: opacity 0.2s ease-in-out 0.3s, margin-top 0.2s ease-in-out 0.3s;
transition: opacity 0.2s ease-in-out 0.3s, margin-top 0.2s ease-in-out 0.3s;
}
.github-languages {
margin-bottom: 50px;
margin-top: 0;
}
.github-social-stats {
list-style-type: none;
margin: 0;
padding: 0;
}
.github-social-stats li {
float: left;
margin-right: 10px;
}
.github-social-stats span.Lrg {
font-weight: bold;
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial;
display: block;
}
.portfolio .post-header h1, .github-languages .post-header h1 {
font-size: 1.4em;
}
.portfolio .post-header, .github-languages .post-header, .github-repo .post-header {
padding-bottom: 0;
}
.github-repo .post-header h1 {
font-size: 1.8em;
}
.github-repo .entry p {
margin: 0;
padding: 0;
}
.github-starred {
font-size: 0.8em;
}
.github-starred .Lrg {
font-size: 1em;
}
.github-main-language {
font-size: 0.8em;
}
.github-main-language .Lrg {
font-weight: bold;
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial;
font-size: 1em;
}
body.feed .entry h1 {
text-shadow: none;
font-size: 1.2em;
text-transform: capitalize;
color: #202020;
font-family: 'Lato', sans-serif;
font-weight: bold;
}
.feed .entry img {
max-width: 100%;
height: auto;
}
body.page h1 {
margin: 0 0 10px 0;
padding: 0;
}
/* * * * * * * * * * * * * * * * * * * * * * * *
* Responsive Styles
* * * * * * * * * * * ** * * * * * * * * * * * */
/* Large desktop */
#media (min-width: 1200px) { /* */
}
/* Portrait tablet to landscape and desktop */
#media (min-width: 768px) and (max-width: 979px) { /* */
}
/* Shrink Navigation */
#media (max-height: 798px) {
/*
*
*
* Vertical Responsive Profile
*
*
*/
.profile {
padding-top: 20px;
padding-bottom: 20px;
}
.profile .avatar-wrapper {
/* display: none; */
}
/*
*
*
* Vertical Responsive Site Navigation
*
*
*/
.jplnav a {
font-size: 18px;
}
.jplnav {
margin: 40px 0 0 0;
}
.jplnav li {
padding: 15px 0;
}
.jplnav a {
padding: 0;
}
}
/* Landscape phone to portrait tablet */
#media (max-width: 767px) {
.sidebar {
float: none;
width: 100%;
overflow-x: auto;
overflow-y: auto;
background-color: #fff;
position: relative;
border: 0;
padding: 20px 0;
}
.main-content-wrapper {
margin: 0;
padding: 60px 60px 200px 60px;
position: relative;
width: auto;
}
.postcont.main-content-wrapper, .main-content-wrapper {
margin: 0;
}
/*
*
*
* Responsive: Site Navigation
*
*
*/
.jplnav {
padding: 10px 0;
display: none;
}
.jplnav li {
display: block;
padding: 0;
margin: 0;
margin-left: 10%;
margin-right: 10%;
text-align: left;
}
.jplnav a {
padding: 10px;
font-size: 20px;
border-top: 1px solid rgba(0,0,0,0.1);
}
/*
*
*
* Responsive: Sub Navigation
*
*
*/
.section-trigger {
margin: 0;
list-style-type: none;
position: relative;
top: auto;
left: auto;
right: auto;
border-bottom: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
-o-box-shadow: none;
box-shadow: none;
padding: 10px;
text-align: left;
z-index: 99;
}
.sections {
text-align: center;
position: relative;
}
.section-trigger > ul.sections {
display: block;
opacity: 1;
filter: alpha(opacity=1);
position: relative;
bottom: auto;
margin: 0;
padding: 0;
}
.sections li {
display: block;
margin: 0 0 8px 0;
padding: 0;
}
.sections a {
display: block;
padding: 10px;
margin: 10px;
border: 3px solid rgba(0,0,0,0.1);
text-align: center;
font-weight: bold;
}
.section-block {
float: none;
margin: 0;
padding: 0;
}
/*
*
*
* Responsive: Image Block Styling
*
*
*/
.image-block {
vertical-align: bottom;
padding: 10px;
}
.image-block img {
opacity: 1;
display: block !important;
width: auto !important;
max-width: 100% !important;
min-width: 100% !important;
height: auto !important;
}
.image-block a {
display: block;
}
/*
*
*
* Responsive: Single Photo image styling
*
*
*/
.photo-detail {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
display: block;
margin: 0 auto;
border: 0;
}
.photo-detail img {
width: 100%;
height: auto;
}
/*
*
*
* Responsive Pager
*
*
*/
.pager-footer {
margin: 25px 10px 50px 10px;
padding-top: 25px;
border-top: 1px solid #000;
}
.pager {
}
.pager span, .pager a {
display: block;
padding: 10px;
margin: 10px;
border: 3px solid rgba(0,0,0,0.1);
text-align: center;
font-weight: bold;
}
.menu, .expand-profile {
display: block;
}
/*
*
*
* Responsive: Generic Font Treatments
*
*
*/
.Lrg {
font-size: 24px;
}
.Med {
font-size: 18px;
}
.Sml {
font-size: 18px;
}
/*
*
*
* Responsive: User Profile
*
*
*/
.profile {
padding: 0;
margin: 0 0 20px 0;
float: none;
width: auto;
}
.profile .avatar-wrapper {
display: block;
margin-top: 20px;
margin-left: 10%;
background-repeat: no-repeat;
background-size: 60px 60px;
width: 60px;
height: 60px;
}
.profile .avatar {
max-width: 60px;
height: auto;
display: block;
}
.profile p {
margin: 0 auto;
padding: 0;
width: 80%;
}
.profile p.username {
margin: 10% 0 0 10%;
line-height: normal;
display: inline-block;
}
.profile .Med.bio {
font-size: 22px;
line-height: 1.5em;
color: #d4d4d4;
}
.profile .twitter-handle a {
margin: 0;
opacity: 0.3;
background-size: 36px 36px;
width: 36px;
height: 36px;
position: absolute;
right: 40%;
top: 34px;
}
.profile .twitter-handle span {
display: none;
}
.profile p.username, .profile .bio, .profile .location, .profile p {
display: none;
}
.profile p.twitter-handle {
display: block;
}
/*
*
*
* Responsive Loading image
*
*
*/
.Loading {
left: 0;
right: 0;
top: 50%;
display: block;
background-color: rgba(255, 255, 255, 0.9);
}
.Loading img {
display: block;
margin: 0 auto;
}
/*
*
*
* Responsive: Post Styling
*
*
*/
.post-header {
padding: 10% 10% 0 10%;
}
.post-header h1 {
word-break: normal;
font-size: 30px;
}
.post-footer {
padding: 0 10% 10% 10%;
}
.entry {
padding: 0 10% 10% 10%;
}
.entry img {
max-width: 100%;
}
.entry {
}
iframe, embed, object {
max-width: 260px;
}
/*
*
*
* Responsive: Flickr, Dribbble Styling Overrides
*
*
*/
body.dribbble-shot .entry, body.flickr-photo .entry {
padding: 10px;
}
body.dribbble-shot .post-header, body.flickr-photo .post-header {
margin-top: 0;
padding-top: 10px;
}
body.dribbble-shot .post-header h1, body.flickr-photo .post-header h1 {
opacity: 1;
font-size: 1em;
}
/*
*
*
* Flickr Responsive Profile
*
*
*/
body.flickr-photo .sidebar {
padding: 0;
}
body.flickr-photo .jplnav {
margin-left: 0;
}
body.flickr-photo .jplnav li {
display: block;
margin-right: 0;
}
body.flickr-photo .profile {
padding: 0;
}
body.flickr-photo .profile .avatar-wrapper {
float: none;
background-size: 60px 60px;
width: 60px;
height: 60px;
}
body.flickr-photo .profile-about {
display: block;
padding: 0;
}
.profile .profile-about {
display: block;
padding: 0;
}
/*
*
*
* Responsive: Etsy Overrides
*
*
*/
body.etsy-listing .post-header {
padding: 400px 0 0 0;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
body.etsy-listing .post-header h1 {
display: block;
padding: 20px 10% 20px 10%;
margin: 0;
font-size: 20px;
line-height: 1.3em !important;
text-shadow: none;
background-color: rgb(255,255,255);
}
body.etsy-listing .post-header p.Lrg {
background-color: rgb(255,255,255);
display: inline-block;
padding: 4px 12px;
margin: 0;
height: auto;
line-height: 1em !important;
margin: 0;
display: inline-block;
vertical-align: bottom;
}
}
/* Landscape phones and down */
#media (max-width: 480px) {
.main-content-wrapper {
margin: 0;
padding: 0 0 200px 0;
position: relative;
width: auto;
}
/*
*
*
* Responsive: Section Navigation
*
*
*/
.sections a {
display: block;
padding: 0 4px 4px 0;
color: inherit;
font-size: 20px;
}
/*
*
*
* Responsive: User Profile Navigation
*
*
*/
.expand-profile {
right: 30%;
}
.profile .twitter-handle a {
right: 50%;
}
/*
*
*
* Responsive: Generic Font Treatments
*
*
*/
.Lrg {
font-size: 24px;
}
.Med {
font-size: 18px;
}
.Sml {
font-size: 14px;
}
}
This has to go in your head element
<meta name="viewport" content="width=device-width, initial-scale=1">
You can read more here
https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
Add this within your head tag.
Add this to your <head> section:
<meta name="viewport" content="width=device-width">
Related
I'm confused. Was trying to get rid of render blocking css on my website.
So I followed an instruction of aoxao.co.
I use Wordpress and Autoptimize for minifying all my .css file to one file.
Now I generated a critical path file for my homepage on jonassebastianohlsson.com.
Unfortunately I get the error mentioned in the title.
You can find all of the code down below and the line which produces the error in between (the line with the charset rule.
Have I missed anything?
BTW: I already tried the solution of another post which said I should untick the "Validate: Styles" - option in Visual Studio Code.
Thanks for your help!
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%
}
body {
margin: 0
}
article,header,nav,section {
display: block
}
a {
background-color: transparent
}
strong {
font-weight: bold
}
img {
border: 0
}
button {
color: inherit;
font: inherit;
margin: 0
}
button {
overflow: visible
}
button {
text-transform: none
}
button {
-webkit-appearance: button
}
button::-moz-focus-inner {
border: 0;
padding: 0
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
*:before,*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
html {
font-size: 10px
}
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333;
background-color: #fff
}
button {
font-family: inherit;
font-size: inherit;
line-height: inherit
}
a {
color: #337ab7;
text-decoration: none
}
img {
vertical-align: middle
}
.img-responsive {
display: block;
max-width: 100%;
height: auto
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0
}
h2,h4 {
font-family: inherit;
font-weight: 500;
line-height: 1.1;
color: inherit
}
h2 {
margin-top: 20px;
margin-bottom: 10px
}
h4 {
margin-top: 10px;
margin-bottom: 10px
}
h2 {
font-size: 30px
}
h4 {
font-size: 18px
}
p {
margin: 0 0 10px
}
ul {
margin-top: 0;
margin-bottom: 10px
}
ul ul {
margin-bottom: 0
}
.container {
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px
}
#media (min-width:768px) {
.container {
width: 750px
}
}
#media (min-width:992px) {
.container {
width: 970px
}
}
#media (min-width:1200px) {
.container {
width: 1170px
}
}
.row {
margin-left: -15px;
margin-right: -15px
}
.collapse {
display: none
}
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-top: 4px solid \9;
border-right: 4px solid transparent;
border-left: 4px solid transparent
}
.dropdown {
position: relative
}
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0;
list-style: none;
font-size: 14px;
text-align: left;
background-color: #fff;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
-webkit-background-clip: padding-box;
background-clip: padding-box
}
.dropdown-menu>li>a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #333;
white-space: nowrap
}
.nav {
margin-bottom: 0;
padding-left: 0;
list-style: none
}
.nav>li {
position: relative;
display: block
}
.nav>li>a {
position: relative;
display: block;
padding: 10px 15px
}
.navbar {
position: relative;
min-height: 50px;
margin-bottom: 20px;
border: 1px solid transparent
}
#media (min-width:769px) {
.navbar {
border-radius: 4px
}
}
#media (min-width:769px) {
.navbar-header {
float: left
}
}
.navbar-collapse {
overflow-x: visible;
padding-right: 15px;
padding-left: 15px;
border-top: 1px solid transparent;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
-webkit-overflow-scrolling: touch
}
#media (min-width:769px) {
.navbar-collapse {
width: auto;
border-top: 0;
-webkit-box-shadow: none;
box-shadow: none
}
.navbar-collapse.collapse {
display: block!important;
height: auto!important;
padding-bottom: 0;
overflow: visible!important
}
.navbar-fixed-top .navbar-collapse {
padding-left: 0;
padding-right: 0
}
}
.navbar-fixed-top .navbar-collapse {
max-height: 340px
}
#media (max-device-width:480px) and (orientation:landscape) {
.navbar-fixed-top .navbar-collapse {
max-height: 200px
}
}
.container>.navbar-header,.container>.navbar-collapse {
margin-right: -15px;
margin-left: -15px
}
#media (min-width:769px) {
.container>.navbar-header,.container>.navbar-collapse {
margin-right: 0;
margin-left: 0
}
}
.navbar-fixed-top {
position: fixed;
right: 0;
left: 0;
z-index: 1030
}
#media (min-width:769px) {
.navbar-fixed-top {
border-radius: 0
}
}
.navbar-fixed-top {
top: 0;
border-width: 0 0 1px
}
.navbar-brand {
float: left;
padding: 15px 15px;
font-size: 18px;
line-height: 20px;
height: 50px
}
.navbar-brand>img {
display: block
}
#media (min-width:769px) {
.navbar>.container .navbar-brand {
margin-left: -15px
}
}
.navbar-toggle {
position: relative;
margin-right: 5px;
padding: 9px 10px;
margin-top: 8px;
margin-bottom: 8px;
background-color: transparent;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-o-border-radius: 4px
}
.navbar-toggle .icon-bar {
display: block;
width: 22px;
height: 2px;
border-radius: 1px;
-webkit-border-radius: 1px;
-moz-border-radius: 1px;
-ms-border-radius: 1px;
-o-border-radius: 1px
}
.navbar-toggle .icon-bar+.icon-bar {
margin-top: 4px
}
#media (min-width:769px) {
.navbar-toggle {
display: none
}
}
.navbar-nav {
margin: 7.5px -15px
}
.navbar-nav>li>a {
padding-top: 10px;
padding-bottom: 10px;
line-height: 20px
}
#media (min-width:769px) {
.navbar-nav {
float: left;
margin: 0
}
.navbar-nav>li {
float: left
}
.navbar-nav>li>a {
padding-top: 15px;
padding-bottom: 15px
}
}
.navbar-nav>li>.dropdown-menu {
margin-top: 0;
border-top-right-radius: 0;
border-top-left-radius: 0
}
.navbar-default {
background-color: #f8f8f8;
border-color: #e7e7e7
}
.navbar-default .navbar-brand {
color: #777
}
.navbar-default .navbar-nav>li>a {
color: #777
}
.navbar-default .navbar-toggle {
border-color: #ddd
}
.navbar-default .navbar-toggle .icon-bar {
background-color: #888
}
.navbar-default .navbar-collapse {
border-color: #e7e7e7
}
.container:before,.container:after,.row:before,.row:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after {
content: " ";
display: table
}
.container:after,.row:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after {
clear: both
}
#-ms-viewport {
width: device-width
}
h2 {
font-size: 37px
}
h4 {
font-size: 27px
}
#media (max-width:768px) {
h2 {
font-size: 28px
}
h4 {
font-size: 22px
}
}
body {
font-size: 14px
}
.navbar a {
font-size: 12px
}
#charset "UTF-8".navbar button.navbar-toggle { -webkit-box-shadow:
none; -moz-box-shadow: none; box-shadow: none }
.navbar .navbar-brand,.hestia-about p {
font-size: 18px
}
body {
font-size: 14px
}
.navbar,.navbar a {
font-size: 12px
}
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 300;
line-height: 1.618
}
ul {
line-height: 1.618
}
h2,h4 {
font-weight: 500;
line-height: 1.618
}
button {
font-size: 12px;
font-weight: 400
}
button {
font-size: inherit;
line-height: inherit
}
.navbar .navbar-brand {
line-height: 30px
}
.navbar .navbar-nav>li>a {
font-weight: 400
}
.navbar .dropdown-menu li>a {
font-size: 13px
}
.hestia-about {
font-weight: 300
}
.hestia-about h2,.hestia-about h4 {
font-weight: 700
}
#media (max-width:768px) {
.navbar .navbar-nav li .caret {
font-size: 20px
}
.navbar .navbar-nav .dropdown .dropdown-menu li a {
line-height: 20px
}
}
body {
direction: ltr;
color: #3c4858;
font-family: "Roboto", "Helvetica", "Arial", sans-serif
}
h2,h4 {
font-family: "Roboto", "Helvetica", "Arial", sans-serif
}
a {
color: #9c27b0
}
.container {
max-width: 100%
}
#media (min-width:749px) {
.container {
max-width: 748px
}
}
#media (min-width:768px) {
.container {
max-width: 750px
}
}
#media (min-width:992px) {
.container {
max-width: 970px
}
}
#media (min-width:1200px) {
.container {
max-width: 2000px
}
}
body {
direction: ltr;
background-color: #e5e5e5;
overflow-x: hidden
}
img,button {
max-width: 100%
}
img {
height: auto
}
ul {
margin-bottom: 30px
}
.container {
max-width: 100%
}
:focus,:active,::-moz-focus-inner {
outline: 0!important
}
button {
border: 0
}
button {
font-family: inherit;
padding: 7px
}
button {
position: relative;
margin: 10px 1px;
padding: 12px 30px;
border: none;
border-radius: 3px;
white-space: normal;
letter-spacing: 0;
text-transform: uppercase
}
button {
-webkit-box-shadow: 0 2px 2px 0 rgba(153, 153, 153, .14), 0 3px 1px -2px rgba(153, 153, 153, .2), 0 1px 5px 0 rgba(153, 153, 153, .12);
-moz-box-shadow: 0 2px 2px 0 rgba(153, 153, 153, .14), 0 3px 1px -2px rgba(153, 153, 153, .2), 0 1px 5px 0 rgba(153, 153, 153, .12);
box-shadow: 0 2px 2px 0 rgba(153, 153, 153, .14), 0 3px 1px -2px rgba(153, 153, 153, .2), 0 1px 5px 0 rgba(153, 153, 153, .12)
}
button {
-webkit-box-shadow: 0 2px 2px 0 rgba(156, 39, 176, .14), 0 3px 1px -2px rgba(156, 39, 176, .2), 0 1px 5px 0 rgba(156, 39, 176, .12);
-moz-box-shadow: 0 2px 2px 0 rgba(156, 39, 176, .14), 0 3px 1px -2px rgba(156, 39, 176, .2), 0 1px 5px 0 rgba(156, 39, 176, .12);
box-shadow: 0 2px 2px 0 rgba(156, 39, 176, .14), 0 3px 1px -2px rgba(156, 39, 176, .2), 0 1px 5px 0 rgba(156, 39, 176, .12)
}
button {
color: #fff;
background-color: #9c27b0
}
.navbar button.navbar-toggle {
color: #555
}
.navbar {
background-color: #fff;
color: #555;
border-radius: 0;
position: fixed;
border: none;
padding: 0;
-webkit-box-shadow: 0 1px 10px -6px rgba(0, 0, 0, .42), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 4px 5px -2px rgba(0, 0, 0, .1);
box-shadow: 0 1px 10px -6px rgba(0, 0, 0, .42), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 4px 5px -2px rgba(0, 0, 0, .1)
}
.navbar .navbar-collapse {
border: none
}
.navbar .title-logo-wrapper {
max-width: 250px;
display: flex;
align-items: center
}
.navbar>.container {
display: flex;
padding: 10px 15px;
vertical-align: middle;
align-items: center
}
.navbar.hestia_left .navbar-collapse {
margin-left: auto
}
.navbar.hestia_left>.container {
flex-direction: row
}
.navbar.hestia_left .navbar-nav {
display: flex;
flex-wrap: wrap;
justify-content: flex-end
}
.navbar .navbar-header .navbar-brand {
padding: 0 15px;
position: relative;
color: inherit;
height: auto
}
.navbar .navbar-header .navbar-brand img {
width: auto;
max-height: 50px
}
.navbar-toggle-wrapper {
margin-left: auto;
display: flex;
align-items: center;
flex-direction: row
}
.navbar .navbar-toggle {
float: none;
border: 0;
margin-right: 0
}
.navbar .navbar-toggle .icon-bar {
border: 1px solid;
position: relative
}
.navbar .navbar-nav>li {
margin: 0
}
.navbar .navbar-nav>li>a {
text-transform: uppercase
}
.navbar .navbar-nav>li a {
padding-top: 15px;
padding-bottom: 15px;
border-radius: 3px;
color: inherit
}
.navbar .navbar-nav>li .dropdown-menu {
margin-top: -5px;
border: none
}
.navbar .navbar-nav>li .dropdown-menu li {
color: #333;
position: relative
}
.navbar .navbar-nav>li .dropdown-menu li>a {
background-color: transparent;
margin: 0 5px;
padding: 10px;
border-radius: 2px
}
.navbar .navbar-nav>li:not(.btn)>a:before {
position: absolute;
z-index: -1;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 3px;
background-color: rgba(255, 255, 255, .1);
content: "";
-webkit-transform: scaleX(0);
-ms-transform: scaleX(0);
transform: scaleX(0);
-webkit-transform-origin: 50%;
-ms-transform-origin: 50%;
transform-origin: 50%
}
#main-navigation ul.nav>li {
opacity: 1;
visibility: visible
}
.hestia-about {
padding: 65px 0 30px
}
.hestia-about {
background-attachment: fixed;
color: #999
}
.hestia-about h2,.hestia-about h4 {
color: #3c4858;
text-decoration: none;
word-wrap: break-word;
font-family: "Roboto Slab", "Times New Roman", serif
}
.blog-post {
word-wrap: break-word
}
.main {
position: relative;
background: #fff
}
.main-raised {
margin: -60px 30px 0;
border-radius: 6px 6px 0 0;
-webkit-box-shadow: 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .2);
box-shadow: 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .2)
}
.home .main-raised section:first-of-type {
border-radius: 6px 6px 0 0;
overflow: hidden
}
#media (max-width:1199px) {
.hestia-about .row {
padding: 0 15px
}
.main-raised {
margin: -60px 15px 0
}
}
#media (max-width:991px) {
.navbar .navbar-nav>li {
margin-right: 10px;
margin-left: 10px
}
.hestia-about .row {
padding: 0 10px
}
}
#media (min-width:992px) {
.navbar .navbar-collapse {
text-align: center
}
.navbar .navbar-nav>li {
margin: 0
}
}
#media (min-width:769px) {
.navbar.hestia_left .title-logo-wrapper {
min-width: 250px
}
.dropdown .dropdown-menu {
display: block;
visibility: hidden;
margin-top: -20px;
opacity: 0
}
}
#media (max-width:768px) {
.container .navbar-header {
width: 100%;
display: flex;
margin: 0 auto
}
.navbar>.container {
padding: 10px 15px;
align-items: center;
display: block
}
.navbar .nav.navbar-nav {
display: block
}
.navbar.navbar-fixed-top .navbar-collapse {
max-height: calc(100% - 70px);
margin-top: 70px;
overflow-y: auto;
position: fixed;
z-index: 9999;
background: #fff;
width: 100%;
left: 0;
top: 0;
margin-left: 0;
margin-right: 0;
-webkit-overflow-scrolling: auto
}
.navbar .navbar-nav {
margin: 7.5px 0
}
.navbar .navbar-nav li {
box-sizing: border-box;
float: left;
margin: 0;
padding: 0;
width: 100%;
text-align: left
}
.navbar .navbar-nav .dropdown a .caret {
border: 1px solid #555;
border-radius: 2px;
box-sizing: content-box;
color: #555;
display: inline-block;
font-family: "Font Awesome 5 Free";
font-weight: 900;
height: 30px;
margin-left: 0;
position: absolute;
right: 15px;
text-align: center;
top: 10px;
width: 30px;
z-index: 100
}
.navbar .navbar-nav .dropdown a .caret:before {
content: "\f107";
top: 5px;
position: relative;
display: inline-block
}
.navbar .navbar-nav .dropdown .dropdown-menu {
background: 0 0;
box-shadow: none;
position: static;
margin-top: 0;
padding: 0;
width: 100%
}
.navbar .navbar-nav .dropdown .dropdown-menu li a {
margin: 0;
padding: 15px 0 15px 30px
}
.navbar .navbar-header .navbar-brand {
padding-left: 0
}
.home .main-raised section:first-of-type {
border-radius: 0
}
.main-raised {
margin-right: 0;
margin-left: 0;
border-radius: 0
}
.hestia-about {
padding-top: 30px
}
.hestia-about h2 {
margin-top: 0
}
.home:not(.blog) .main-raised {
margin-top: 0
}
}
.elementor-page .hestia-about>.container {
width: 100%
}
.home.elementor-page .main-raised>section.hestia-about {
overflow: visible
}
.elementor-text-editor p {
font-size: inherit
}
a {
color: #002970
}
button {
background-color: #002970
}
h2,h4,.hestia-about h2,.hestia-about h4 {
font-family: Sanchez
}
body,ul {
font-family: Sanchez
}
.sr-only {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px
}
#font-face {
font-family: "Font Awesome 5 Free";
font-style: normal;
font-weight: 400;
font-display: auto;
src: url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-regular-400.eot);
src: url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"), url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-regular-400.woff2) format("woff2"), url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-regular-400.woff) format("woff"), url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-regular-400.ttf) format("truetype"), url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-regular-400.svg#fontawesome) format("svg")
}
#font-face {
font-family: "Font Awesome 5 Free";
font-style: normal;
font-weight: 900;
font-display: auto;
src: url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-solid-900.eot);
src: url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"), url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-solid-900.woff2) format("woff2"), url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-solid-900.woff) format("woff"), url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-solid-900.ttf) format("truetype"), url(//analogninja.de/wp-content/themes/hestia/assets/font-awesome/css/../webfonts/fa-solid-900.svg#fontawesome) format("svg")
}
.elementor-clearfix:after {
content: "";
display: block;
clear: both;
width: 0;
height: 0
}
.elementor {
-webkit-hyphens: manual;
-ms-hyphens: manual;
hyphens: manual
}
.elementor *,.elementor:after,.elementor:before {
-webkit-box-sizing: border-box;
box-sizing: border-box
}
.elementor a {
-webkit-box-shadow: none;
box-shadow: none;
text-decoration: none
}
.elementor img {
height: auto;
max-width: 100%;
border: none;
-webkit-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none
}
.elementor-section {
position: relative
}
.elementor-section .elementor-container {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
margin-right: auto;
margin-left: auto;
position: relative
}
.elementor-section.elementor-section-boxed>.elementor-container {
max-width: 1140px
}
.elementor-row {
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex
}
#media (max-width:1024px) {
.elementor-row {
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap
}
}
.elementor-column-wrap {
width: 100%;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex
}
.elementor-widget-wrap {
position: relative;
width: 100%;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-content: flex-start;
-ms-flex-line-pack: start;
align-content: flex-start
}
.elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex
}
.elementor-widget-wrap>.elementor-element {
width: 100%
}
.elementor-widget {
position: relative
}
.elementor-column {
position: relative;
min-height: 1px;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex
}
.elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {
padding: 10px
}
#media (min-width:768px) {
.elementor-column.elementor-col-100 {
width: 100%
}
}
#media (max-width:767px) {
.elementor-column {
width: 100%
}
}
.elementor-widget-heading .elementor-heading-title {
padding: 0;
margin: 0;
line-height: 1
}
.elementor-widget-heading .elementor-heading-title {
font-family: "Sanchez", Sans-serif;
font-weight: 600
}
.elementor-widget-text-editor {
font-family: "Sanchez", Sans-serif;
font-weight: 400
}
.elementor-386 .elementor-element.elementor-element-b5f43bf>.elementor-container {
max-width: 900px
}
.elementor-386 .elementor-element.elementor-element-b5f43bf {
margin-top: -40px;
margin-bottom: 0
}
.elementor-386 .elementor-element.elementor-element-6dfb8a4.elementor-widget-heading .elementor-heading-title {
color: #0c0c0c
}
.elementor-386 .elementor-element.elementor-element-6dfb8a4 .elementor-heading-title {
font-family: "Sanchez", Sans-serif;
font-weight: 700
}
.elementor-386 .elementor-element.elementor-element-5451f39>.elementor-container {
max-width: 900px
}
.elementor-386 .elementor-element.elementor-element-fe48f01 {
color: #0c0c0c;
font-size: 1.3em
}
.elementor-386 .elementor-element.elementor-element-14a2f0a>.elementor-container {
max-width: 900px
}
.elementor-386 .elementor-element.elementor-element-061141d.elementor-widget-heading .elementor-heading-title {
color: #0f0f0f
}
.elementor-386 .elementor-element.elementor-element-1284051>.elementor-container {
max-width: 900px
}
.elementor-386 .elementor-element.elementor-element-7755a44 {
color: #0c0c0c;
font-size: 1.3em
}
.elementor-386 .elementor-element.elementor-element-c88de32>.elementor-container {
max-width: 900px
}
.elementor-386 .elementor-element.elementor-element-7c59ba1.elementor-widget-heading .elementor-heading-title {
color: #0c0c0c
}
.elementor-386 .elementor-element.elementor-element-39a07a8>.elementor-container {
max-width: 900px
}
.elementor-386 .elementor-element.elementor-element-f0bdcd3 {
color: #0c0c0c;
font-size: 1.3em
}
.elementor-386 .elementor-element.elementor-element-d63182f>.elementor-container {
max-width: 900px
}
.elementor-386 .elementor-element.elementor-element-953030e .obfx-grid-col-image {
height: 230px;
border-radius: 15px;
margin: 0
}
.elementor-386 .elementor-element.elementor-element-953030e .obfx-grid-wrapper {
padding-right: calc(15px);
padding-left: calc(15px);
padding-bottom: 30px
}
.elementor-386 .elementor-element.elementor-element-953030e .obfx-grid-container {
margin-left: calc(-15px);
margin-right: calc(-15px)
}
#media (max-width:767px) {
.elementor-386 .elementor-element.elementor-element-b5f43bf {
margin-top: -15px;
margin-bottom: 0
}
.elementor-386 .elementor-element.elementor-element-6dfb8a4>.elementor-widget-container {
margin: 10px 0 0
}
.elementor-386 .elementor-element.elementor-element-fe48f01 {
font-size: 1.1em
}
.elementor-386 .elementor-element.elementor-element-7755a44 {
font-size: 1.1em
}
.elementor-386 .elementor-element.elementor-element-f0bdcd3 {
font-size: 1.1em
}
.elementor-386 .elementor-element.elementor-element-953030e .obfx-grid-wrapper {
padding-right: calc(0px);
padding-left: calc(0px);
padding-bottom: 10px
}
.elementor-386 .elementor-element.elementor-element-953030e .obfx-grid-container {
margin-left: calc(0px);
margin-right: calc(0px)
}
}
body.custom-background {
background-color: #686868
}
.navbar .navbar-header .navbar-brand img {
max-height: 60px
}
.navbar .navbar-nav>li>a {
font-size: 14px!important
}
a {
color: #1e8dfc
}
.lazyload {
opacity: 0
}
.obfx-grid:after {
display: block;
visibility: hidden;
clear: both;
height: 0;
font-size: 0;
content: " "
}
.obfx-grid-container {
display: -webkit-flex;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-right: -15px;
margin-left: -15px;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap
}
.obfx-grid-wrapper {
padding-right: 15px;
padding-left: 15px
}
.obfx-grid .obfx-grid-col-image {
display: block;
overflow: hidden;
position: relative;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: 0 0 10px;
box-shadow: 0 3px 10px 0 rgba(181, 181, 181, 1)
}
.obfx-grid .obfx-grid-col-image {
display: inline-block;
width: 100%;
height: 200px
}
.obfx-grid .obfx-grid-col-image img {
display: block;
position: absolute;
top: 50%;
left: 50%;
width: 100%;
max-width: none;
height: auto;
max-height: none;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%)
}
.obfx-grid-desktop-1 .obfx-grid-wrapper {
width: 100%
}
Whenever I load my page, the content area for the product jumps to position (shifts downwards) and so do the social media icons in the footer. You'll see this happen if you refresh the page or simply click on either of the product categories on the left or the navigation links in the fixed footer.
This is happening predominately in Safari. I'm running 8.0.7 on Mac OS X 10.10.4 (Yosemite). Firefox 45.0.2 seems ok. Chrome 50.0.2661.86 acts a little weird with the icons flashing and copyright text, so I believe that has the same issue though the load time may be quicker.
I've looked at my CSS, but I can't fathom why it's doing it(?). I'm really stuck and realise it's perhaps something simple I'm overlooking. Driving me loopy! :-(
A friend told me it has something to do with the floats for the catalogue_wrapper_right, it shouldn't be there. That's for the content. And, I'm not sure again for the footer. Help much appreciated to get this fixed.
The product content text is being populated using PHP from my database.
The key elements here to look at are catalogue_wrapper and catalogue_wrapper_right for the content, and then container and social for the footer div blocks.
Thanks.
CSS:
/* ===============================
Author: Ashley Smith
Date: July 11, 2015
Notes:
Colour Palette:
---------------
Light Cream: #f2f3ee
Orange: #d17f38
Yellow: #e8c04f
Brown: #4b2707
=============================== */
/* General */
body {
background: url('../images/wood 4.jpg') top left no-repeat; top no-repeat; background-attachment: fixed;
background-size: 100% 100%;
color: black;
-webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility;
font-size: 14px;
font-family: 'Open Sans', "Helvetica Neue", Arial, sans-serif;
}
.container {
width: 1280px;
margin: 0 auto;
padding: 30px 24px;
background: white;
-webkit-box-shadow: 0px 0px 19px 0px rgba(0,0,0,1);
-moz-box-shadow: 0px 0px 19px 0px rgba(0,0,0,1);
box-shadow: 0px 0px 19px 0px rgba(0,0,0,1);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
clear: both;
}
/* Typography */
p {
margin: 0;
padding: 0;
}
a {
text-transform: uppercase;
text-decoration: none;
list-style: none;
padding: 0px 10px;
font-weight: bold;
color: black;
margin: 0;
}
/* Header */
header.main{
background: white;
padding: 10px;
margin-top: -30px;
margin-bottom: -30px;
height: 141px;
}
header nav {
text-align: center;
}
header nav ul {
margin: 0;
padding: 0;
list-style: none;
display: inline-block;
line-height: 141px;
}
header nav ul li {
display: inline-block;
padding: 0 20px;
}
header nav ul li a {
text-transform: uppercase;
text-decoration: none;
font-weight: bold;
}
header nav ul li#logo a {
display: block;
width: 200px;
height: 150px;
padding: 0;
background: url('../images/LogoM.svg') center center no-repeat;
background-size: 300px;
}
header nav ul li#logo a p {
opacity: 0;
}
/* Small Basket */
#small_basket {
width: 200px;
margin-bottom: 20px;
}
#basket_left dt {
clear: left;
width: 170px;
}
#basket_left {
margin-top: 30px;
margin-bottom: 0;
}
#basket_left dd {
text-align: right;
width: 150px;
margin-bottom: 15px;
}
#basket_left, #basket_left dd, #basket_left dt {
float: left;
}
#basket_left dd.bl_ti, #basket_left dd.bl_st, #basket_left dd.bl_vat, #basket_left dd.bl_total {
display: block;
width: 0px;
padding: 0;
clear: all;
margin-left: 0px;
}
.your_bas {
width: 200px;
border-bottom: dashed 1px #aaa;
padding-bottom: 9px;
}
.check_button {
border-bottom: dashed 1px #aaa;
}
.check_button, .check_button a {
clear: left;
padding: 0px 0px 14px 0px;
font-style: normal;
font-size: 14px;
font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
font-weight: normal;
text-transform: none;
}
.red {
color: red;
}
span.cart_pic {
background: url('../images/cart.png') center center no-repeat;
display: inline-block;
position: relative;
top: 10px;
left: 15px;
width: 30px;
height: 30px;
}
/* Store Content Styling */
#wrapper {
width: 1280px;
text-align:left;
margin:0 auto;
padding: 14px 0;
}
#outer {
width: 1280px;
margin: 0 auto;
padding: 30px 24px;
background: white;
-webkit-box-shadow: 0px 0px 19px 0px rgba(0,0,0,1);
-moz-box-shadow: 0px 0px 19px 0px rgba(0,0,0,1);
box-shadow: 0px 0px 19px 0px rgba(0,0,0,1);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
#cat_left {
width: 150px;
}
#cat_left p {
font-size: 20px;
margin: -5px;
font-weight: 300;
text-indent: 5px;
}
#cat_right {
margin-left: 147px;
width: 900px
}
#cat_navigation {
margin-top: 20px;
margin-bottom: 14px;
width: 200px;
line-height: 35px;
list-style: none;
border-top: dashed 1px #aaa;
padding: 0;
float: left;
}
#cat_navigation li {
float: left;
background-color: rgba(209,209,209,0.4);
text-align: center;
width: 100%;
padding: 2px;
margin-bottom: 10px;
}
#cat_navigation li a {
width: 150px;
opacity: 0.2;
font-size: 14px;
font-weight: 300;
padding: 0;
}
#cat_navigation li a.act {
opacity: 1;
font-weight: 700;
}
#cat_prod {
border-bottom: dashed 1px #aaa;
margin-bottom: 0;
padding-bottom: 14px;
}
#cat_prod h1 {
font-size: 20px;
margin: -5px;
margin-bottom: 1px;
font-weight: 300;
}
/* Catalogue Styling For Products Alignment... Continued */
.catalogue_wrapper {
width:100%;
border-bottom: dashed 1px #aaa;
height: 100%;
display: block;
clear: both;
position: static;
}
.catalogue_wrapper_left {
display: inline-block;
width: 120px;
margin-top: 20px;
}
.catalogue_wrapper_right {
display: block;
width: 750px;
position: relative;
left: 150px;
height: 180px;
margin-top: -120px;
margin-bottom: -40px;
}
.catalogue_wrapper_right h4 a {
padding: 0;
font-size: 20px;
}
.catalogue_wrapper_left a img {
width: 120px;
height: 150px;
}
.catalogue_wrapper_left a {
padding: 0;
}
/* Catalaogue Floats */
#cat_left, #cat_right, #catalogue_wrapper, #catalogue_wrapper_left, #catalogue_wrapper_right {
float: left;
}
/* Catalogue Products Pages */
.catalogue_wrapper_product_right {
font-size: 20px;
font-weight: bold;
text-transform: uppercase;
display: block;
width: 750px;
position: relative;
left: 150px;
height: 180px;
margin-top: -70px;
margin-bottom: -40px;
}
.product_info {
font-size: 14px;
display: block;
width: 750px;
text-transform: none;
top: -63px;
}
/* Buttons */
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/* Basket and Checkout Buttons */
.sbm, .btn {
vertical-align: middle;
cursor: pointer;
display:block;
text-transform: uppercase;
font-weight: bold;
font-size: 14px;
}
.sbm_blue {
background: transparent;
background-color: #43a9d9;
border-radius: 4px;
border: none;
padding: 10px 15px;
}
.btn {
text-transform: uppercase;
background: transparent;
background-color: #43a9d9;
border: none;
border-radius: 4px;
color: white;
}
#btn_login {
text-transform: uppercase;
border-radius: 4px;
background: transparent;
background-color: #43a9d9;
border: none;
color: white;
padding: 0px 15px;
}
#btn {
text-transform: uppercase;
background-color: #43a9d9;
border-radius: 4px;
color: white;
padding: 0px 15px;
}
.fl_l {
float: left;
}
.fl_r {
float: right;
}
/* Basket Button */
.add_to_basket {
padding: 6px 12px;
text-transform: uppercase;
background-color: #43a9d9;
border-radius: 4px;
color: white;
}
/* Basket Page */
.ta_r, th.ta_r, .td.ta_r {
text-align: right;
padding: 10px;
}
.ta_left {
text-align: left;
padding: 10px;
}
.ta_right {
text-align: right;
padding: 10px 0px;
}
.col_15 {
width: 15%
}
.tbl_repeat {
width: 900px;
margin-top: 25px;
}
.ta_left_name {
text-align: left;
padding: 10px;
width: 650px;
}
.ta_left_qty input {
width: 40px;
}
.ta_r a {
padding: 0;
text-transform: none;
}
.fld_qty {
border: solid 1px #aaa
}
.fld_qty {
width: 30px;
text-align: right;
padding: 0
}
/* Checkout Page */
.tbl_insert {
margin-bottom:14px;
width: 900px;
line-height: 34.5px;
}
.tbl_insert td {
padding:3px;
}
.tbl_insert th {
padding: 3px 10px 3px 0;
width: 170px;
font-weight: normal;
vertical-align: top;
}
.fld {
width: 700px;
}
.warn {
display: block;
color: #900;
padding: 0;
vertical-align: text-bottom;
}
/* Orders Table */
.order_table {
width: 900px;
}
th.fix_width {
width: 900px;
}
hr#prod_break {
/* Gradient transparent - color - transparent */
border: 0;
height: 1px;
width: 600px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
.tbl_repeat
{
position:relative;
-webkit-box-shadow:0 1px 10px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow:0 1px 10px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.1) inset;
box-shadow:0 1px 10px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.tbl_repeat:before, .tbl_repeat:after
{
position:absolute;
z-index:-1;
-webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
-moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
box-shadow:0 0 20px rgba(0,0,0,0.8);
top:50%;
bottom:0;
left:10px;
right:10px;
-moz-border-radius:400px / 100px;
border-radius:400px / 100px;
}
/* Product Paging */
.paging {
list-style: none;
width: 900px;
float: left;
/* background: #efefef; */
padding: 10px 10px;
color: white;
}
.paging li {
float: left;
margin-right: 10px;
font-size: 14px;
}
.paging a {
text-transform: none;
text-decoration: underline;
color: black;
padding: 0;
font-weight: normal;
color: white;
}
/* Pagination Navigation Buttons
http://www.flaticon.com/packs/metrize - - no class colour: #D9D9D9
*/
a.first {
position: relative;
display: block;
width: 32px;
height: 32px;
background: url('../images/first.svg') top center no-repeat;
background-size: 32px;
}
a.firstno {
position: relative;
display: block;
width: 32px;
height: 32px;
background: url('../images/firstno.svg') top center no-repeat;
background-size: 32px;
}
a.previous {
position: relative;
display: block;
width: 32px;
height: 32px;
background: url('../images/previous.svg') top center no-repeat;
background-size: 32px;
}
a.previousno {
position: relative;
display: block;
width: 32px;
height: 32px;
background: url('../images/previousno.svg') top center no-repeat;
background-size: 32px;
}
a.next {
position: relative;
display: block;
width: 32px;
height: 32px;
background: url('../images/next.svg') top center no-repeat;
background-size: 32px;
}
a.nextno {
position: relative;
display: block;
width: 32px;
height: 32px;
background: url('../images/nextno.svg') top center no-repeat;
background-size: 32px;
}
a.last {
position: relative;
display: block;
width: 32px;
height: 32px;
background: url('../images/last.svg') top center no-repeat;
background-size: 32px;
}
a.lastno {
position: relative;
display: block;
width: 32px;
height: 32px;
background: url('../images/lastno.svg') top center no-repeat;
background-size: 32px;
}
a#top_of_page {
display: block;
position: relative;
text-transform: uppercase;
text-decoration: none;
font-weight: bold;
background-color: #43a9d9;
top: -31px;
left: 45px;
color: white;
border-radius: 4px;
padding: 7px;
}
/* Proceed to Paypal */
#frm_pp {
display: none
}
.dn {
display: none;
}
/* Google reCAPTCHA */
.g-recaptcha {
display: inline-block;
position: relative;
width: 304px;
height: 78px;
}
/* Footer */
footer.main, #footer {
bottom: 0px;
width: 100%;
height: 182px;
position: fixed;
text-align: center;
margin-bottom: -20px;
}
footer.main div.footbord {
border-top-left-radius: -10px;
border-top-right-radius: -10px;
background-color: blue;
}
#uncopyright, #credits {
width: 100%;
margin: 5px 5px;
text-align: center;
display: inline-block;
position: static;
clear: both;
}
#uncopyright {
display: inline-block;
position: static;
margin-top: -20px;
clear: both;
}
div.social img {
width: 40px;
position: relative;
margin: 5px;
display: inline-block;
}
.social {
position: static;
height: 56px;
display: inline-block;
}
.social, .social a {
text-transform: uppercase;
text-decoration: none;
list-style: none;
padding: 0px 10px;
font-weight: bold;
color: black;
margin: 0;
}
/* -- Center Placeholder For Form Text and Keep Entry Field Left -- */
::-webkit-input {
text-align: left;
}
::-webkit-input-placeholder {
text-align: center;
}
::-moz-placeholder {
text-align: center;
}
/* -- Blank Spacing At Bottom Of Main Container -- */
div.nav_top {
height: 30px;
width: 100px;
}
div.nav_top_after {
height: 30px;
width: 100px;
}
div.cont_bot {
height: 230px;
width: 100px;
}
div.cat_space {
height: 20px;
}
/* Force Elements To Self Clear Its Children: http://css-tricks.com/snippets/css/clear-fix/ */
.clearfix:after {
visibility: hidden;
display: block;
content: "";
clear: both;
height: 0;
}
* html .group { zoom: 1; } /* IE6 */
*:first-child+html .group { zoom: 1; } /* IE7 */
I fixed it by messing around all evening with floats in CSSEdit. A great application!
im trying to make compatible this template on chrome, the main problem is that every time i refresh the page, items are changing position this is the site zygi.loginet.gr and it works fine on mozilla.
/* reset/default rules */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, acronym, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, thead, tr, th, td {
margin: 0;
padding: 0;
font-size: 100%;
vertical-align: baseline;
border: 0;
outline: 0;
background: transparent;
font-family: 'open_sansregular';
}
blockquote, q {
quotes: none;
}
:focus {
outline: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
a img, :link img, :visited img {
border: 0;
}
img {
max-width: 100%;
height: auto;
}
q:before, q:after, blockquote:before, blockquote:after {
content: "";
}
a, .inputbox {
outline-width:0;
}
a {
/*transition: all 0.5s ease;*/
text-decoration: none;
color: #90AF63;
}
a:hover {
color: #B1BC42;
text-decoration: none;
}
body {
margin: 0px;
padding: 0px;
height: 100%;
width: 100%;
background: #fff;
color: #777;
}
html {
height:100%;
width:100%;
}
p {
font-size: .9em;
font-weight: 400;
line-height: 1.8;
}
.block {
display: inline-block;
width: 100%;
padding: 2.5em 0;
}
.block-clients {
background-color: #f6f6f6;
display: inline-block;
width: 100%;
padding: 2.5em 0;
}
.block-clients h3 {
font-size: 2em;
font-weight: 300;
letter-spacing: -1px;
padding-bottom: 1em;
text-align: center;
}
.block-services {
display: inline-block;
width: 99%;
padding: .5em 0 1.5em 0;
}
.innerBlock, .contentTop .vendor-store-desc p, .contentTop .vendor-store-desc .page-header, .contentTop .topten-view, .contentTop .category-view .row {
max-width: 1210px;
margin: 0 auto;
}
/* /reset/general rules */
/*---------------------------------------------------------------------------------------*/
/* base typography */
h1{ font-size: 1.6em }
h2{ font-size: 1.4em; line-height: 1.4em; }
h3{ font-size: 1.3em }
h4{ font-size: 1.2em }
h5{ font-size: 1.1em }
h6{ font-size: 1em }
/* /base typography */
/* buttons */
button, .button, .btn, .btn-primary, #input .button {
padding: .3em 1em;
color: #fff;
border-radius: 2px;
margin-top: .5em;
transition: all .2s linear;
}
input.button:not([type="checkbox"]) {
border-top: none;
border-right: none;
border-left: none;
color: #fff;
}
a.button{
display: inline-block;
}
/* colors for diferent buttons */
.button.common {
background: transparent;
border: 2px solid rgba(255, 255, 255, .65);
}
.button.common:hover, .button.common:focus {
border: 2px solid rgba(255, 255, 255, 1);
}
/* /colors for diferent buttons */
.form-actions {
background: none;
}
/* slider / bg image */
.slider {
background-image: url(../images/mainIntroImg.jpg);
margin-top: -3px;
padding: 2em 0;
position: relative;
text-align: center;
line-height: 2.4em;
color: #fff;
background-size: auto;
}
.slider .innerBlock > .moduletable {
background: url(../images/sliderInnerBg.png) no-repeat bottom right;
}
.slider a {
display: inline-block;
color: #fff;
}
.slider a:hover {
color: #cdcdcd;
}
.slider h1 {
border-bottom: 1px solid #fff;
color: #fff;
font-size: 2.5em;
font-weight: bold;
padding: 3% 0 2% 0;
text-align: left;
width: 50%;
}
.slider p {
font-size: 1.4em;
font-weight: 100;
line-height: 1.8em;
}
.slider-content {
display: inline-block;
margin-bottom: 5px;
width: 100%;
text-shadow: 5px 5px 10px #888;
}
.slider-content-desc {
width: 53%;
}
ul.slider-services {
background: rgba(125, 167, 217, .7);
padding: 29.5px 2%;
width: 48.6%;
}
ul.slider-services li {
display: inline-block;
}
ul.slider-services li::after {
content: "//";
color: #B4A16D;
text-shadow: 0px 1px 1px #333;
padding: 0 4px;
}
.blog .item {
text-align: center;
transition: all .2s linear;
margin: 1em 1%;
padding: 1em 0;
}
.blog .item:hover, .services ul li:hover {
background: #eee;
}
.blog .item h2 {
font-size: 1em;
}
.blog .item-image.pull-left {
float: none;
}
.blogPreview .servicesImg {
text-align: center;
}
.services ul li, .contentCustomers ul li, .blogPreview ul li {
padding: .25%;
margin: 0 .25%;
text-align: center;
display: inline-block;
vertical-align: top;
}
.services ul li {
width: 23.7%;
transition: all .2s linear;
padding-bottom: .5em;
}
.blogPreview ul li {
width: 23.7%;
transition: all .2s linear;
padding-bottom: .5em;
}
.contentCustomers ul li {
width: 15.3%;
}
.servicesImg, .blogPreview ul li > img {
display: inline-block;
width: 100%;
transition: .2s linear all;
border-radius: 50%;
}
.blogPreview .servicesImg img, .logiBlog .leadingArt > .item-image img {
/*max-height: 171px;*/
max-width: 100%;
height: auto;
padding: 6px;
background: #fff;
border: 1px solid #ddd;
box-sizing: border-box;
}
.blogPreview li:hover .servicesImg img {
border: 1px solid #999;
}
.mod-articles-category-title {
color: #343433;
transition: color 0.2s linear 0s;
line-height: 1em;
padding: .3em 0;
margin-bottom: .4em;
display: inline-block;
}
a.mod-articles-category-title:hover {
color: #71A45B;
}
p.mod-articles-category-introtext{
font-size: .9em;;
font-weight: 400;
line-height: 1.6;
min-height: 6.3em;
}
.services .mod-articles-category-title {
font-size: 1.3em;
}
/* /services */
/* blogPreview */
.blogPreview li a, .blogPreview li span {
text-align: left;
display: inline-block;
width: 100%;
}
.blogPreview a.mod-articles-category-title {
color: #6190be;
font-size: .9em;
line-height: 1.2em;
font-weight: 700;
}
.blogPreview a.mod-articles-category-title:hover {
color: #444;
}
.blogPreview .mod-articles-category-date {
font-size: .8em;
}
/* /blogPreview */
/* content blocks and particular (.)block - sections styling */
.contentTop {
padding: 0 0;
}
.xselling a, .xselling {
color: #000;
text-align: center;
}
..xselling a {
margin: .2em 0;
}
.xselling {
padding: 1em 0;
float: left;
border-top: 1px solid #000;
}
.page-header, .topten-view h4, .xselling h3 {
font-size: 1.8em;
font-weight: 300;
letter-spacing: -1px;
text-align: center;
padding: 0;
border: none;
position: relative;
}
.page-header, .topten-view h4 {
margin: 2em auto!important;
}
.page-header h2 {
display: inline;
line-height: 0;
padding: 0 .5em;
}
.topten-view h4:before, .topten-view h4:after, .xselling h3:before, .xselling h3:after {
background: #90AF5F;
}
.page-header:before, .page-header:after{
background: #000;
}
.page-header:before, .page-header:after,
.topten-view h4:before, .topten-view h4:after,
.xselling h3:before, .xselling h3:after {
content: "";
display: block;
width: 30%;
height: 2px;
position: absolute;
top: 40%;
}
.page-header:before,
.topten-view h4:before,
.xselling h3:before {
left: 0;
}
.page-header:after,
.topten-view h4:after,
.xselling h3:after {
right: 0;
}
.block h3 {
font-size: 2em;
font-weight: 300;
letter-spacing: -1px;
text-align: center;
padding-bottom: .5em;
}
.pxBg {
background-attachment: fixed;
background-position: center 0;
background-repeat: no-repeat;
background-size: cover;
}
.whiteTrans {
background: rgba(255,255,255,.45);
padding: 2.5em 0;
text-align: center;
}
.vendor-store-desc {
background-image: url(../images/shopBg.jpg);
margin: 0;
color: #000;
}
.communication {
background: #6190BE;
text-align: center;
display: inline-block;
margin: auto;
width: 100%;
padding: 2% 0;
}
.communicationCont {
display: inline-block;
margin: auto;
width: 48%;
}
.communicationText {
display: block;
margin: auto;
color: #fff;
font-size: 2em;
line-height: 2em;
}
.communicationImg {
display: block;
float: left;
}
.communicationImg img {
}
.bgContThree, .contentHeader {
background-image: url(../images/logiPxBg1.jpg);
color: #fff;
font-size: 1.4em;
line-height: 1.2em;
}
.bgContThree {
background: #6190BE;
}
/* content blocks and particular (.)block - sections styling */
/* preFooter */
.preFooter {
background: #6190be;
color: #fff;
text-align: center;
font-size: 1.2em;
line-height: 1.6em;
font-style: italic;
margin-bottom: -4px;
}
.preFooter img {
vertical-align: middle;
}
/* pre foter quote + contnent header*/
.bottomQuote {
color: #fff;
}
.contentHeader, .bottomQuote {
text-align: center;
}
.contentHeader h1 {
padding-bottom: .3em;
margin-bottom: .3em;
}
.bottomQuote p, .contentHeader p {
font-weight: 100;
line-height: 1.25;
padding-bottom: 20px;
display: inline-block;
width: 100%;
}
.bottomQuote p {
font-size: 1.4em;
}
/* /preFooter */
/* Footer */
.footTop > div {
display: block;
float: left;
border-right: 1px solid #91B062;
width: 24%;
margin-right: 1%;
}
.footer.block {
display: block;
}
.footTop > div:last-child {
border: none;
margin-right: 0;
}
.footerBottom .innerBlock > div {
display: inline-block;
width: 48%;
}
.footer3 span, .footer4 p > *{
display: block;
float: left;
width: 65%;
margin-left: 20%;
padding: .5em;
}
.footAdd:before, .footPhone:before {
content: '';
display: block;
width: 17px;
height: 20px;
margin-right: .4em;
background-image: url(../images/miniSprite.png);
background-repeat: no-repeat;
float: left;
}
.footAdd:before {
background-position: 0 0;
}
.footPhone:before {
background-position: -17px 0;
}
a.footFbLnk {
background: #fff;
color: #4C4C4C;
border-radius: 4px;
font-weight: 700;
}
.copyYear {
float: right;
text-align: right;
}
/* SOCIAL ICONS */
.social, .social > li {
display: inline-block;
}
.social > li.skype {
width: 100%;
text-align: center;
}
.social > li > a {
background: #fff;
border-radius: 50%;
color: #000;
display: inline-block;
font: 1.3em/2.3em 'icons';
height: 2.3em;
width: 2.3em;
position: relative;
text-align: center;
transition: all 0.4s ease-out 0s;
text-decoration: none;
margin: .2em;
}
.social > li a:hover {
background: #000;
color: #fff;
}
.social i {
font: 1em/2em 'icons';
}
/* footer */
.footer{
background: #363636;
color: #91B062;
padding: 1em 0;
font-size: 90%;
}
.footer .logo {
width: 100%;
}
.footer h3 {
color: #91B062;
margin-bottom: .5em;
}
.footTop {
padding: 1em 0;
}
.footer ul.menu li a {
color: #91B062;
font-size: .9em;
margin-bottom: .2em;
}
.footer ul.menu li a:hover, .footer ul.menu li a:focus {
background: transparent;
}
/** mailchimp form **/
#mc_embed_signup {
background: #202020;
display: inline-block;
width: 90%;
padding: 1.2em 5% 1.7em;
text-align: left;
border-radius: 3px;
}
#mc_embed_signup h2 {
font-size: .8em;
color: #ccc;
}
#mc_embed_signup label {
display: none;
}
#mc_embed_signup input#mce-EMAIL {
color: #ecebe9;
float: left;
margin: 0 18px 0 0;
max-width: 100%;
position: relative;
width: 280px;
color: #444;
z-index: 10;
}
#mc_embed_signup input.button {
vertical-align: top;
display: inline-block;
float: right;
max-width: 20%;
margin: 0;
}
.mc-field-group {
position: relative;
max-width: 50%;
}
.mce_inline_error {
}
/** /mailchimp form **/
/* /footer */
/* footer bottom */
.footerBottom {
padding: 1em 0;
margin: .7em 0;
}
/* /footer bottom */
/* Contact Form additions */
.contact {
width: 70%;
text-align: center;
padding-bottom: 1em;
}
.contact h2 {
border-bottom: 1px solid #E8E8E8;
color: #676767;
line-height: 0;
margin: 1.5em 0 1em;
font-size: 2em;
font-weight: 300;
letter-spacing: 0.5px;
}
.contact h2 span {
background: #fff;
padding: 0 1em;
}
.contact, .contactRight {
display: inline-block;
vertical-align: top;
}
.contactRight {
width: 28%;
margin: 9.55em 0 0 1.5%;
}
.contact h3 {
font-size: 2em;
padding: 1em 0;
margin: .5em 0;
}
input:not([type='checkbox']),input:not([type='submit']), textarea {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-radius: 0;
background-color: #efefef;
border-color: -moz-use-text-color -moz-use-text-color #fff;
border-image: none;
border-style: none none solid;
border-width: 0 0 1px;
box-shadow: 1px 5px 9px rgba(0, 0, 0, 0.09) inset;
color: #555;
font-size: .8em;
font-weight: 400;
line-height: 1.2em;
padding: .8em 1%;
transition: all 0.2s linear 0s;
width: 98%;
}
input:not([type='checkbox']):focus, input:not([type='submit']):focus, textarea:focus {
box-shadow: 0!important;
}
/** contact form labels **/
.contact-form label {
display: inline-block;
width: 100%;
text-align: left;
padding-bottom: .3em;
}
.contact-form .form-horizontal .control-label {
display: inline-block;
width: 100%;
}
.contact-form .form-horizontal .controls {
margin: 0;
}
.contact-form .form-horizontal .form-actions {
padding: 0;
border: none;
text-align: left;
}
/** /contact form labels **/
/** contact block inside the sidebar **/
.sidebar > .contactSidebar h3 {
text-align: center;
}
.sidebar > .contactSidebar {
padding: 2em;
box-sizing: border-box;
border: 1px solid #e3e3e3;
text-align: center;
}
/** /contact block inside the sidebar **/
/* /normal blog layout - using the parent class .logiBlog */
/* bootstrap overrides and additional exceptions */
.contactRight .dl-horizontal dt {
width: auto;
}
.contactRight .dl-horizontal dd {
margin-left: 2em;
}
dl.contact-address {
padding: 0 0 1em 0;
margin: .5em 0;
}
dl.contact-address span {
display: inline-block;
width: 100%;
}
dl.contact-address > dt, dl.contact-address > dd {
display: inline-block;
padding: .3em 0;
}
dl.contact-address > dd {
width: 80%;
}
.item-page ol, .item-page ul {
margin: 0 0 10px 25px;
padding: 0;
font-size: 0.9em;
font-weight: 400;
line-height: 1.8;
}
#portfolioMini ul, .portfolioSide ul, ul.latestnews {
margin: 0;
list-style: none;
}
/* bootstrap overrides */
/* career page */
ul.careerDpts {
display: block;
width: 100%;
margin: 0 auto;
position: relative;
height: 100%;
min-height: 40em;
}
ul.careerDpts li {
width: 20%;
height: 100%;
min-height: 4.5em;
display: inline-block;
padding: 1em 0;
color: #fff;
border-radius: 20px;
background: #ccc;
margin: 4%;
position: absolute;
height: 3em;
text-align: center;
font-size: 1.2em;
font-weight: 700;
line-height: 1.4em;
transition: .2s all linear;
cursor: pointer;
}
ul.careerDpts li span {
display: inline-block;
vertical-align: middle!important;
width: 70%;
height: 100%;
margin-top: 6%;
}
ul.careerDpts li:nth-child(6) span, ul.careerDpts li:nth-child(2) span {
width: 65%;
}
ul.careerDpts li:nth-child(4) span {
width: 60%;
}
ul.careerDpts li:nth-child(1) span, ul.careerDpts li:nth-child(5) span, ul.careerDpts li:nth-child(6) span {
margin: 0;
}
ul.careerDpts li:hover, ul.careerDpts li:hover:after {
background: #ccc!important;
color: #6190be;
}
ul.careerDpts li:after {
content: "";
display: block;
height: 9.25em;
background: #6190be;
width: .2em;
border-radius: 5px;
position: absolute;
}
ul.careerDpts li:nth-child(1):after {
height: 5.2em;
right: 49%;
bottom: -6em;
}
ul.careerDpts li:nth-child(2):after {
right: 138%;
top: -109px;
transform: rotate(-78deg);
}
ul.careerDpts li:nth-child(3):after {
left: 138%;
top: -109px;
transform: rotate(78deg);
}
ul.careerDpts li:nth-child(4):after {
left: 138%;
bottom: -109px;
transform: rotate(-78deg);
}
ul.careerDpts li:nth-child(5):after {
right: 138%;
bottom: -109px;
transform: rotate(78deg);
}
ul.careerDpts li:nth-child(6):after {
height: 0;
width: 0;
}
ul.careerDpts li:nth-child(1) {
background: #E80719;
top: 0;
left: 36%;
}
ul.careerDpts li:nth-child(2) {
background: #0156EF;
bottom: 0;
right: 0;
}
ul.careerDpts li:nth-child(3) {
background: #EF7700;
bottom: 0;
left: 0;
}
ul.careerDpts li:nth-child(4) {
background: #01AF00;
top: 15%;
left: 0;
}
ul.careerDpts li:nth-child(5) {
background: #7101D2;
top: 15%;
right: 0;
}
ul.careerDpts li:nth-child(6) {
top: 40%;
left: 36%;
color: #6190be;
/* elements revealing effects */
.checkElm {
transition: .5s all linear;
}
.hiddenElm {
opacity: 0;
}
.hiddenElm.checkedElm {
opacity: 1;
}
.revealElm {
opacity: 1;
}
/* elements revealing effects */
/* VM Related */
.browseProductImage {
max-width: 100%;
max-height: inherit;
height: auto;
}
.contentTop .category-view .row .category .spacer h2 a img {
max-width: 125px;
height: auto;
}
.innerRight .xselling h3 {
margin: .3em 0;
}
.topten-view h4, .xselling h3 {
color: #90AF5F;
}
.contentTop block .innerBlock ,.xselling .moduletable h3{
background-color:#8ec640;
color:#fff;
height:25px;
text-align:center;
vertical-align:top;
border-radius:10px;
}
.contentTop block .innerBlock ,.xselling .moduletable h3:before, .xselling .moduletable h3:after{
display:none;
text-align:center;
}
.contentTop block .innerBlock ,.xselling .moduletable .vmgroup{
padding-top:17px;
}
.topten-view {
padding: 0 0 2em 0;
}
.contentTop div.product {
border: none;
position: relative;
}
.contentTop div.vm-details-button {
display: none;
position: absolute;
top: 0;
transition: .3s all linear;
}
.contentTop div.vm-details-button a.product-details {
background: none;
border: 2px solid #fff;
color: #fff;
margin-top: 57%;
}
.contentTop div.product:hover div.vm-details-button {
display: block;
background: rgba(145,176,98,.65);
height: 70%;
width: 100%;
}
.contentTop .vm3pr-0 .addtocart-area {
min-height: inherit;
}
.contentTop .horizontal-separator {
background: #959595;
}
/* vm hom categories layout */
.simple.category-view .category {
max-width: 25%;
margin: .3em 4%;
}
.category-view .category h2 {
padding: .3em 6%;
}
.slider.category-view {
float: left;
width: 100%;
}
.slider.category-view .category {
float: left;
max-width: 25%;
background: rgba(0,0,0,.65);
}
.slider.category-view .category {
}
.slider.category-view .category img {
max-height: 120px;
}
.slider.category-view .category:first-child {
margin-left: 25%;
}
.slider.category-view .category:nth-child(3){
margin-right: 6%;
padding: 0 20% 0 15%;
}
.slider.category-view .category:nth-child(6) {
padding: 0 3%;
}
.slider.category-view .category:nth-child(7) {
padding: 0 3% 0 6%;
margin-right: 20%;
}
.slider.category-view .category:nth-child(8) {
padding: 0 10% 0 10%;
margin-left: 14%;
}
.slider.category-view .category:nth-child(10) {
padding: 0 9% 0 21%;
}
.slider.category-view .category:nth-child(11) {
padding: 0 4% 0 11%;
margin-left: 37%;
}
.slider.category-view .category:last-child {
padding: 0 17% 0 0;
}
.slider.vm-product-descr-container-0 h2 a {
color: #000;
font-size: 1.2em;
}
.slider.vm-product-descr-container-0 {
text-align: center;
}
.breadCr {
color: #ebebeb;
padding: .4em 0;
background: #EBEBEB;
box-shadow: inset 0 0 10px #000;
font-size: 1.3em;
}
.contentTop .breadcrumb {
background: none;
margin: 0;
padding: 0;
color: #ebebeb;
}
.contentTop .breadcrumb li.active span {
color: #90AF63;
}
.contentTop .breadcrumb > li {
}
/* /vm hom categories layout */
/* VM product details */
.contentTop .vm-product-container .vm-product-media-container {
float: right;
width: 40%;
}
.contentTop .vm-product-container .vm-product-details-container {
float: left;
width: 56%;
margin-right: 4%;
}
.vm-product-details-container span.title {
display: block;
width: 100%;
margin-bottom: .5em;
font-size: 1.5em;
color: #000;
}
.product-description {
padding-bottom: 2em;
min-height: 14.3em;
}
.product-description, .product-description span {
color: #000;
font-size: 1em;
line-height: 1.5em;
}
.product-fields {
margin-top: 1em;
background-color:#e5f1d4;
border-radius:12px;
padding-left:10px;
}
.productdetails .product-fields .product-field {
margin: 0;
/*border-bottom: 1px solid #000;*/
}
.product-fields > div span.product-fields-title-wrapper {
float: left;
min-width: 45%;
}
.product-fields > div div.product-field-display {
float: left;
padding: 8px 0;
}
.product-fields > div:first-child {
/*border-top: 1px solid #000;*/
}
.product-fields > div:last-child {
border-bottom: none;
}
.product-fields > div:nth-child(odd) {
background: #e5f1d4;
border-radius:12px;
}
/* VM product details */
.product h2 a {
color: #000;
}
.product .vm-product-descr-container-0 {
text-align: center;
}
.product div.vm-details-button a {
width: 94%;
padding: 11px 3%;
}
.productdetails h1 {
color: #90AF63;
font-size: 1.45em;
font-weight: 700;
text-align: left;
border-top: 2px solid #000;
padding: .5em 0;
}
.innerRight {
padding-top: 1em;
}
/* VM product details */
/* VM Cat sidebar */
.innerRight {
width: 77%;
display: inline-block;
vertical-align: top;
}
#media screen and (min-width: 1081px) {
.slider.category-view .category, .simple.category-view .category {
width: 25%!important;
max-width: 25%!important;
}
}
hey everyone I'm working on a WordPress theme called Jobify, I would like to change the header color. The theme comes with a color setting but it build to change the overall color of the site to the selected color
my header code below:
/**
* 4.0 Header
* ----------------------------------------------------------------------------
*/
.site-header {
box-shadow: inset rgba(0, 0, 0, .10) 0 -4px 0;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;
}
.site-header .container {
position: relative;
padding: 1.5em;
}
.site-branding {
float: left;
}
.site-branding:hover {
text-decoration: none;
}
.site-header.open .site-branding {
float: none;
}
.site-title {
font: bold 22px/normal 'Montserrat', sans-serif;
text-transform: uppercase;
margin: 2px 0 0;
padding: 0;
}
.primary-menu-toggle {
float: right;
right: 0;
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
transform: translateY(-50%);
}
.site-header.open .primary-menu-toggle {
float: none;
position: relative;
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
transform: translateY(0);
}
.site-description {
display: none;
}
.primary-menu-toggle i:before {
font-size: 36px;
margin-top: 4px;
}
.site-primary-navigation,
.site-header.open .primary-menu-toggle.in-header {
display: none;
}
.site-header.open .site-primary-navigation {
display: block;
clear: both;
margin-top: 2em;
}
.site-header.open .primary-menu-toggle,
.site-header.open .primary-menu-toggle span,
.site-header.open .primary-menu-toggle i {
float: none;
vertical-align: middle;
display: inline-block;
}
.site-header.open .primary-menu-toggle span {
padding-top: 4px;
}
.site-primary-navigation #searchform {
margin: 1em 0;
}
.site-primary-navigation #searchform div {
position: relative;
}
.site-primary-navigation #searchform input[type="text"] {
padding-left: 40px;
color: #fff;
width: 100%;
height: 40px;
background: rgba(0, 0, 0, .10);
border-radius: 20px;
border: 0;
}
.site-primary-navigation #searchform button {
padding: 2px 5px;
line-height: 39px;
font-size: 23px;
background: none;
left: 0;
position: absolute;
border: 0;
}
.site-primary-navigation #searchform button:hover {
border: 0;
}
.site-header.open .site-primary-navigation .nav-menu-primary {
margin: 2em 0;
padding: 0;
}
.nav-menu-primary li {
margin: 8px 0;
}
.nav-menu-primary li a {
font: 400 20px 'Varela Round',sans-serif;
text-transform: none;
padding: 10px 0;
}
.nav-menu-primary li .sub-menu {
padding-left: 1em;
}
.nav-menu-primary li .sub-menu a {
font-size: 16px;
}
I am working on a project where I am making two divs that are full width the main one comes first and the second div comes after the main div.
Main Div CSS:
*{
margin:0px;
padding:0px;
}
div.main{
top: -100px;
/*background: url(img/bg.jpg) no-repeat center center fixed #000000;*/
/*background: url(http://www.deliciousfood4u.com/wp-content/uploads/2012/05/food_steak_desktop_1302x1020_wallpaper-420339.jpg) no-repeat center center fixed #324a6f;*/
background-size: cover;
background-repeat: no-repeat;
margin-left: -1px;
position: absolute;
}
html, body, .main, #wrappertwo { height: 100%; min-height: 100%; }
.main { margin: 0 auto; oveflow: hidden; width: 100%; background-color: gray;}
I would like my end website to work similar to this website here: http://www.whitmansnyc.com/
You can see all the code here: http://jsfiddle.net/QFRB8/
Here you go, I'm sure you will have much better use than me. Just edit the box in there and delete it to have a full width with main and second div.
http://jsfiddle.net/tS9fX/
html:
<!DOCTYPE>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Blah</title>
<link type="text/css" rel="stylesheet" media="all" href=
"style.css" />
<link type="text/css" rel="stylesheet" media="screen" href="css.css" />
<link type="text/css" rel="stylesheet" media="screen" href="css_002.css" />
</head>
<body class="user_suscriptions index">
<div id="wrapper">
<h1 class="logo">Title</h1>
<h2>another title</h2>
<div class="field form_suscription">
<form novalidate="novalidate" method="post" id="new_user_suscription" data-remote=
"true" class="simple_form new_user_suscription" action="/user_suscriptions"
accept-charset="UTF-8" name="new_user_suscription">
<div style="margin:0;padding:0;display:inline">
<input type="hidden" value="✓" name="utf8" /> <input type="hidden"
value="1Oz4NpXl188INQoGZkqy4LaItW/6sxtsNNruWFBJQEM=" name=
"authenticity_token" />
</div>
<div class="error_message"></div>
<div class="input email required user_suscription_email">
<input type="email" size="50" placeholder="Your email address ;)" name=
"user_suscription[email]" id="user_suscription_email" class=
"string email required left" autofocus="autofocus" />
</div><input type="submit" value="Subscribe!" name="commit" class=
"btn green-btn" />
</form>
<div class="clear"></div><small>blahb</small>
</div>
<div class="clear"></div>
<div class="content">
<div class="left">
<h2 class="logo">test subject</h2>
</div>
<div class="right">
<h2>Blah title.</h2>
<p>Blah</p>
</div>
<div class="clear"></div>
</div>
<div class="content">
<div class="block">
<h3>blag</h3>
<p>blag</p>
</div>
<div class="block">
<h3>blag</h3>
<p>blag</p>
</div>
<div class="block">
<h3>blag</h3>
<p>blag</p>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</body>
</html>
CSS:
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
display: block;
}
audio,
canvas,
video {
display: inline-block;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden] {
display: none;
}
html {
font-family: sans-serif; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
-ms-text-size-adjust: 100%; /* 2 */
}
body {
margin: 0;
}
a:focus {
outline: thin dotted;
}
a:active,
a:hover {
outline: 0;
}
h1 {
font-size: 2em;
}
abbr[title] {
border-bottom: 1px dotted;
}
b,
strong {
font-weight: bold;
}
dfn {
font-style: italic;
}
mark {
background: #ff0;
color: #000;
}
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
img {
border: 0;
}
svg:not(:root) {
overflow: hidden;
}
figure {
margin: 0;
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
button,
input,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 2 */
margin: 0; /* 3 */
}
button,
input {
line-height: normal;
}
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
button[disabled],
input[disabled] {
cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
font: 14px "Lato", sans-serif;
background: url(http://i.imgur.com/oRLPdXl.jpg) no-repeat center center fixed;
background-size: cover;
color: #FFF; }
#bgMax {
min-height: 100%;
min-width: 1400px;
width: 100%;
height: auto;
position: fixed;
top: 0;
left: 0; }
a {
text-decoration: none;
color: white; }
p {
font-size: 16px;
line-height: 30px; }
li {
list-style: none; }
.clear {
clear: both;
visibility: hidden; }
.bgFade {
background-color: white; }
input[type="text"], input[type="email"] {
border: none;
padding: 14px;
font-size: 16px;
border-radius: 3px;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
-moz-border-radius: 3px; }
input[type="text"]:focus, input[type="email"]:focus {
border-color: red;
outline: none; }
.green-btn {
background: url("http://printgram.noflagra.com/wp-content/themes/Printgram/css/images/comofunciona-bg.png") repeat scroll 0 0 transparent;
color: white;
padding: 16px;
font-weight: bold;
display: inline-block;
width: initial;
border: none;
border-radius: 3px;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
-moz-border-radius: 3px;
transition: 0.2s all ease-out;
-webkit-transition: 0.2s all ease-out;
-moz-transition: 0.2s all ease-out;
-o-transition: 0.2s all ease-out; }
.green-btn:hover {
background: #34da97; }
.green-btn:active {
background: #08b16d; }
::-webkit-scrollbar {
width: 15px;
margin-left: 10px;
background: white;
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25); }
::-webkit-scrollbar-thumb {
border: solid 0 transparent;
border-right-width: 3px;
border-left-width: 4px;
-webkit-border-radius: 9px 6px;
-webkit-box-shadow: inset 0 0 0 1px #a1a1a1, inset 0 0 0 6px #a1a1a1; }
::-webkit-scrollbar-thumb:hover {
-webkit-box-shadow: inset 0 0 0 1px gray, inset 0 0 0 6px gray; }
::-webkit-scrollbar-track-piece {
background: transparent none;
border: solid 4px transparent;
border-right-width: 8px;
margin: 4px; }
#-webkit-keyframes fadeInUp {
0% {
opacity: 0;
-webkit-transform: translateY(30px); }
100% {
opacity: 1;
-webkit-transform: translateY(0); } }
#-moz-keyframes fadeInUp {
0% {
opacity: 0;
-moz-transform: translateY(30px); }
100% {
opacity: 1;
-moz-transform: translateY(0); } }
#-o-keyframes fadeInUp {
0% {
opacity: 0;
-o-transform: translateY(30px); }
100% {
opacity: 1;
-o-transform: translateY(0); } }
#keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(30px); }
100% {
opacity: 1;
transform: translateY(0); } }
#-webkit-keyframes fadeIn {
0% {
opacity: 0; }
100% {
opacity: 1; } }
#-moz-keyframes fadeIn {
0% {
opacity: 0; }
100% {
opacity: 1; } }
#-o-keyframes fadeIn {
0% {
opacity: 0; }
100% {
opacity: 1; } }
#keyframes fadeIn {
0% {
opacity: 0; }
100% {
opacity: 1; } }
.logo {
font-family: "Pacifico", cursive;
color: white;
font-weight: normal;
margin: 0; }
.content {
width: 1000px;
margin: 0 auto;
padding: 100px 0px; }
.left {
float: left; }
.right {
float: right; }
header .content {
padding: 0; }
header .language {
float: right;
margin-top: 15px; }
header .language .social {
float: left;
margin-right: 10px; }
header .language .social .fb, header .language .social .tw {
float: left;
margin: 0 5px; }
header .language .select {
float: left;
background: white;
border-radius: 3px;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
-moz-border-radius: 3px;
padding: 1px 9px; }
header .language .select a {
font-weight: bold;
font-size: 12px;
color: #999999; }
.info {
animation: fadeInUp 1s 1;
-moz-animation: fadeInUp 1s 1;
-webkit-animation: fadeInUp 1s 1;
-o-animation: fadeInUp 1s 1;
width: 910px;
margin: 0 auto;
padding: 120px 0px 190px 0px;
text-align: center; }
.info small {
color: white;
display: block;
font-size: 15px;
margin: 5px;
text-shadow: 0px 1px 1px #353535;
-webkit-text-shadow: 0px 1px 1px #353535;
-o-text-shadow: 0px 1px 1px #353535;
-moz-text-shadow: 0px 1px 1px #353535; }
.info .logo {
font-size: 70px; }
.info h2 {
color: white;
font-size: 30px;
font-weight: 300;
text-align: center;
margin: 40px 0px;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
-webkit-text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
-o-text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
-moz-text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3); }
.info .field {
margin: 50px 0px 10px 0px;
animation: fadeInUp 1s 1;
-moz-animation: fadeInUp 1s 1;
-webkit-animation: fadeInUp 1s 1;
-o-animation: fadeInUp 1s 1;
width: 570px;
margin: 0 auto; }
.info .field input {
width: 400px;
margin: 10px 0px; }
.info .field .btn {
margin: 10px 0px; }
.info .field .green-btn {
width: initial; }
.info .social {
margin: 0px 0px 60px 0px; }
.about {
background: url("http://printgram.noflagra.com/wp-content/themes/Printgram/css/images/comofunciona-bg.png") repeat scroll 0 0 transparent; }
.about .logo {
color: white;
font-size: 50px; }
.about p {
font-weight: bold; }
.about h2 {
font-size: 22px; }
.about .left {
float: left;
width: 50%;
margin-top: 50px;
text-align: center; }
.about .right {
width: 50%;
float: right;
color: white;
font-weight: 300; }
.demo .content {
padding: 130px 0px 150px 0px;
text-align: center; }
.demo h2 {
font-size: 30px; }
.demo .social {
margin-top: 20px;
display: inline-block; }
.demo .social .fb, .demo .social .gp, .demo .social .tw {
float: left;
margin: 0 5px; }
.features {
background: url("http://printgram.noflagra.com/wp-content/themes/Printgram/css/images/porque-bg.png") repeat scroll 0 0 transparent;
overflow: hidden; }
.features .content {
padding: 100px 0px;
margin: 0 auto; }
.features .block {
float: left;
width: 30%;
margin: 15px;
text-align: center;
position: relative; }
.features .block h3 {
font-size: 22px; }
.features .block p {
padding: 0px 20px; }
.features .feature1, .features .feature2, .features .feature3, .features .feature4, .features .feature5, .features .feature6 {
width: 152px;
height: 153px;
margin: auto; }
.features .feature1 {
background: url("http://printgram.noflagra.com/wp-content/uploads/2012/08/2-tralha1.png") no-repeat scroll center center transparent;
}
.features .feature2 {
background: url("http://printgram.noflagra.com/wp-content/uploads/2012/08/1-instagram1.png") no-repeat scroll center center transparent;
}
.features .feature3 {
background: url("http://printgram.noflagra.com/wp-content/uploads/2012/08/3-foto1.png") no-repeat scroll center center transparent;
}
footer {
background: url("http://printgram.noflagra.com/wp-content/themes/Printgram/css/images/footer-bg.png") repeat scroll 0 0 transparent;
border-top: 10px solid #464646;
color: white;
height: 100%;
}
footer .content {
width: 600px;
padding: 40px 0px;
text-align: center; }
footer .content .logo {
font-size: 25px;
font-weight: 300; }
footer .content p, footer .content a {
font-weight: 700; }
footer .content ul {
text-align: center;
padding: 0px;
display: block;
margin-bottom: 50px; }
footer .content ul li {
display: inline-block; }
footer .content ul a {
border-radius: 3px;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
-moz-border-radius: 3px;
background: #0cad6c;
padding: 3px 7px;
margin: 3px; }
#media only screen and (max-width: 480px) {
header .content {
padding: 0;
margin-top: 0;
margin-bottom: 0; }
#bgMax {
left: 50%;
margin-left: -200px; }
#wrapper {
width: inherit; }
.content, .info {
margin: 20% auto;
width: 85%;
overflow: hidden; }
.info {
margin: 12% auto;
padding-top: 50px;
padding-bottom: 50px; }
.info .logo {
font-size: 55px; }
.info h2 {
font-size: 20px; }
.info small {
font-size: 11px; }
.info .field {
width: 100%; }
.info .field input, .info .field .green-btn {
padding: 12px;
font-size: 12px;
margin-top: 0px;
margin-bottom: 5px; }
.info .field input {
width: 90%%; }
.about {
font-size: 12px;
text-align: center; }
.about .left, .about .right {
width: auto; }
.about .left {
float: inherit;
margin: 0; }
.about .left h2 {
font-size: 40px; }
.about .right h2 {
font-size: 18px; }
.about .right p {
font-size: 14px;
line-height: 28px; }
.demo .content {
padding: 50px 0px; }
.demo .social {
width: 100px; }
.features {
font-size: 12px; }
.features .content {
width: 80%;
padding: 50px 0px; }
.features .block {
width: auto;
float: inherit;
margin: 55px 0px; }
.features .block h3 {
font-size: 18px; }
.features .block p {
line-height: 28px;
font-size: 14px; }
footer .content {
margin: 20% auto;
width: 85%;
overflow: hidden;
margin: 5% auto; } }
#media only screen and (min-width: 481px) and (max-width: 1024px) {
header .content {
padding: 0;
margin-top: 0;
margin-bottom: 0; }
#wrapper {
width: inherit; }
.content, .info {
margin: 15% auto;
width: 70%;
overflow: hidden; }
.info {
margin: 8% auto;
padding-top: 50px;
padding-bottom: 50px; }
.info .field {
width: 420px; }
.info .field input {
width: 50%; }
.about {
text-align: center; }
.about .left, .about .right {
width: auto; }
.about .left {
float: inherit;
margin: 0; }
.demo .content {
padding: 50px 0px; }
.features .content {
width: 80%;
padding: 50px 0px; }
.features .block {
width: auto;
float: inherit;
margin: 55px 0px; }
footer .content {
margin: 15% auto;
width: 70%;
overflow: hidden;
margin: 5% auto; } }
.error {
color: white;
text-shadow: 0px 1px 1px #353535;
-webkit-text-shadow: 0px 1px 1px #353535;
-o-text-shadow: 0px 1px 1px #353535;
-moz-text-shadow: 0px 1px 1px #353535;
animation: fadeInUp 1s 1;
-moz-animation: fadeInUp 1s 1;
-webkit-animation: fadeInUp 1s 1;
-o-animation: fadeInUp 1s 1;
font-weight: bold; }
.exist, .succesfull {
color: #5f5f5f;
font-size: 16px;
font-weight: normal;
width: 270px;
padding: 12px 10px;
margin: 0 auto;
border-radius: 5px;
background: white;
animation: fadeInUp 1s 1;
-moz-animation: fadeInUp 1s 1;
-webkit-animation: fadeInUp 1s 1;
-o-animation: fadeInUp 1s 1; }
.temp {
display: none;
color: #cccccc; }