Commit 3524c62f by Scott

SnowFlat: merge media queries

parent a1bbb78d
......@@ -60,6 +60,10 @@ h1 {
left: 10px;
}
.qa-logo {
margin: 0 0 0 1px;
}
@media (max-width: 979px) {
.qam-search-mobile {
border-left: 0;
......@@ -89,31 +93,22 @@ h1 {
.qam-search-mobile.wet-asphalt {
border-right-color: #3d566e;
}
}
@media (max-width: 979px) {
.qam-menu-toggle {
float: right;
margin: 0 0 0 10px;
}
}
.qa-logo {
margin: 0 0 0 1px;
}
@media (min-width: 980px) {
.qa-logo {
float: right;
}
}
@media (max-width: 979px) {
.qa-nav-main {
left: auto;
right: 0;
}
}
@media (min-width: 980px) {
.qa-nav-main {
.qa-nav-main-link:before {
margin: 0 0 0 15px;
}
.qa-nav-sub-item {
float: right;
}
}
......@@ -122,9 +117,6 @@ h1 {
.qa-nav-main-item {
float: right;
}
}
@media (min-width: 980px) {
.qa-nav-main-item-opp {
float: left;
}
......@@ -133,18 +125,6 @@ h1 {
}
}
@media (max-width: 979px) {
.qa-nav-main-link:before {
margin: 0 0 0 15px;
}
}
@media (max-width: 979px) {
.qa-nav-sub-item {
float: right;
}
}
.qam-account-items-wrapper {
float: left;
}
......@@ -247,13 +227,7 @@ h1 {
.qa-top-users-label .qa-user-link {
float: right;
}
@media (min-width: 980px) {
.qa-top-users-label .qa-user-link:hover:after, .qa-top-users-label .qa-user-link:focus:after {
-ms-transform: translate(-80px, 0);
-webkit-transform: translate(-80px, 0);
transform: translate(-80px, 0);
}
}
.qa-top-users-label .qa-user-link:before {
left: auto;
right: -5px;
......@@ -265,6 +239,12 @@ h1 {
left: 0;
border-right: 7px solid #e74c3c;
}
.qa-top-users-label .qa-user-link:hover:after, .qa-top-users-label .qa-user-link:focus:after {
-ms-transform: translate(-80px, 0);
-webkit-transform: translate(-80px, 0);
transform: translate(-80px, 0);
}
}
.qa-top-users-label .qa-user-link.qa-user-favorited {
padding-right: 22px;
......@@ -300,8 +280,7 @@ h1 {
float: left;
clear: left;
}
}
@media (min-width: 980px) {
.qa-template-user .qa-part-form-profile {
float: right;
}
......@@ -370,13 +349,6 @@ h1 {
border-bottom: 0;
}
@media (min-width: 980px) {
.qa-a-item-main {
float: right;
margin: 0 20px 0 0;
}
}
.qa-a-item-avatar {
right: auto;
left: 20px;
......@@ -396,6 +368,11 @@ h1 {
left: auto;
right: 20px;
}
.qa-a-item-main {
float: right;
margin: 0 20px 0 0;
}
}
.qa-a-selection .qa-waiting {
margin: -7px -7px 0 0;
......@@ -436,49 +413,39 @@ h1 {
margin-left: 8px;
}
@media (min-width: 980px) {
.qam-footer-col {
float: right;
}
}
@media (min-width: 480px) {
.qa-nav-footer {
float: right;
}
}
.qa-nav-footer-item {
float: right;
}
.qa-nav-footer-link {
padding: 0 0 0 5px;
border-width: 0 0 0 1px;
}
@media (min-width: 480px) {
.qa-attribution {
float: left;
border-left: 1px solid rgba(255, 255, 255, 0.5);
}
}
@media (min-width: 480px) {
.qam-attribution {
float: left;
padding: 0 5px 0 0;
}
}
@media (min-width: 980px) {
.qa-main {
.qa-nav-footer-item {
float: right;
}
}
.qa-nav-footer-link {
padding: 0 0 0 5px;
border-width: 0 0 0 1px;
}
@media (min-width: 980px) {
.qa-main {
float: right;
}
.qa-sidepanel {
float: left;
}
.qam-footer-col {
float: right;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment