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 baseurl = "https://podcast.c3woc.de" -%}
|
||||||
{%- set search = "eisen" -%}
|
{%- set search = "eisen" -%}
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
|
||||||
<channel>
|
<channel>
|
||||||
<title type="text">
|
<title type="text">
|
||||||
|
|
|
@ -18,13 +18,17 @@
|
||||||
<link rel="stylesheet" href="{{ '/css/font-awesome.min.css'|asseturl }}" />
|
<link rel="stylesheet" href="{{ '/css/font-awesome.min.css'|asseturl }}" />
|
||||||
<link rel="stylesheet" href="{{ '/fonts/roboto.css'|asseturl }}" />{%
|
<link rel="stylesheet" href="{{ '/fonts/roboto.css'|asseturl }}" />{%
|
||||||
endif %}
|
endif %}
|
||||||
<link rel="stylesheet" href={%
|
<link rel="stylesheet" href=
|
||||||
if '/css/main.min.css'|asseturl == empty %}{%
|
{%- if '/css/main.min.css'|asseturl == empty -%}
|
||||||
if '/css/main.css'|asseturl == empty %}"https://{{ fqdn }}/css/main.min.css"{%
|
{%- if '/css/main.css'|asseturl == empty -%}
|
||||||
else %}"{{ '/css/main.css'|asseturl }}"{%
|
"https://{{ fqdn }}/css/main.min.css"
|
||||||
endif %}{%
|
{%- else -%}
|
||||||
else %}"{{ '/css/main.min.css'|asseturl }}"{%
|
"{{ '/css/main.css'|asseturl }}"
|
||||||
endif %} />
|
{%- endif -%}
|
||||||
|
{%- else -%}
|
||||||
|
"{{ '/css/main.min.css'|asseturl }}"
|
||||||
|
{%- endif -%}
|
||||||
|
/>
|
||||||
<!--[if lte IE 9]><link rel="stylesheet" href={%
|
<!--[if lte IE 9]><link rel="stylesheet" href={%
|
||||||
if '/css/ie9.min.css'|asseturl == empty %}"https://{{ fqdn }}/css/ie9.min.css"{%
|
if '/css/ie9.min.css'|asseturl == empty %}"https://{{ fqdn }}/css/ie9.min.css"{%
|
||||||
else %}"{{ '/css/ie9.min.css'|asseturl }}"{%
|
else %}"{{ '/css/ie9.min.css'|asseturl }}"{%
|
||||||
|
|
Loading…
Reference in a new issue