style fixes
This commit is contained in:
@@ -16,7 +16,7 @@ $(document).ready(function() {
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$("#more-links").hide().offset({top: $("#site-map-link").offset().top + $("#site-map-link").height() + 10, left: $("#site-map-link").offset().left});
|
||||
$("#more-links").hide().offset({top: $("#site-map-link").offset().top, left: $("#site-map-link").offset().left + 10});
|
||||
|
||||
$(document).click(function(e) {
|
||||
$("#more-links").hide();
|
||||
|
||||
@@ -27,12 +27,12 @@ $baseline: 1em;
|
||||
box-shadow: $x $y $blur $color;
|
||||
}
|
||||
|
||||
@mixin text-shadow($x, $y, $blur, $color) {
|
||||
-moz-text-shadow: $x $y $blur $color;
|
||||
-webkit-text-shadow: $x $y $blur $color;
|
||||
-ms-text-shadow: $x $y $blur $color;
|
||||
-o-text-shadow: $x $y $blur $color;
|
||||
text-shadow: $x $y $blur $color;
|
||||
@mixin text-shadow($val) {
|
||||
-moz-text-shadow: $val;
|
||||
-webkit-text-shadow: $val;
|
||||
-ms-text-shadow: $val;
|
||||
-o-text-shadow: $val;
|
||||
text-shadow: $val;
|
||||
}
|
||||
|
||||
@mixin transparency($value) {
|
||||
|
||||
@@ -1,38 +1,44 @@
|
||||
@import "000_vars.css.scss";
|
||||
|
||||
div.paginator {
|
||||
display: block;
|
||||
padding: 2em 0 1em 0;
|
||||
font-size: 1em;
|
||||
font-size: 1.2em;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
clear: both;
|
||||
|
||||
a {
|
||||
margin: 0 3px;
|
||||
padding: 2px 6px;
|
||||
font-weight: normal;
|
||||
border: 1px solid #EAEAEA;
|
||||
}
|
||||
li {
|
||||
font-weight: bold;
|
||||
|
||||
a {
|
||||
margin: 0 0.25em;
|
||||
padding: 0.25em 0.75em;
|
||||
border: 1px solid #EAEAEA;
|
||||
@include border-radius(0.5em);
|
||||
}
|
||||
|
||||
a.arrow {
|
||||
border: none;
|
||||
}
|
||||
a.arrow {
|
||||
border: none;
|
||||
}
|
||||
|
||||
a.arrow:hover {
|
||||
background: white;
|
||||
color: #9093FF;
|
||||
}
|
||||
a.arrow:hover {
|
||||
background: white;
|
||||
color: $link_color;
|
||||
}
|
||||
|
||||
a.current {
|
||||
border: 1px solid #AAA;
|
||||
}
|
||||
a.current {
|
||||
border: 1px solid #AAA;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background: rgb(60, 60, 220);
|
||||
color: white;
|
||||
}
|
||||
a:hover {
|
||||
background: $link_color;
|
||||
color: white;
|
||||
}
|
||||
|
||||
span {
|
||||
margin: 0 3px;
|
||||
padding: 2px 6px;
|
||||
span {
|
||||
margin: 0 0.25em;
|
||||
padding: 0.25em 0.75em
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
7
app/assets/stylesheets/mobile/000_vars.css.scss
Normal file
7
app/assets/stylesheets/mobile/000_vars.css.scss
Normal file
@@ -0,0 +1,7 @@
|
||||
$h1_size: 4em;
|
||||
$h2_size: 3em;
|
||||
$h3_size: 2em;
|
||||
$h1_padding: 1.25em 0;
|
||||
$h2_padding: 1.45833em 0;
|
||||
$h3_padding: 1.51785em 0;
|
||||
$baseline: 1em;
|
||||
10
app/assets/stylesheets/mobile/010_reset.css.scss
Normal file
10
app/assets/stylesheets/mobile/010_reset.css.scss
Normal file
@@ -0,0 +1,10 @@
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
/* font-weight: normal;*/
|
||||
font-style: normal;
|
||||
font-size: 130%;
|
||||
line-height: 1.25em;
|
||||
font-family: inherit;
|
||||
}
|
||||
@@ -2,13 +2,10 @@
|
||||
|
||||
header#top {
|
||||
h1 {
|
||||
font-size: 2.5em;
|
||||
margin: 5px 30px 0 30px;
|
||||
}
|
||||
|
||||
menu {
|
||||
font-size: $h1_size;
|
||||
|
||||
li.nonessential {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
@import "../common/000_vars.css.scss";
|
||||
|
||||
div.paginator {
|
||||
font-size: $h1_size;
|
||||
font-weight: bold;
|
||||
|
||||
li {
|
||||
|
||||
@@ -7,27 +7,26 @@ div#c-posts {
|
||||
|
||||
section#tag-box {
|
||||
ul {
|
||||
font-size: $h1_size;
|
||||
font-weight: bold;
|
||||
|
||||
li {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
}
|
||||
|
||||
a.search-tag {
|
||||
}
|
||||
|
||||
a.search-inc-tag {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a.search-exl-tag {
|
||||
display: none;
|
||||
}
|
||||
|
||||
span.post-count {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
a.search-tag {
|
||||
}
|
||||
|
||||
a.search-inc-tag {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a.search-exl-tag {
|
||||
display: none;
|
||||
}
|
||||
|
||||
span.post-count {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -16,8 +16,7 @@
|
||||
<% end %>
|
||||
<meta name="default-image-size" content="<%= CurrentUser.user.default_image_size %>">
|
||||
<%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %>
|
||||
<%#= stylesheet_link_tag "application", :media => "screen" %>
|
||||
<%= stylesheet_link_tag "mobile", :media => "screen" %>
|
||||
<%= stylesheet_link_tag "application", :media => "screen" %>
|
||||
<%#= stylesheet_link_tag "mobile", :media => "only screen and (max-device-width:480px)" %>
|
||||
<%= javascript_include_tag "application" %>
|
||||
<%= Danbooru.config.custom_html_header_content %>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<%= render "sidebar" %>
|
||||
|
||||
<section id="content">
|
||||
<h1>Edit Wiki Page</h1>
|
||||
<h1>Edit Wiki</h1>
|
||||
<%= render "form" %>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<%= render "sidebar" %>
|
||||
|
||||
<section id="content">
|
||||
<h1>Wiki Pages</h1>
|
||||
<h1>Wiki</h1>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<thead>
|
||||
|
||||
Reference in New Issue
Block a user