Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
work.balsamine.www
Commits
9d7aecca
Commit
9d7aecca
authored
Sep 28, 2017
by
colm
Browse files
a condition in the template to start on
#15
, needs design
parent
08526eea
Pipeline
#36
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
theme/balsamine/static/css/balsa.css
View file @
9d7aecca
...
...
@@ -596,6 +596,11 @@ p.newsletter-signup{
.is-swiped
.schedule__head
h1
{
display
:
block
;
}
}
.schedule__category
{
position
:
absolute
;
transform
:
rotate
(
-90deg
);
left
:
-20px
;
}
.schedule
sup
,
.schedule
sub
{
margin-left
:
1px
;
...
...
theme/balsamine/templates/partials/event.html
View file @
9d7aecca
<article
id=
"{{ article.slug }}"
class=
"schedule__item"
style=
'background: -webkit-linear-gradient({{ article.date|strftime('
%
d
%
m
')
}}
deg
,
{{
article.color
}}
0%,
transparent
70%);
background:
linear-gradient
({{
article.date
|
strftime
('%
d
%
m
')
}}
deg
,
{{
article.color
}}
0%,
transparent
70%);
top:
100%,
url
("/
images
/
damier.png
");
top:
0;'
data-color=
"{{ article.color }}"
>
<header
class=
"schedule__header"
>
<h1
class=
"schedule__title"
><a
href=
"{{ SITEURL }}/{{ article.url }}"
rel=
"bookmark"
title=
"Permalink to {{ article.title|striptags }}"
>
{{ article.title }}
</a></h1>
<p
class=
"schedule__category"
>
{% if article.category %}
{% if article.category == "saison-17-18" %}
{% else %}
{{article.category}}
{% endif %}
{% endif %}
</p>
<p
class=
"schedule__authors"
>
{% if article.piece_authors %}
{% for author in article.piece_authors %}{% if loop.index > 1 %}/
​
{% endif %}{{ author }}{% endfor %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment