mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
browse page
additional layout tweaks to browse page
This commit is contained in:
parent
10aab778ef
commit
dd5189ab8c
4 changed files with 11 additions and 3 deletions
|
@ -20,7 +20,11 @@
|
||||||
// to absolutely make sure there is no extra margin, 0!important is used
|
// to absolutely make sure there is no extra margin, 0!important is used
|
||||||
padding-left:$spacing*5;
|
padding-left:$spacing*5;
|
||||||
position:relative;
|
position:relative;
|
||||||
width:100%; // default width is 100%.
|
width:100%; // default width is 100%
|
||||||
|
@media (max-device-width:480px), screen and (max-width:800px){
|
||||||
|
float:none;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert columns to inline-blocks so we can center them when our row does not add up to 100%
|
// Convert columns to inline-blocks so we can center them when our row does not add up to 100%
|
||||||
|
|
|
@ -219,6 +219,10 @@ table {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
||||||
|
.col {
|
||||||
|
float: none;
|
||||||
|
padding: 0; } }
|
||||||
|
|
||||||
.c-Row {
|
.c-Row {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
|
|
2
public/assets/css/neo.min.css
vendored
2
public/assets/css/neo.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
<% if params[:sort_by] != 'random' %>
|
<% if params[:sort_by] != 'random' %>
|
||||||
<% if @page_count > 1 %>
|
<% if @page_count > 1 %>
|
||||||
<div >
|
<div class="txt-Center content eps">
|
||||||
<% if @current_page != 1 %>
|
<% if @current_page != 1 %>
|
||||||
<a href="#" onclick="getPage(<%= @current_page - 1 %>); return false"><i class="icon-arrow-left" style="text-decoration: none"></i></a>
|
<a href="#" onclick="getPage(<%= @current_page - 1 %>); return false"><i class="icon-arrow-left" style="text-decoration: none"></i></a>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue