mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 08:56:21 +00:00
de yapa ya no queremos esto
This commit is contained in:
parent
25160186d8
commit
7ed08f8a0d
3 changed files with 19 additions and 8 deletions
Binary file not shown.
Before Width: | Height: | Size: 92 KiB |
|
@ -55,7 +55,6 @@ ol.breadcrumb {
|
||||||
|
|
||||||
|
|
||||||
.background-cover {
|
.background-cover {
|
||||||
background: image-url("background.jpg") no-repeat center center fixed;
|
|
||||||
-webkit-background-size: cover;
|
-webkit-background-size: cover;
|
||||||
-moz-background-size: cover;
|
-moz-background-size: cover;
|
||||||
-o-background-size: cover;
|
-o-background-size: cover;
|
||||||
|
|
|
@ -1,14 +1,26 @@
|
||||||
!!!
|
!!!
|
||||||
%html
|
%html
|
||||||
%head
|
%head
|
||||||
%meta{content: "text/html; charset=UTF-8", 'http-equiv': "Content-Type"}/
|
%meta{ content: 'text/html; charset=UTF-8',
|
||||||
|
'http-equiv': 'Content-Type' }/
|
||||||
%title Sutty
|
%title Sutty
|
||||||
|
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
|
= stylesheet_link_tag 'application', media: 'all',
|
||||||
= javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
|
'data-turbolinks-track': 'reload'
|
||||||
|
= javascript_include_tag 'application',
|
||||||
|
'data-turbolinks-track': 'reload'
|
||||||
|
|
||||||
- if @site.try(:persisted?) && @site.try(:config).try(:dig, 'css')
|
- if @site.try(:persisted?) && @site.try(:config).try(:dig, 'css')
|
||||||
%link{rel: 'stylesheet', type: 'text/css', href: @site.get_url_from_site(@site.config.dig('css'))}
|
%link{ rel: 'stylesheet',
|
||||||
- style = "background-image: url(#{@site.try(:cover) || image_url('background.jpg')})"
|
type: 'text/css',
|
||||||
%body{class: @has_cover ? 'background-cover' : '', style: @has_cover ? style : ''}
|
href: @site.get_url_from_site(@site.config.dig('css')) }
|
||||||
#sutty.container-fluid
|
|
||||||
|
- style = "background-image: url(#{@site.try(:cover)})"
|
||||||
|
-# haml-lint:disable InlineStyles
|
||||||
|
%body{ class: @has_cover ? 'background-cover' : '',
|
||||||
|
style: @has_cover ? style : '' }
|
||||||
|
|
||||||
|
.container-fluid#sutty
|
||||||
= yield
|
= yield
|
||||||
|
-# haml-lint:enable InlineStyles
|
||||||
|
|
Loading…
Reference in a new issue