Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikweb
Commits
598657cb
Commit
598657cb
authored
Aug 22, 2013
by
Simon Daron
Browse files
Program styling
parent
8a40c89c
Changes
3
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/css/general.css
View file @
598657cb
...
...
@@ -32,14 +32,14 @@ h1 { font-size: 6em;}
h2
{
font-size
:
4em
;}
h3
{
font-size
:
3em
;}
h4
{
font-size
:
1.8em
;}
h5
{
font-size
:
1.
3
em
;}
h5
{
font-size
:
1.
1
em
;}
/*Specific rules for text writen by final users */
article
h1
,
.
c
ontent
h1
{
font-size
:
2em
;}
article
h2
,
.
c
ontent
h2
{
font-size
:
1.7em
;}
article
h3
,
.
c
ontent
h3
{
font-size
:
1.5em
;}
article
h4
,
.content
h4
{
font-size
:
1.4em
;}
article
h5
,
.
c
ontent
h5
{
font-size
:
1.3em
;}
article
h1
,
.
userC
ontent
h1
{
font-size
:
2em
;}
article
h2
,
.
userC
ontent
h2
{
font-size
:
1.7em
;}
article
h3
,
.
userC
ontent
h3
{
font-size
:
1.5em
;}
article
h4
,
.c
userC
ontent
h4
{
font-size
:
1.4em
;}
article
h5
,
.
userC
ontent
h5
{
font-size
:
1.3em
;}
h1
,
h2
,
.squashed
{
transform
:
scale
(
0.5
,
1
);
...
...
@@ -150,9 +150,10 @@ ul.inline li{
.tabs
nav
ul
{
display
:
table
;
width
:
100%
;
display
:
table
;
width
:
100%
;
text-align
:
center
;
margin-bottom
:
2em
;
}
.tabs
nav
ul
li
{
display
:
table-cell
;
...
...
@@ -160,6 +161,12 @@ ul.inline li{
text-align
:
center
;
}
.tabs
a
.active
{
opacity
:
1
;
text-decoration
:
none
;
border-bottom
:
2px
solid
black
;
}
.todo
:hover
,
.todo
*
:hover
{
text-decoration
:
line-through
;
color
:
red
!important
;
...
...
panikweb_templates/static/js/specifics.js
View file @
598657cb
...
...
@@ -2,6 +2,7 @@ $(function() {
$
(
"
.tabs
"
).
each
(
function
()
{
var
self
=
$
(
this
);
$
(
this
).
find
(
"
.content:not(:first)
"
).
hide
();
$
(
this
).
find
(
"
nav a:first
"
).
addClass
(
"
active
"
);
$
(
this
).
find
(
"
nav a
"
).
each
(
function
()
{
$
(
this
).
click
(
function
(
e
)
{
e
.
preventDefault
();
...
...
panikweb_templates/templates/program.html
View file @
598657cb
...
...
@@ -11,12 +11,12 @@
</ul>
</nav>
{% for day in days %}
<div
class=
"content
padded
"
id=
"Program-tabs-{{ day.datetime|date:"
w
"
}}"
>
<div
class=
"content"
id=
"Program-tabs-{{ day.datetime|date:"
w
"
}}"
>
<ul
class=
"custom emission-list list"
>
{% if day.schedules %}
{% for schedule in day.schedules %}
<li
>
<div
class=
"date dateBloc"
>
<div
class=
"date dateBloc
left
"
>
<div
class=
"time"
>
{{ schedule.datetime|date:"H:i" }}
</div>
</div>
{% include "emissions/inline.html" with emission=schedule.emission %}
...
...
Write
Preview
Markdown
is supported
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