Fixed mobile padding CSS bug

This commit is contained in:
Sacha Greif 2012-12-13 15:36:19 +09:00
parent 394d95a01e
commit 063b7f85da
2 changed files with 36 additions and 26 deletions

View file

@ -1716,26 +1716,31 @@ table thead tr td {
/* line 91, ../sass/partials/_mobile.scss */
.header .logo {
top: 0px;
left: 0px;
font-size: 22px;
line-height: 50px;
z-index: 10; }
/* line 97, ../sass/partials/_mobile.scss */
/* line 98, ../sass/partials/_mobile.scss */
.header .logo a img {
height: auto !important;
max-height: 40px !important;
width: auto !important; }
/* line 105, ../sass/partials/_mobile.scss */
/* line 106, ../sass/partials/_mobile.scss */
.header .auth-buttons {
z-index: 100;
margin: 0; }
/* line 108, ../sass/partials/_mobile.scss */
/* line 109, ../sass/partials/_mobile.scss */
.header .auth-buttons #login-buttons {
display: block !important; }
/* line 111, ../sass/partials/_mobile.scss */
/* line 112, ../sass/partials/_mobile.scss */
.header .auth-buttons .login-link-and-dropdown-list {
right: 0px !important;
position: static !important; }
/* line 114, ../sass/partials/_mobile.scss */
/* line 115, ../sass/partials/_mobile.scss */
.header .auth-buttons .login-link-and-dropdown-list #login-dropdown-list {
right: 0px !important;
margin: 0px !important; }
/* line 119, ../sass/partials/_mobile.scss */
.header .auth-buttons .login-link-and-dropdown-list .login-link-text {
font: 0/0 a;
text-shadow: none;
@ -1743,7 +1748,7 @@ table thead tr td {
height: 30px !important;
margin: 10px 0 0 0 !important;
display: block !important; }
/* line 120, ../sass/partials/_mobile.scss */
/* line 125, ../sass/partials/_mobile.scss */
.header .auth-buttons .login-link-and-dropdown-list .login-link-text:after {
content: "\75" !important;
font-family: 'icomoon' !important;
@ -1753,70 +1758,70 @@ table thead tr td {
line-height: 30px !important;
height: 30px !important;
font-size: 18px !important; }
/* line 133, ../sass/partials/_mobile.scss */
/* line 138, ../sass/partials/_mobile.scss */
.header .mobile-button {
z-index: 100; }
/* line 137, ../sass/partials/_mobile.scss */
/* line 142, ../sass/partials/_mobile.scss */
.header .mobile-button span {
display: none; }
/* line 140, ../sass/partials/_mobile.scss */
/* line 145, ../sass/partials/_mobile.scss */
.header .mobile-button.menu {
float: left; }
/* line 143, ../sass/partials/_mobile.scss */
/* line 148, ../sass/partials/_mobile.scss */
.header .mobile-button.submit {
float: right; }
/* line 146, ../sass/partials/_mobile.scss */
/* line 151, ../sass/partials/_mobile.scss */
.header .mobile-button:hover {
background: white; }
/* line 148, ../sass/partials/_mobile.scss */
/* line 153, ../sass/partials/_mobile.scss */
.header .mobile-button:hover i {
color: #f36c3d; }
/* line 155, ../sass/partials/_mobile.scss */
/* line 160, ../sass/partials/_mobile.scss */
.post .post-content {
margin-right: 50px;
margin-right: 0px; }
/* line 159, ../sass/partials/_mobile.scss */
/* line 164, ../sass/partials/_mobile.scss */
.post .post-content .upvote-link {
width: 30px; }
/* line 162, ../sass/partials/_mobile.scss */
/* line 167, ../sass/partials/_mobile.scss */
.post .post-content .post-info {
margin-left: 30px;
padding: 6px 4px 6px 8px; }
/* line 167, ../sass/partials/_mobile.scss */
/* line 172, ../sass/partials/_mobile.scss */
.post .post-content .post-heading .post-title {
line-height: 1.2;
display: block;
margin-bottom: 4px;
font-size: 18px; }
/* line 173, ../sass/partials/_mobile.scss */
/* line 178, ../sass/partials/_mobile.scss */
.post .post-content .post-heading .post-domain {
line-height: 1;
display: block;
margin-bottom: 4px;
font-size: 13px; }
/* line 180, ../sass/partials/_mobile.scss */
/* line 185, ../sass/partials/_mobile.scss */
.post .post-content .post-meta {
font-size: 11px; }
/* line 185, ../sass/partials/_mobile.scss */
/* line 190, ../sass/partials/_mobile.scss */
.post .post-content .post-meta .unit {
font-size: 0; }
/* line 187, ../sass/partials/_mobile.scss */
/* line 192, ../sass/partials/_mobile.scss */
.post .post-content .post-meta .unit:after {
font-size: 12px;
content: "pts "; }
/* line 194, ../sass/partials/_mobile.scss */
/* line 199, ../sass/partials/_mobile.scss */
.post .post-actions {
display: none; }
/* line 196, ../sass/partials/_mobile.scss */
/* line 201, ../sass/partials/_mobile.scss */
.post .post-actions li {
float: none; }
/* line 198, ../sass/partials/_mobile.scss */
/* line 203, ../sass/partials/_mobile.scss */
.post .post-actions li a {
height: 40px;
width: 40px;
font-size: 30px; }
/* line 202, ../sass/partials/_mobile.scss */
/* line 207, ../sass/partials/_mobile.scss */
.post .post-actions li a i {
display: block;
position: absolute;
@ -1826,9 +1831,9 @@ table thead tr td {
height: 100%;
line-height: 40px;
text-align: center; }
/* line 212, ../sass/partials/_mobile.scss */
/* line 217, ../sass/partials/_mobile.scss */
.post .post-actions li a .count {
top: 9px; }
/* line 215, ../sass/partials/_mobile.scss */
/* line 220, ../sass/partials/_mobile.scss */
.post .post-actions li a .action {
display: none; } }

View file

@ -90,6 +90,7 @@
@include border-radius(0px);
.logo{
top:0px;
left:0px;
font-size:22px;
line-height:50px;
z-index:10;
@ -111,6 +112,10 @@
.login-link-and-dropdown-list{
right:0px !important;
position:static !important;
#login-dropdown-list{
right:0px !important;
margin:0px !important;
}
.login-link-text{
@extend .header-button;
@include hide-text2;