some mobile css fixes
This commit is contained in:
parent
ad1d925c61
commit
7b1ec6fc3d
|
@ -300,6 +300,15 @@ div#footer a {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* other specifics */
|
||||||
|
div#user_about {
|
||||||
|
margin-left: 12em;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#gravatar {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
/* stories */
|
/* stories */
|
||||||
|
|
||||||
ol.stories,
|
ol.stories,
|
||||||
|
|
|
@ -44,6 +44,14 @@
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ol.comments {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
ol.comments1 {
|
||||||
|
margin-left: 0;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
div.voters {
|
div.voters {
|
||||||
width: 31px;
|
width: 31px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
|
@ -70,15 +78,35 @@
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.box label {
|
div.box label,
|
||||||
|
div.boxline label {
|
||||||
display: block;
|
display: block;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.boxline textarea,
|
||||||
|
div.boxline input[type="text"] {
|
||||||
|
max-width: 98%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#story_box input,
|
div#story_box input,
|
||||||
|
div#story_box button,
|
||||||
div#story_box textarea,
|
div#story_box textarea,
|
||||||
div#story_box #story_tags_a,
|
div#story_box #story_tags_a,
|
||||||
div#story_box div.markdown_help_toggler {
|
div.markdown_help_toggler {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#story_box #story_tags_a {
|
||||||
|
min-width: 305px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#gravatar {
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#user_about {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="float: right;">
|
<div id="gravatar">
|
||||||
<img src="https://secure.gravatar.com/avatar/<%=
|
<img src="https://secure.gravatar.com/avatar/<%=
|
||||||
Digest::MD5.hexdigest(@showing_user.email.strip.downcase) %>?r=pg&
|
Digest::MD5.hexdigest(@showing_user.email.strip.downcase) %>?r=pg&
|
||||||
d=<%= CGI.escape(root_url + "images/1x1t.gif") %>&s=100">
|
d=<%= CGI.escape(root_url + "images/1x1t.gif") %>&s=100">
|
||||||
|
@ -27,7 +27,9 @@
|
||||||
|
|
||||||
<label class="required">Karma:</label>
|
<label class="required">Karma:</label>
|
||||||
<span class="d">
|
<span class="d">
|
||||||
<%= @showing_user.karma %> (average <%= number_with_precision(@showing_user.average_karma, :precision => 2) %>)
|
<%= @showing_user.karma %>
|
||||||
|
(average <%= number_with_precision(@showing_user.average_karma,
|
||||||
|
:precision => 2) %>)
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
@ -47,7 +49,7 @@
|
||||||
|
|
||||||
<label class="required">About:</label>
|
<label class="required">About:</label>
|
||||||
|
|
||||||
<div class="shorten_first_p" style="margin-left: 12em;">
|
<div id="user_about" class="shorten_first_p">
|
||||||
<%= raw @showing_user.linkified_about %>
|
<%= raw @showing_user.linkified_about %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue