mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
moar fixes
This commit is contained in:
parent
34d775aac6
commit
aa092cc930
5 changed files with 88 additions and 73 deletions
|
@ -6,7 +6,7 @@
|
|||
.header-Base{
|
||||
background:#65a0ad;
|
||||
border-bottom:6px solid #e93250;
|
||||
min-height:47px;
|
||||
min-height:42px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
|
@ -181,11 +181,16 @@
|
|||
.status-Nav{
|
||||
float:right;
|
||||
|
||||
li{float:left}
|
||||
|
||||
@media (max-device-width:480px), screen and (max-width:800px){
|
||||
float:none;
|
||||
}
|
||||
|
||||
li{
|
||||
float:left;
|
||||
@media (max-device-width:480px), screen and (max-width:800px){
|
||||
float:none
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// hp CSS
|
||||
|
@ -261,7 +266,10 @@
|
|||
}
|
||||
|
||||
.interior .header-Nav{
|
||||
padding-left:70px
|
||||
padding-left:70px;
|
||||
@media (max-device-width:480px), screen and (max-width:800px){
|
||||
width:100%;
|
||||
}
|
||||
}
|
||||
|
||||
.interior .constant-Nav{margin:0}
|
||||
|
|
|
@ -934,7 +934,7 @@ a {
|
|||
.header-Base {
|
||||
background: #65a0ad;
|
||||
border-bottom: 6px solid #e93250;
|
||||
min-height: 47px;
|
||||
min-height: 42px;
|
||||
overflow: hidden; }
|
||||
|
||||
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
||||
|
@ -1083,10 +1083,13 @@ a {
|
|||
|
||||
.status-Nav {
|
||||
float: right; }
|
||||
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
||||
.status-Nav {
|
||||
float: none; } }
|
||||
.status-Nav li {
|
||||
float: left; }
|
||||
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
||||
.status-Nav {
|
||||
.status-Nav li {
|
||||
float: none; } }
|
||||
|
||||
.hp .header-Base {
|
||||
|
@ -1156,6 +1159,9 @@ a {
|
|||
|
||||
.interior .header-Nav {
|
||||
padding-left: 70px; }
|
||||
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
||||
.interior .header-Nav {
|
||||
width: 100%; } }
|
||||
|
||||
.interior .constant-Nav {
|
||||
margin: 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
|
@ -57,13 +57,13 @@ javascript:
|
|||
|
||||
a href="http://#{current_site.username}.neocities.org" target="_blank": img src="/site_screenshots/#{current_site.username}.jpg"
|
||||
|
||||
h3 style="color: green": a href="http://#{current_site.username}.neocities.org" target="_blank" http://#{current_site.username}.neocities.org
|
||||
h3 class="eps": a href="http://#{current_site.username}.neocities.org" target="_blank" http://#{current_site.username}.neocities.org
|
||||
br
|
||||
|
||||
.progress.progress-info.progress-striped
|
||||
.bar style="width: #{(current_site.total_space / Site::MAX_SPACE.to_f) * 100}%"
|
||||
|
||||
h4 You are currently using #{((current_site.total_space.to_f / Site::MAX_SPACE) * 100).round(1)}% (#{(current_site.total_space.to_f / 2**20).round(2)}MB) of your #{(Site::MAX_SPACE.to_f / 2**20).to_i}MB of free space.
|
||||
h4 class="base": You are currently using #{((current_site.total_space.to_f / Site::MAX_SPACE) * 100).round(1)}% (#{(current_site.total_space.to_f / 2**20).round(2)}MB) of your #{(Site::MAX_SPACE.to_f / 2**20).to_i}MB of free space.
|
||||
|
||||
.row style="margin-top: 20px"
|
||||
.span5
|
||||
|
|
|
@ -11,7 +11,8 @@ javascript:
|
|||
- @site.errors.each do |error|
|
||||
p = error.last.first
|
||||
|
||||
.row
|
||||
.page
|
||||
.row.content
|
||||
.span8.offset3
|
||||
form method="POST" action="/create"
|
||||
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
||||
|
@ -76,4 +77,4 @@ javascript:
|
|||
|
||||
.row style="margin-top: 10px"
|
||||
.span3.offset1
|
||||
input.btn.btn-success.btn-large type="submit" value="Create Home Page"
|
||||
input.btn-Action type="submit" value="Create Home Page"
|
||||
|
|
Loading…
Add table
Reference in a new issue