Rename project to Rivista;
CSS: Improve position of elements; JS: Improve handling of content in erroneous cases; JS: Render post as HTML when XSLT does not render correctly; JS: Handle posts which were tagged as Text instead of HTML and vice versa; XSLT: Adapt to be viewed on browsers with a lack of support; XSLT: Add Support for link elements of attribute "rel"; Python: Add elements author and link of attribute "rel".
This commit is contained in:
parent
040d532fb9
commit
cb4507bb78
8 changed files with 510 additions and 322 deletions
|
@ -1,8 +1,30 @@
|
|||
/*
|
||||
|
||||
TODO
|
||||
|
||||
pubsub: news.movim.eu
|
||||
node: fake-news
|
||||
item: fdef84f5-e3e1-41ea-9b68-af4bb9130f77
|
||||
title: #14October2023EpochEclipse
|
||||
date: Fri, 15 Jan 2021 20:24:46
|
||||
|
||||
*/
|
||||
|
||||
* {
|
||||
color: #eee;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/*
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
*/
|
||||
|
||||
body {
|
||||
background: #000;
|
||||
}
|
||||
|
@ -12,26 +34,26 @@ code, pre {
|
|||
max-height: 100%;
|
||||
max-width: 100%; }
|
||||
|
||||
img, video {
|
||||
img, svg, video {
|
||||
display: block;
|
||||
max-height: 500px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.notice.no-entry {
|
||||
margin: auto;
|
||||
/* margin-left: 2%; */
|
||||
/* margin-top: 2%; */
|
||||
text-align: center;
|
||||
padding-top: 100px;
|
||||
padding-bottom: 150px;
|
||||
}
|
||||
|
||||
h1#title, h2#subtitle, #actions, #references {
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
line-height: 140%;
|
||||
}
|
||||
|
||||
h5.related > a {
|
||||
margin-right: 5px;
|
||||
text-decoration: none;
|
||||
user-select: none;
|
||||
|
||||
}
|
||||
|
||||
h3.title > a {
|
||||
display: block;
|
||||
padding-top: 50px;
|
||||
|
@ -59,24 +81,17 @@ h3.title > a {
|
|||
padding-left: 2%;
|
||||
}
|
||||
|
||||
#menu > ul > li {
|
||||
#menu > ol > li {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#note {
|
||||
line-height: 30px;
|
||||
margin: auto;
|
||||
margin-top: 0.67em;
|
||||
max-width: 70%;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#references {
|
||||
margin-top: 5em;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
#articles {
|
||||
min-height: 80vh;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
@ -91,10 +106,12 @@ h3.title > a {
|
|||
|
||||
#journal {
|
||||
margin: auto;
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
#articles > ul {
|
||||
margin: auto;
|
||||
margin-left: 2%;
|
||||
margin-top: 2%;
|
||||
}
|
||||
|
||||
|
@ -103,10 +120,7 @@ h3.title > a {
|
|||
/* height: 500px; */
|
||||
line-height: 160%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#articles #journal > a {
|
||||
font-weight: bold;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#articles div.content {
|
||||
|
@ -174,7 +188,91 @@ h3.title > a {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@media (max-width: 1525px) {
|
||||
.enclosures {
|
||||
cursor: help;
|
||||
direction: ltr;
|
||||
margin: 5px auto 15px 1%;
|
||||
padding: 15px;
|
||||
padding: 1em;
|
||||
/* background: #222;
|
||||
border: 1px solid GrayText;
|
||||
border-radius: 4px;
|
||||
border-radius: .5em;
|
||||
color: #525c66;
|
||||
border-left: double;
|
||||
max-width: 40%; */
|
||||
}
|
||||
|
||||
.enclosure a {
|
||||
margin: 3px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.enclosure > span[icon='atom']:after,
|
||||
.enclosure > span[icon='html5']:after,
|
||||
.enclosure > span[icon='rss']:after {
|
||||
content: '📰';
|
||||
margin:3px;
|
||||
}
|
||||
|
||||
.enclosure > span.audio:after {
|
||||
content: ' (Audio file) ';
|
||||
}
|
||||
|
||||
.enclosure > span[icon='audio']:after{
|
||||
content: '🎼️';
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
.enclosure > span:after {
|
||||
content: ' (Document file) ';
|
||||
}
|
||||
|
||||
.enclosure > span[icon]:after {
|
||||
content: '📄️';
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
.enclosure > span.executable:after{
|
||||
content: ' (Executable file) ';
|
||||
}
|
||||
|
||||
.enclosure > span[icon='executable']:after {
|
||||
content: '📦️';
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
.enclosure > span.image:after {
|
||||
content: ' (Image file) ';
|
||||
}
|
||||
|
||||
.enclosure > span[icon='image']:after {
|
||||
content: '🖼️';
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
.enclosure > span.video:after {
|
||||
content: ' (Video file) ';
|
||||
}
|
||||
|
||||
.enclosure > span[icon='video']:after {
|
||||
content: '📽️';
|
||||
margin:3px;
|
||||
}
|
||||
|
||||
#note {
|
||||
line-height: 30px;
|
||||
margin: auto;
|
||||
margin-top: 0.67em;
|
||||
max-width: 70%;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
@media (max-width: 1550px) {
|
||||
#articles {
|
||||
display: unset;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue