changement du pastebin (detail)

mise à jour du SASS
This commit is contained in:
deed 2019-07-26 14:22:45 +02:00
parent 8c601c23a2
commit e3723962dd
2 changed files with 31 additions and 24 deletions

View file

@ -10,6 +10,9 @@
{% block title %}{% trans "Untitled" as untitled %}{{ paste.title|default:untitled }}{% endblock %} {% block title %}{% trans "Untitled" as untitled %}{{ paste.title|default:untitled }}{% endblock %}
{% block content %} {% block content %}
<div class="column is-light">
<article class="tile is-child notification is-white">
{% if paste.is_suspended %} {% if paste.is_suspended %}
{% else %} {% else %}
{% trans "Untitled" as untitled %} {% trans "Untitled" as untitled %}
@ -29,7 +32,12 @@
{% blocktrans with date=paste.expire_on %}Expires on {{ date }}{% endblocktrans %} {% blocktrans with date=paste.expire_on %}Expires on {{ date }}{% endblocktrans %}
{% endif %} {% endif %}
</p> </p>
</article>
<article class="tile is-child notification is-paste">
{{ paste.formated_content|safe }} {{ paste.formated_content|safe }}
{% endif %} {% endif %}
</article>
</div>
{% endblock %} {% endblock %}

View file

@ -15,6 +15,9 @@ $text-light: #2d1040
//couleur du fond //couleur du fond
$background: #AFAED6 $background: #AFAED6
$success: turquoise
// 3. Import the rest of Bulma // 3. Import the rest of Bulma
@import "./node_modules/bulma/bulma" @import "./node_modules/bulma/bulma"
@ -186,6 +189,10 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
background-color: $link-hover background-color: $link-hover
color: white color: white
.button.is-success, .button.is-sucess:hover
color: white
//footer //footer
@media screen and (min-width: 1088px) @media screen and (min-width: 1088px)
.footer .footer
@ -311,6 +318,8 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
background-color: white background-color: white
color: $text-light color: $text-light
padding: 1rem 1rem 1rem 1rem padding: 1rem 1rem 1rem 1rem
text-align: left
max-width: 160ch
.tile.is-light .title, .tile.is-light a:link .tile.is-light .title, .tile.is-light a:link
color: $link color: $link
@ -345,40 +354,30 @@ html.has-navbar-fixed-top, body.has-navbar-fixed-top
width: 0rem width: 0rem
display: block display: block
//tile pour le logo fixe
//tile pour le logo
@media screen and (min-width: 770px) @media screen and (min-width: 770px)
.tile.is-success .tile.is-fixed
position: fixed position: fixed
.tile.is-success .tile.is-fixed
background-color: transparent background-color: transparent
.tile.is-success .title .tile.is-fixed .title
color: $link color: $link
//tile pour le pastebin
.tile.is-paste
overflow: scroll hidden
background-color: white
//colonne //colonne
//colonne index //colonne index et page
@media screen and (min-width: 770px) .column.is-primary .title, .column.is-primary .subtitle
.column.is-primary .image, .column.is-primary .title
//position: fixed
//top: 50%
//left: 0
.column.is-primary, .column.is-primary .image
text-align: center
.column.is-primary .title
color: $link
//colonne pour les pages
.column.is-success
margin: 1rem
.column.is-success .title, .column.is-success .subtitle
color: $link color: $link
text-align: center text-align: center
.column.is-primary, .column.is-primary .image
text-align: center
//section retreci //section retreci
.section .section