wip: mobile layout, remove is_deleted constraint by default
This commit is contained in:
3
app/assets/stylesheets/mobile/020_base.css.scss
Normal file
3
app/assets/stylesheets/mobile/020_base.css.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
body {
|
||||
width: 100%;
|
||||
}
|
||||
4
app/assets/stylesheets/mobile/main_layout.css.scss
Normal file
4
app/assets/stylesheets/mobile/main_layout.css.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
div#page {
|
||||
overflow: visible;
|
||||
margin: 0 5px;
|
||||
}
|
||||
33
app/assets/stylesheets/mobile/page_header.css.scss
Normal file
33
app/assets/stylesheets/mobile/page_header.css.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
@import "../common/000_vars.css.scss";
|
||||
|
||||
header#top {
|
||||
h1 {
|
||||
font-size: 2.5em;
|
||||
margin: 5px 5px 0 5px;
|
||||
}
|
||||
|
||||
menu {
|
||||
margin-top: -2px;
|
||||
background: $menu_color;
|
||||
padding: 3px 10px;
|
||||
|
||||
li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li a {
|
||||
padding: 6px 10px;
|
||||
}
|
||||
}
|
||||
|
||||
menu.main {
|
||||
margin-top: 0px;
|
||||
background: white;
|
||||
|
||||
li.current a {
|
||||
background: $menu_color;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
div.paginator {
|
||||
font-size: 3em;
|
||||
}
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
a.search-inc-tag {
|
||||
display: none;
|
||||
}
|
||||
@import "../common/000_vars.css.scss";
|
||||
|
||||
a.search-exl-tag {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post-count {
|
||||
display: none;
|
||||
}
|
||||
|
||||
section#mode-box {
|
||||
display: none;
|
||||
article.post-preview {
|
||||
height: 150px;
|
||||
width: 150px;
|
||||
margin-right: 5px;
|
||||
margin-bottom: 5px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
@include inline-block;
|
||||
}
|
||||
Reference in New Issue
Block a user