Skip to content
Browse files

Added more mobile styles.

  • Loading branch information...
1 parent 3074657 commit 4658d1a9cc07cb1a3b8735d5383ab42a115798f0 @derrickorama derrickorama committed Mar 31, 2012
View
4 wp-content/themes/retlehs-roots/css/bootstrap.css
@@ -741,12 +741,12 @@ footer#content-info ul li{float:left;width:16.666666666666668%;}
footer#content-info ul li a{padding-bottom:15px;font-family:'Inika',serif;font-size:1.6em;}
footer#content-info ul ul{display:none;}
footer#content-info ul ul a{font-size:1.1em;}
-#get_help{font-size:27px;line-height:30px;}#get_help ul{overflow:hidden;margin:36px 0 30px;list-style:none;}
+@media (max-width:481px){#tagline{margin:0;font-size:21px;line-height:24px;} .page-header{margin-top:0;}}#get_help{font-size:27px;line-height:30px;}#get_help ul{overflow:hidden;margin:36px 0 30px;list-style:none;}
#get_help li{margin-left:0;margin-right:30px;font-size:27px;font-family:'Open Sans',sans-serif;font-weight:600;font-style:italic;}
#get_help a{display:block;padding-left:48px;height:38px;line-height:38px;text-decoration:none;color:#000;background:url(../img/bg-home-bullet.png) left top no-repeat;}#get_help a:hover{background-position:0 -38px;}
li{padding-bottom:8px;line-height:20px;font-size:14px;}
div.smm-item table.ai1ec-full-event{display:none;}
-.pull-right{float:right;}
+@media (max-width:481px){#get_help ul{margin:18px 0 0;}}.pull-right{float:right;}
.pull-left{float:left;}
.hide{display:none;}
.show{display:block;}
View
10 wp-content/themes/retlehs-roots/css/less/derrick.less
@@ -38,4 +38,12 @@ li {
font-size: 14px;
}
-div.smm-item table.ai1ec-full-event { display: none; }
+div.smm-item table.ai1ec-full-event { display: none; }
+
+@media (max-width: 481px) {
+ #get_help {
+ ul {
+ margin: 18px 0 0;
+ }
+ }
+}
View
22 wp-content/themes/retlehs-roots/css/less/justin.less
@@ -22,12 +22,11 @@ body { padding-top:0 !important; background:url("/img/bg-body.jpg") repeat; bord
.main_nav { clear:both; float:left; width:100%; margin:18px 0 0 0; padding:0; list-style:none; }
.main_nav li { float:left; position:relative; }
.main_nav a { padding:10px 10px 18px; font-family: 'Inika', serif; font-size:1.8em; font-weight:normal; color:#d94827; display:block; }
- .main_nav a.dropdown-toggle { padding-bottom:18px; background:url(/img/bg-main-nav-link.png) center bottom no-repeat; }
- .main_nav li ul { width:170px; margin:0; padding:0; list-style:none; position:absolute; top:46px; left:0; visibility:hidden; }
- .main_nav li li { float:none; visibility:hidden; }
+ .main_nav a.parent { padding-bottom:18px; background:url(/img/bg-main-nav-link.png) center bottom no-repeat; }
+ .main_nav li ul { width:170px; margin:0; padding:0; list-style:none; position:absolute; top:54px; left:0; visibility:hidden; }
+ .main_nav li li { float:none; }
.main_nav li li a { margin:0; padding:10px 18px; font-size:1.4em; color:#d94827; text-decoration:none; background:#fff; }
.main_nav li li a:hover { background:#000; color:#fff; }
- .main_nav li:hover li { visibility:visible; }
#tagline { clear:left; float:left; font-family: 'Inika', serif; font-size:2.8em; font-weight:normal; margin:36px 0 23px; line-height:42px; }
.page-header { padding-top:19px; padding-bottom:0; border-bottom:none; }
.page-header h1, .entry-title { font-family: 'Inika', serif; font-size:1.8em; color:#d94827; }
@@ -39,5 +38,16 @@ body { padding-top:0 !important; background:url("/img/bg-body.jpg") repeat; bord
footer#content-info ul { margin:0; padding:0; list-style:none; }
footer#content-info ul li { float:left; width:percentage(100/6/100); }
footer#content-info ul li a { padding-bottom:15px; font-family: 'Inika', serif; font-size:1.6em; }
- footer#content-info ul ul {display:none;}
- footer#content-info ul ul a { font-size:1.1em; }
+ footer#content-info ul ul a { font-size:1.1em; }
+
+@media (max-width: 481px) {
+ #tagline {
+ margin: 0;
+ font-size: 21px;
+ line-height: 24px;
+ }
+
+ .page-header {
+ margin-top: 0;
+ }
+}

0 comments on commit 4658d1a

Please sign in to comment.
Something went wrong with that request. Please try again.