diff --git a/app/assets/stylesheets/mobi.css.scss b/app/assets/stylesheets/mobi.css.scss index cff5dbc..40149c0 100644 --- a/app/assets/stylesheets/mobi.css.scss +++ b/app/assets/stylesheets/mobi.css.scss @@ -11,8 +11,8 @@ #head { #menu { - #logo:hover { - transition: none; + #logo { + display: none; } } } @@ -44,5 +44,17 @@ } } + #user-info { + tbody { + tr { + display: block; + margin-bottom: 0.5em; + } + td:first-child:after { + content: ":"; + } + } + } + } \ No newline at end of file diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index badb3ed..69406a9 100644 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -100,10 +100,11 @@ a { } ul { - margin: 0 0 0 100px; + margin: 0; padding: 0; list-style: none; line-height: 0; + text-align: center; li { display: inline-block; @@ -199,7 +200,7 @@ span.no-about { h1 { font-weight: normal; font-size: 200%; - margin: 0; + margin: 1em 0 0.5em; text-shadow: 0 1px #999; word-wrap: break-word; } @@ -727,6 +728,10 @@ table { width: 100%; max-width: 100%; table-layout: fixed; + + label { + font-weight: bold; + } } img { diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 3e7a389..911b1c6 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -1,6 +1,4 @@
-

<%= @user.name %>

- <% if @user.is?(current_user) || (mod? && current_user.role >= @user.role) %>
<%= link_to "edit profile", edit_user_path(@user), :class => "btn blue" %>
<% end %> @@ -11,6 +9,9 @@ <%= link_to "revert", revert_path, :class => "btn blue" %> <% end %>
+ +

<%= @user.name %>

+
<% if @user.banned? %> @@ -37,46 +38,46 @@ - + - + <% if current_user && !@user.skype.blank? && (@user.skype_public || current_user == @user || mod?) %> - + <% end %> <% if !@user.youtube.blank? && !@user.youtube_channelname.blank? %> - + <% end %> <% if !@user.twitter.blank? %> - + <% end %> - + <% if mod? || @user.is?(current_user) %> - + - + - + <% end %>
IGNIGN <%= @user.ign %>
RoleRole <%= link_to @user.role, users_path(:role => @user.role.name) %>
SkypeSkype <%= link_to @user.skype, "skype:#{@user.skype}?chat", target: "_blank" %>
YouTubeYouTube <%= link_to @user.youtube_channelname, "https://youtube.com/user/#{CGI.escape(@user.youtube)}", :target => "_blank" %>
TwitterTwitter <%= link_to "@#{@user.twitter}", "https://twitter.com/#{CGI.escape(@user.twitter)}", :target => "_blank" %>
JoinedJoined
Last IPLast IP <%= @user.last_ip %>
EmailEmail <%= mail_to @user.email, @user.email, :subject => "Redstoner" %>
Last seenLast seen