[ticket/13080] Fix mediaqueries formating

open { are should not to be on new lines for
media queries per spec, causes code highlight
issues in reputible code editors

PHPBB3-13080
This commit is contained in:
hanakin 2014-09-20 16:55:20 +02:00
parent e3eff2a976
commit 8b8e065441

View file

@ -161,8 +161,7 @@ ul.topiclist.forums dd.topics dfn, ul.topiclist.topics dd.posts dfn {
font-weight: normal; font-weight: normal;
} }
@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) @media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
{
ul.topiclist.forums dt { ul.topiclist.forums dt {
margin-right: 0; margin-right: 0;
} }
@ -191,8 +190,7 @@ ul.topiclist li.row dt a.subforum {
/* Notifications list /* Notifications list
----------------------------------------*/ ----------------------------------------*/
@media only screen and (max-width: 350px), only screen and (max-device-width: 350px) @media only screen and (max-width: 350px), only screen and (max-device-width: 350px) {
{
.dropdown-extended .dropdown-contents { .dropdown-extended .dropdown-contents {
width: auto; width: auto;
} }
@ -344,8 +342,7 @@ fieldset.quick-login label[for="autologin"] {
min-width: 50%; min-width: 50%;
} }
@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) @media only screen and (max-width: 500px), only screen and (max-device-width: 500px) {
{
dd label { dd label {
white-space: normal; white-space: normal;
} }
@ -355,15 +352,13 @@ fieldset.quick-login label[for="autologin"] {
} }
} }
@media only screen and (max-width: 430px), only screen and (max-device-width: 430px) @media only screen and (max-width: 430px), only screen and (max-device-width: 430px) {
{
.section-viewtopic .search-box .inputbox { .section-viewtopic .search-box .inputbox {
width: 110px; width: 110px;
} }
} }
@media only screen and (max-width: 320px), only screen and (max-device-width: 320px) @media only screen and (max-width: 320px), only screen and (max-device-width: 320px) {
{
select, .inputbox { select, .inputbox {
max-width: 240px; max-width: 240px;
} }
@ -376,8 +371,7 @@ fieldset.quick-login label[for="autologin"] {
width: auto; width: auto;
} }
@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) @media only screen and (max-width: 500px), only screen and (max-device-width: 500px) {
{
dl.details dt, dl.details dd { dl.details dt, dl.details dd {
width: auto; width: auto;
float: none; float: none;
@ -517,8 +511,7 @@ fieldset.display-actions {
width: 100%; width: 100%;
} }
@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) @media only screen and (max-width: 500px), only screen and (max-device-width: 500px) {
{
p.responsive-center { p.responsive-center {
float: none; float: none;
text-align: center; text-align: center;