Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Daron
panikweb
Commits
80b17217
Commit
80b17217
authored
Nov 15, 2017
by
fred
Browse files
adapt topik "large style" for "oh vol"
parent
7f9ed36b
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/css/_specifics.scss
View file @
80b17217
...
...
@@ -1782,8 +1782,23 @@ div.topikcellcontent.topik-large a {
}
div
.topikcellcontent.topik-large
img
{
float
:
left
;
margin-right
:
1em
;
width
:
100%
;
display
:
block
;
}
div
.topikcellcontent.topik-large
a
div
{
@media
screen
and
(
min-width
:
760px
)
{
display
:
flex
;
}
margin-top
:
1ex
;
h2
{
margin-top
:
0
;
white-space
:
nowrap
;
margin-right
:
1ex
;
@media
screen
and
(
max-width
:
760px
)
{
padding-bottom
:
0
;
}
}
}
div
.topikcellcontent
a
{
...
...
panikweb_templates/templates/panikombo/topik-cell.html
View file @
80b17217
...
...
@@ -4,7 +4,7 @@
<a
class=
"block cf"
href=
"{{cell.topik.page.get_online_url}}"
>
<span
class=
"logo"
>
{% if cell.slug == "large" %}
{% thumbnail cell.topik.image "
480x32
0" crop="50% 25%" as im %}
{% thumbnail cell.topik.image "
800x45
0" crop="50% 25%" as im %}
<div
class=
"logo"
>
<img
class=
"normal"
src=
"{{im.url}}"
/>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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