1
0
mirror of http://aero2k.de/repos/dfde-theme.git synced 2017-09-06 15:25:40 +02:00

display:flex fuer Seitenleite, wenns funktioniert: cae hat schuld.

This commit is contained in:
eggy
2017-07-09 18:49:51 +02:00
parent 4f9af179e9
commit c43bb8c90d
5 changed files with 70 additions and 32 deletions

View File

@@ -148,38 +148,8 @@ a:hover { text-decoration: underline; }
.page-body {
margin: 4px 0;
clear: both;
float:right;
}
.debianforumde-sidebar {
margin-top:4px;
margin-left:8px;
width: 150px;
float:left;
}
@media only screen and (min-width: 680px) {
.page-body {
margin: 4px 0;
clear: both;
float:right;
/* margin-left: 160px;
margin-right: 16px;
padding-left: 15px; */
width:85%;
}
.debianforumde-sidebar {
margin-top:4px;
margin-left:8px;
width: 150px;
left: 15px;
position: absolute;
top: 140px;
float:left;
}
}
/* *************** */

View File

@@ -22,4 +22,66 @@
@import url("debianforum.css");
#debianforum_outer {
}
/* #debianforum_content { */
#page-body {
flex: 1;
}
#debianforum_nav {
}
.debianforumde-sidebar {
width: 150px;
}
#debianforum-outer {
display: flex;
}
@media only screen and (min-width: 480px) {
.page-body {
/* margin-left: 160px;
margin-right: 16px;
padding-left: 15px; */
flex:1;
}
.debianforumde-sidebar {
width: 150px;
}
#debianforum_outer {
display: flex;
}
/* #debianforum_content { */
#page-body {
/* background-color: red; */
flex: 1;
}
#debianforum_nav {
/* background-color: blue; */
}
.debianforumde-sidebar {
width: 150px;
}
#debianforum-outer {
display: flex;
flex-direction: row-reverse;
}
}