simple mobile friendlyness
This commit is contained in:
parent
4ca7c86ec5
commit
20cb72c864
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,4 +2,5 @@
|
|||||||
/media/
|
/media/
|
||||||
/options.ini
|
/options.ini
|
||||||
/database.*
|
/database.*
|
||||||
|
migrations
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
@ -38,21 +38,40 @@ body
|
|||||||
border-bottom: 0
|
border-bottom: 0
|
||||||
padding: 8px
|
padding: 8px
|
||||||
margin: 0
|
margin: 0
|
||||||
|
word-wrap: break-word
|
||||||
.content
|
.content
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
border: 2px solid #d0d0d0
|
border: 2px solid #d0d0d0
|
||||||
padding: 10px
|
padding: 10px
|
||||||
&.columns
|
&.columns
|
||||||
position: relative
|
position: relative
|
||||||
|
overflow: hidden
|
||||||
.column
|
.column
|
||||||
position: absolute
|
|
||||||
left: 0px
|
|
||||||
top: 0
|
|
||||||
right: 0
|
|
||||||
bottom: 0
|
|
||||||
&.primary
|
&.primary
|
||||||
width: 80%
|
width: 80%
|
||||||
&.smaller
|
&.smaller
|
||||||
width: 20%
|
width: 20%
|
||||||
right: 0
|
float: right
|
||||||
left: auto
|
|
||||||
|
@media all and (max-width: 800px)
|
||||||
|
.logo
|
||||||
|
font-size: 5vw !important
|
||||||
|
.blocklayout
|
||||||
|
&.columns
|
||||||
|
.column
|
||||||
|
position: initial
|
||||||
|
display: block
|
||||||
|
&.primary
|
||||||
|
width: initial
|
||||||
|
&.smaller
|
||||||
|
display: none
|
||||||
|
.block
|
||||||
|
margin: 0
|
||||||
|
margin-bottom: 10px
|
||||||
|
border: none
|
||||||
|
box-shadow: none
|
||||||
|
.content, h1
|
||||||
|
border: none
|
||||||
|
.show-promo
|
||||||
|
display: block
|
||||||
|
margin: 5px auto
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="blocklayout columns">
|
<div class="blocklayout columns">
|
||||||
|
<div class="column smaller">
|
||||||
|
<div class="block">
|
||||||
|
<h1>Donate</h1>
|
||||||
|
<div class="content">
|
||||||
|
<p>Donate to Icy Network to help us keep up our communities.</p>
|
||||||
|
<a href="https://icynet.eu/donate">Click Here to Donate</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="column primary">
|
<div class="column primary">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<h1>Welcome to Episodes.Community!</h1>
|
<h1>Welcome to Episodes.Community!</h1>
|
||||||
@ -23,15 +33,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="column smaller">
|
|
||||||
<div class="block">
|
|
||||||
<h1>Donate</h1>
|
|
||||||
<div class="content">
|
|
||||||
<p>Donate to Icy Network to help us keep up our communities.</p>
|
|
||||||
<a href="https://icynet.eu/donate">Click Here to Donate</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user