1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 15:31:42 +02:00

[ticket/11552] Responsive post

PHPBB3-11552
This commit is contained in:
Vjacheslav Trushkin
2013-10-19 15:40:20 +03:00
parent 2e5f9ede41
commit ee8d7b536c
7 changed files with 65 additions and 34 deletions

View File

@@ -392,11 +392,6 @@
margin-left: 0;
}
/* Post author */
.rtl p.author {
margin: 0 0 0.6em 15em;
}
.rtl .signature {
clear: right;
}
@@ -484,9 +479,7 @@
/* Poster profile block
----------------------------------------*/
.rtl .postprofile {
border-left: none;
border-right-width: 1px;
border-right-style: solid;
border-width: 0 1px 0 0;
float: left;
/* text-align: right; */
}

View File

@@ -627,21 +627,11 @@ fieldset.polls dd div {
----------------------------------------*/
.postprofile {
color: #666666;
border-left-color: #FFFFFF;
}
.rtl .postprofile {
border-right-color: #FFFFFF;
border-left-color: transparent;
border-color: #FFFFFF;
}
.pm .postprofile {
border-left-color: #DDDDDD;
}
.rtl .pm .postprofile {
border-right-color: #DDDDDD;
border-left-color: transparent;
border-color: #DDDDDD;
}
.postprofile strong {

View File

@@ -378,7 +378,7 @@ dl.faq dt {
/* Post author */
p.author {
margin: 0 15em 0.6em 0;
margin-bottom: 0.6em;
padding: 0 0 5px 0;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1em;
@@ -680,7 +680,8 @@ fieldset.polls dd div {
/* Also see tweaks.css */
margin: 5px 0 10px 0;
min-height: 80px;
border-left: 1px solid transparent;
border: 1px solid transparent;
border-width: 0 0 0 1px;
width: 22%;
float: right;
display: inline;
@@ -700,7 +701,12 @@ fieldset.polls dd div {
font-weight: normal;
}
.avatar {
.postprofile dt.no-profile-rank, .postprofile dd.profile-rank, .postprofile .search-result-date {
margin-bottom: 10px;
}
.postprofile .avatar {
display: block;
border: none;
margin-bottom: 3px;
}

View File

@@ -367,6 +367,51 @@ textarea, dd textarea, #message-box textarea {
}
}
/* Post
----------------------------------------*/
.postprofile, .postbody {
display: block;
width: auto;
float: none;
padding: 0;
min-height: 0;
}
.post .postprofile {
width: auto;
border-width: 0 0 1px 0;
padding-bottom: 5px;
margin: 0;
margin-bottom: 5px;
overflow: hidden;
}
.postprofile dd {
display: none;
}
.postprofile dt, .postprofile dd.profile-rank, .search .postprofile dd {
display: block;
margin: 0;
}
.postprofile ul.profile-icons {
display: none;
}
.postprofile .avatar {
display: block;
float: left;
margin-right: 5px;
}
.postprofile .avatar img {
width: auto !important;
height: auto !important;
display: block;
max-height: 32px;
}
/* Misc stuff
----------------------------------------*/
h2 {