5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 08:46:21 +00:00

de yapa ya no queremos esto

This commit is contained in:
f 2019-07-25 21:08:37 -03:00
parent 25160186d8
commit 7ed08f8a0d
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
3 changed files with 19 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

View file

@ -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;

View file

@ -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