redesign improvements

This commit is contained in:
Astro 2013-11-12 21:08:04 +01:00
parent 6290023bfc
commit 60cbe89821
2 changed files with 17 additions and 6 deletions

View File

@ -56,6 +56,7 @@ pre {
/* -- Navigation -- */ /* -- Navigation -- */
/* TODO: should overlap background image */
#navigation { #navigation {
text-align: left; text-align: left;
margin: 0; margin: 0;
@ -117,6 +118,7 @@ pre {
#content.portalcontainer { #content.portalcontainer {
max-width: inherit; max-width: inherit;
padding: 0 0 4em; padding: 0 0 4em;
text-align: center;
} }
#content p { #content p {
@ -414,12 +416,14 @@ abbr.dtstart, abbr.dtend {
overflow: hidden; overflow: hidden;
text-align: left; text-align: left;
vertical-align: middle; vertical-align: middle;
margin: 0 -0.3em 0 0; margin: 0.3em 0 0 0;
padding: 0;
} }
#portal article > a { #portal article > a {
display: block; display: block;
border-bottom: none; border-bottom: none;
margin: 0; margin: 0;
padding: 0;
width: 14.5em; width: 14.5em;
height: 14.5em; height: 14.5em;
} }
@ -439,9 +443,8 @@ abbr.dtstart, abbr.dtend {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
font-weight: 100; font-weight: 100;
background-color: black; background-color: rgba(0, 0, 0, 0.6);
color: white; color: white;
opacity: 0.7;
z-index: 2; z-index: 2;
} }
/* <header/> */ /* <header/> */
@ -468,13 +471,14 @@ abbr.dtstart, abbr.dtend {
#portal h4 { #portal h4 {
position: absolute; position: absolute;
left: 0; left: 0;
top: 1em; top: 1.2rem;
padding: 0.2em 0.1em;
line-height: 0.9em; line-height: 0.9em;
font-size: x-large; font-size: x-large;
font-weight: bold; font-weight: bold;
letter-spacing: 0; letter-spacing: 0;
color: #333; color: #222;
text-shadow: -1px 0 1.5px white, 0 1px 1.5px white, 1px 0 1.5px white, 0 -1px 1.5px white; text-shadow: -1.5px 0 1px white, 0 1.5px 1px white, 1.5px 0 1px white, 0 -1.5px 1px white;
} }
#portal article:hover h4 { #portal article:hover h4 {
color: black; color: black;

View File

@ -314,6 +314,13 @@
</xsl:call-template> </xsl:call-template>
</article> </article>
<!-- TODO:
chaosupdates
pentaradios?
space status
wiki in only 1 tile?
-->
<!-- All items... --> <!-- All items... -->
<xsl:apply-templates select="item[position() &lt;= 32]"/> <xsl:apply-templates select="item[position() &lt;= 32]"/>
</section> </section>