start css
This commit is contained in:
parent
8f18d4eb0c
commit
103ff54e19
3 changed files with 120 additions and 39 deletions
66
assets/css/xml.css
Normal file
66
assets/css/xml.css
Normal file
|
@ -0,0 +1,66 @@
|
|||
/* This CSS stylesheet is an example of how we can style XML with CSS */
|
||||
|
||||
/* Group behavior */
|
||||
channel {
|
||||
display:block;
|
||||
border: 1px solid gray;
|
||||
margin:0.5em;
|
||||
padding:0.5em;
|
||||
background-color:whitesmoke;
|
||||
list-style: none;
|
||||
color: black;
|
||||
}
|
||||
item {
|
||||
display:block;
|
||||
border: 1px solid silver;
|
||||
margin:0.5em;
|
||||
padding:0.5em;
|
||||
background-color:whitesmoke;
|
||||
}
|
||||
|
||||
/* single items */
|
||||
title {
|
||||
color: #ee7402;
|
||||
font-size: 120%;
|
||||
}
|
||||
title:before,
|
||||
link:after{
|
||||
content: '\a';
|
||||
white-space: pre;
|
||||
}
|
||||
title:after{
|
||||
content: '\a\a';
|
||||
white-space: pre;
|
||||
}
|
||||
link{
|
||||
color: navy;
|
||||
text-decoration: underline;
|
||||
}
|
||||
link:before{ content: "Link: "; }
|
||||
description{
|
||||
color: #f94f22;
|
||||
}
|
||||
language:before{ content:" In "; }
|
||||
language:after{ content:"utscher Sprache."; }
|
||||
description:before{ content: "Beschreibung:"; }
|
||||
id,
|
||||
copyright,
|
||||
generator,
|
||||
updated,
|
||||
pubDate,
|
||||
lastBuildDate{ display: none; }
|
||||
itunes\:owner{ display: none; }
|
||||
name {color:red; text-decoration: underline}
|
||||
price {color:green}
|
||||
stock {color:brown}
|
||||
country {color:blue}
|
||||
|
||||
/* IE supports the ID selector also for XML */
|
||||
product#p4 {text-align:right}
|
||||
/* Alternative in: Firefox, Opera, Google Chrome *
|
||||
/product[id=p4] {text-align:right}
|
||||
|
||||
/* IE supports the class attribute for XML */
|
||||
product.special {background-color:mistyrose}
|
||||
/* Alternative in: Firefox, Opera, Google Chrome */
|
||||
product[class=special] {background-color:mistyrose}
|
|
@ -1,6 +1,17 @@
|
|||
{%- set baseurl = "https://podcast.c3woc.de" -%}
|
||||
{%- set search = "eisen" -%}
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href=
|
||||
{%- if '/css/xml.min.css'|asseturl == empty -%}
|
||||
{%- if '/css/xml.css'|asseturl == empty -%}
|
||||
"https://{{ baseurl }}/css/main.min.css"
|
||||
{%- else -%}
|
||||
"{{ '/css/xml.css'|asseturl }}"
|
||||
{%- endif -%}
|
||||
{%- else -%}
|
||||
"{{ '/css/xml.min.css'|asseturl }}"
|
||||
{%- endif -%}
|
||||
type="text/css"?>
|
||||
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
|
||||
<channel>
|
||||
<title type="text">
|
||||
|
@ -27,38 +38,38 @@
|
|||
{%- for page in pages -%}
|
||||
{%- if not page._hidden %}
|
||||
{%- if firstrun == true %}
|
||||
{# #} <pubDate>2019-06-14T00:42:23Z</pubDate>
|
||||
{# #} <lastBuildDate>{{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</lastBuildDate>
|
||||
{# #} <itunes:author>L3D</itunes:author>
|
||||
{# #} <itunes:subtitle>Der Podcast des CCC Waffel Operation Center</itunes:subtitle>
|
||||
{# #} <itunes:summary>
|
||||
{%- if bag('translate', this.alt, 'hefeed_description') -%}
|
||||
{{ bag('translate', this.alt, 'hefeed_description') }}
|
||||
{%- else -%}
|
||||
Der Waffelpodcast: 'Das heisse Eisen'. Mit Venty und L3D.
|
||||
{%- endif -%}
|
||||
</itunes:summary>
|
||||
{# #} <itunes:keywords>
|
||||
{%- if bag('translate', this.alt, 'hefeed_keywords') -%}
|
||||
{{ bag('translate', this.alt, 'hefeed_keywords') }}
|
||||
{%- else -%}
|
||||
Waffel, C3WOC, CCC, Chaos, Waffle, Waffles, Waffeln, VOC, WOC, Operation, Center
|
||||
{%- endif -%}
|
||||
</itunes:keywords>
|
||||
{# #} <itunes:explicit>no</itunes:explicit>
|
||||
{# #} <itunes:owner>
|
||||
{# #} <itunes:name>L3D</itunes:name>
|
||||
{# #} <itunes:email>l3d@c3woc.de</itunes:email>
|
||||
{# #} </itunes:owner>
|
||||
{# #} <itunes:image href="{{ baseurl }}/eisen/c3woc-podcastlogo.svg" />
|
||||
{# #} <itunes:new-feed-url>{{ baseurl }}/podcast-he.xml</itunes:new-feed-url>
|
||||
{# #} <itunes:block>no</itunes:block>
|
||||
{# #} <itunes:category text="Waffel">
|
||||
{# #} <itunes:category text="Chaos"/>
|
||||
{# #} <itunes:category text="CCC"/>
|
||||
{# #} </itunes:category>
|
||||
{%- endif %}
|
||||
{%- set firstrun = false %}
|
||||
{# #} <pubDate>2019-06-14T00:42:23Z</pubDate>
|
||||
{# #} <lastBuildDate>{{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</lastBuildDate>
|
||||
{# #} <itunes:author>L3D</itunes:author>
|
||||
{# #} <itunes:subtitle>Der Podcast des CCC Waffel Operation Center</itunes:subtitle>
|
||||
{# #} <itunes:summary>
|
||||
{%- if bag('translate', this.alt, 'hefeed_description') -%}
|
||||
{{ bag('translate', this.alt, 'hefeed_description') }}
|
||||
{%- else -%}
|
||||
Der Waffelpodcast: 'Das heisse Eisen'. Mit Venty und L3D.
|
||||
{%- endif -%}
|
||||
</itunes:summary>
|
||||
{# #} <itunes:keywords>
|
||||
{%- if bag('translate', this.alt, 'hefeed_keywords') -%}
|
||||
{{ bag('translate', this.alt, 'hefeed_keywords') }}
|
||||
{%- else -%}
|
||||
Waffel, C3WOC, CCC, Chaos, Waffle, Waffles, Waffeln, VOC, WOC, Operation, Center
|
||||
{%- endif -%}
|
||||
</itunes:keywords>
|
||||
{# #} <itunes:explicit>no</itunes:explicit>
|
||||
{# #} <itunes:owner>
|
||||
{# #} <itunes:name>L3D</itunes:name>
|
||||
{# #} <itunes:email>l3d@c3woc.de</itunes:email>
|
||||
{# #} </itunes:owner>
|
||||
{# #} <itunes:image href="{{ baseurl }}/eisen/c3woc-podcastlogo.svg" />
|
||||
{# #} <itunes:new-feed-url>{{ baseurl }}/podcast-he.xml</itunes:new-feed-url>
|
||||
{# #} <itunes:block>no</itunes:block>
|
||||
{# #} <itunes:category text="Waffel">
|
||||
{# #} <itunes:category text="Chaos"/>
|
||||
{# #} <itunes:category text="CCC"/>
|
||||
{# #} </itunes:category>
|
||||
{%- endif %}
|
||||
{%- set firstrun = false %}
|
||||
{# #} <item>
|
||||
{# #} <title>{{ page.title }}</title>
|
||||
{# #} <link>{{ baseurl }}/{{ search }}/{{ page._id }}/</link>
|
||||
|
|
|
@ -18,13 +18,17 @@
|
|||
<link rel="stylesheet" href="{{ '/css/font-awesome.min.css'|asseturl }}" />
|
||||
<link rel="stylesheet" href="{{ '/fonts/roboto.css'|asseturl }}" />{%
|
||||
endif %}
|
||||
<link rel="stylesheet" href={%
|
||||
if '/css/main.min.css'|asseturl == empty %}{%
|
||||
if '/css/main.css'|asseturl == empty %}"https://{{ fqdn }}/css/main.min.css"{%
|
||||
else %}"{{ '/css/main.css'|asseturl }}"{%
|
||||
endif %}{%
|
||||
else %}"{{ '/css/main.min.css'|asseturl }}"{%
|
||||
endif %} />
|
||||
<link rel="stylesheet" href=
|
||||
{%- if '/css/main.min.css'|asseturl == empty -%}
|
||||
{%- if '/css/main.css'|asseturl == empty -%}
|
||||
"https://{{ fqdn }}/css/main.min.css"
|
||||
{%- else -%}
|
||||
"{{ '/css/main.css'|asseturl }}"
|
||||
{%- endif -%}
|
||||
{%- else -%}
|
||||
"{{ '/css/main.min.css'|asseturl }}"
|
||||
{%- endif -%}
|
||||
/>
|
||||
<!--[if lte IE 9]><link rel="stylesheet" href={%
|
||||
if '/css/ie9.min.css'|asseturl == empty %}"https://{{ fqdn }}/css/ie9.min.css"{%
|
||||
else %}"{{ '/css/ie9.min.css'|asseturl }}"{%
|
||||
|
|
Loading…
Reference in a new issue