Commit 568ac85b by Scott

SnowFlat: update view count style

Make view count centered.
Remove unused CSS.
Increase qa-q-item-main width to fill space.
parent cedf10a7
...@@ -1087,7 +1087,7 @@ h1 a:hover, h1 a:focus, h1 a:visited { ...@@ -1087,7 +1087,7 @@ h1 a:hover, h1 a:focus, h1 a:visited {
} }
@media (min-width: 800px) { @media (min-width: 800px) {
.qa-a-count, .qa-view-count { .qa-a-count {
width: 60px; width: 60px;
height: 60px; height: 60px;
line-height: 0.5; line-height: 0.5;
...@@ -1123,19 +1123,9 @@ h1 a:hover, h1 a:focus, h1 a:visited { ...@@ -1123,19 +1123,9 @@ h1 a:hover, h1 a:focus, h1 a:visited {
background-color: #27ae60; background-color: #27ae60;
} }
.qa-view-count {
text-align: center;
display: block;
}
@media (min-width: 800px) {
.qa-view-count {
background-color: #ecf0f1;
color: #445f7a;
}
}
@media (min-width: 800px) { @media (min-width: 800px) {
.qa-netvote-count-data, .qa-a-count-data, .qa-view-count-data { .qa-netvote-count-data, .qa-a-count-data {
font-size: 24px; font-size: 24px;
line-height: 40px; line-height: 40px;
display: block; display: block;
...@@ -1150,7 +1140,7 @@ h1 a:hover, h1 a:focus, h1 a:visited { ...@@ -1150,7 +1140,7 @@ h1 a:hover, h1 a:focus, h1 a:visited {
} }
} }
.qa-netvote-count-pad, .qa-a-count-pad, .qa-view-count-pad { .qa-netvote-count-pad, .qa-a-count-pad {
font-size: 12px; font-size: 12px;
} }
...@@ -1281,17 +1271,17 @@ h1 a:hover, h1 a:focus, h1 a:visited { ...@@ -1281,17 +1271,17 @@ h1 a:hover, h1 a:focus, h1 a:visited {
} }
@media (min-width: 800px) { @media (min-width: 800px) {
.qa-q-item-main { .qa-q-item-main {
width: 556px; width: 616px;
} }
} }
@media (min-width: 980px) { @media (min-width: 980px) {
.qa-q-item-main { .qa-q-item-main {
width: 495px; width: 555px;
} }
} }
@media (min-width: 1024px) { @media (min-width: 1024px) {
.qa-q-item-main { .qa-q-item-main {
width: 551px; width: 611px;
} }
} }
...@@ -2531,25 +2521,19 @@ input[type="submit"], button { ...@@ -2531,25 +2521,19 @@ input[type="submit"], button {
} }
.qa-view-count { .qa-view-count {
background-color: transparent;
background: none;
font-size: 12px; font-size: 12px;
text-align: center; text-align: center;
clear: both; clear: both;
float: left;
width: 100%;
height: auto; height: auto;
margin-top: 10px; margin: 6px 0 -4px;
} }
.qa-view-count-data { .qa-view-count-data {
font-size: inherit;
display: inline;
line-height: 12px;
} }
.qa-view-count-pad { .qa-view-count-pad {
font-size: inherit;
display: inline;
line-height: 12px;
} }
.qam-q-view-close-icon { .qam-q-view-close-icon {
......
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