mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/11957] Use fixed width for sidebar
Use fixed width for sidebar and few minor fixes for other items PHPBB3-11957
This commit is contained in:
parent
1b3daa1ad8
commit
5f39fd470c
1 changed files with 22 additions and 8 deletions
|
@ -106,6 +106,13 @@ hr {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 800px), only screen and (max-device-width: 800px)
|
||||||
|
{
|
||||||
|
body {
|
||||||
|
margin: 5px 5px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
|
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
|
||||||
{
|
{
|
||||||
html, body {
|
html, body {
|
||||||
|
@ -186,7 +193,7 @@ li {
|
||||||
|
|
||||||
#page-body {
|
#page-body {
|
||||||
clear: both;
|
clear: both;
|
||||||
min-width: 700px;
|
min-width: 650px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#page-footer {
|
#page-footer {
|
||||||
|
@ -207,15 +214,11 @@ li {
|
||||||
}
|
}
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
float: left;
|
margin: 0 0 0 210px;
|
||||||
width: 76%;
|
|
||||||
margin: 0 0 0 3%;
|
|
||||||
min-height: 350px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.rtl #main {
|
.rtl #main {
|
||||||
float: right;
|
margin: 0 210px 0 0;
|
||||||
margin: 0 3% 0 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
* html #main {
|
* html #main {
|
||||||
|
@ -255,6 +258,10 @@ li {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#page-header fieldset {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
#main, .rtl #main {
|
#main, .rtl #main {
|
||||||
float: none;
|
float: none;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
@ -416,7 +423,7 @@ li {
|
||||||
/* Menu */
|
/* Menu */
|
||||||
#menu {
|
#menu {
|
||||||
float: left;
|
float: left;
|
||||||
width: 20%;
|
width: 200px;
|
||||||
font-size: 1.00em;
|
font-size: 1.00em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-right: 1px solid #CCCFD3;
|
border-right: 1px solid #CCCFD3;
|
||||||
|
@ -436,6 +443,7 @@ li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
word-wrap: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Default list state */
|
/* Default list state */
|
||||||
|
@ -461,6 +469,12 @@ li {
|
||||||
padding: 3px 8px 3px 3px;
|
padding: 3px 8px 3px 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#menu li span, #menu .header {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
#menu li a:hover, #menu li a:hover span {
|
#menu li a:hover, #menu li a:hover span {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
|
|
Loading…
Add table
Reference in a new issue