Introducing new responsive classes

This commit is contained in:
2017-09-26 13:01:10 +08:00
parent 6945834de5
commit 6c72ee9def
6 changed files with 23 additions and 95 deletions

View File

@@ -704,17 +704,6 @@
}
}
var stage = c_body.parentNode
BotanJS.addEventListener( "Responsive"
/** e @type {Astro.Starfall.Events.Responsive} */
, function( e ) {
e.data.ratio < 1
? stage.style.width = "100%"
: stage.style.width = ""
;
}
);
if( !loggedIn )
{
var limit = 5;

View File

@@ -10,22 +10,11 @@
text-align: right;
}
[data-narrow] .h_info {
position: relative;
width: auto;
text-align: center;
}
.h_body {
margin-left: 7em;
margin-right: 0.5em;
}
[data-narrow] .h_body
, [data-narrow] .h_bodyWrapper {
margin: 0 auto;
}
.h_bodyWrapper {
border: 1px solid #D4D7C9;
background-color: #FAFAFA;
@@ -57,7 +46,6 @@
width: 80px;
height: 80px;
}
[data-narrow] .h_avatarWrapper { display: inline; }
.h_avatar, .a_avatarWrapper {
width: 80px;