[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#772963: release-notes: cellphone friendly CSS



Hi Stéphane, hi Niels,

Am 31.01.2015 um 17:14 schrieb Stéphane Blondon:
[...]

I cloned the git as well and worked out another solution for the footer which I
announced in my previous message (suppressing the table and adding a nav element).

Please have a look at the attached files:

(1) ch-whats-new.en.diff	
(2) debian.css

Please comment on any issues you may find. There might be plenty of them :-)

In my next message I will propose some new designs for the home and the arrow
icons.

Kind regards

Stephan
Index: ch-whats-new.en_a.html
===================================================================
--- ch-whats-new.en_a.html	(Revision 1)
+++ ch-whats-new.en_a.html	(Arbeitskopie)
@@ -212,4 +212,4 @@
 shipped with Stretch.  See the <a class="ulink" href="http://wiki.debian.org/Teams/MySQL"; target="_top">Debian MySQL Team wiki page</a>
 for more information.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idp38757168"></a>2.2.7. PHP applications</h3></div></div></div><p>The Horde Application Framework is available in Jessie, via
   the <code class="systemitem">php-horde</code><a id="idp38758640" class="indexterm"></a> package.
-  </p></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch-about.en.html"><img src="images/prev.png" alt="Prev" /></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch-installing.en.html"><img src="images/next.png" alt="Next" /></a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. Introduction </td><td width="20%" align="center"><a accesskey="h" href="index.en.html"><img src="images/home.png" alt="Home" /></a></td><td width="40%" align="right" valign="top"> Chapter 3. Installation System</td></tr></table></div></body></html>
\ No newline at end of file
+  </p></div></div></div><div class="navfooter"><hr /><nav><ul><li class="prev"><a accesskey="p" href="ch-about.en.html"><img src="images/prev.png" alt="Prev" /></a>Chapter 1. Introduction</li><li class="home"><a accesskey="h" href="index.en.html"><img src="images/home.png" alt="Home" /></a></li><li class="next">Chapter 3. Installation System<a accesskey="n" href="ch-installing.en.html"><img src="images/next.png" alt="Next" /></a></li></ul></nav></div></body></html>
\ No newline at end of file
/* Cascading stylesheet for the Debian Installer Installation Guide */

/* global style of the page */
body {
    background-color: #EEEEEE;
    border: 40px solid #EEEEEE;
    margin: 0;
    padding: 0 10px;
    font-family: "liberation sans", "Myriad ", "Bitstream Vera Sans", "Lucida Grande", "Luxi Sans", "Trebuchet MS", helvetica, verdana, arial, sans-serif;
    line-height: 1.2em;
}

@media (max-width: 5in), (max-device-width: 5in) {
    body {
        border: 0px;
        padding: 0px;
    }
}

body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part {
    margin-top: 0;
    padding: 2em 6em 6em;
}
body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part {
    padding: 2em;
}

body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index {
    background-color: #FFFFFF;
    margin: 40px auto 4em;
    padding: 1px 40px 20px 30px;
}

@media (max-width: 1024px) {
    body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index {
        max-width: 45em;
    }
}
@media (min-width: 1025px) {
    body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index {
        max-width: 70em;
    }
}
@media (max-width: 5in), (max-device-width: 5in) {
    body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index {
        max-width: 100%;
    }
}

hr {
    border-top: 1px dotted #808080;
    margin: 0;
}

a:link {
    color: #0035C7;
    text-decoration: none;
}
a:visited {
    color: #00207A;
    text-decoration: none;
}
a:link:hover {
    color: #00207A;
    text-decoration: underline;
}

code {
    font-family: "liberation mono","bitstream vera mono","dejavu mono",monospace;
    font-weight: bold;
    word-wrap: break-word;
}

h1 {
    color: #C70036;
    line-height: 1.1em;
}

h2, h3, h4, h5, h6 {
    color: #C70036;
}

@media (max-width: 5in), (max-device-width: 5in){
    dl, dt, dd {
        margin-left: 0.25em;
    }

    ul, ol {
        padding-left: 1.5em;
    }
}


/* for first page */
.book > .titlepage h1.title {
    text-align: center;
}
.titlepage h1.title {
    text-align: left;
}

.authorgroup div {
    text-align: center;
}


/* table in content */

.informaltable table {
    border: 1px solid #AAAAAA;
}

.informaltable table th {
    border-width: 0;
    background-color: #C70036;
}

.informaltable table td {
    border-width: 0;
}

.informaltable tbody tr:nth-child(even) {
background-color:#DDDDDD;
}

.informaltable tbody tr:hover {
    background-color:#666666;
    color: #FFFFFF;
}



/* Terminal examples */
pre.screen {
    -moz-tab-size: 4;
    background-color: #F5F5F5;
    border-radius: 11px 11px 11px 11px;
    border-style: none;
    box-shadow: 0 2px 5px #AAAAAA inset;
    color: #000000;
    display: block;
    font-family: "liberation mono","bitstream vera mono","dejavu mono",monospace;
    font-size: 0.9em;
    margin-bottom: 1em;
    padding: 0.5em 1em;
    page-break-inside: avoid;
    white-space: pre-wrap;
    word-wrap: break-word;
}


/* Navigation elements */
.navheader a, .navfooter a {
    opacity: 0.50;
    transition: opacity 0.15s ease-in-out;
}
.navheader a:hover, .navfooter a:hover {
    opacity: 1;
}

.navheader, .navfooter {
    background-image: url('images/draft.png');
    background-repeat: no-repeat;
    background-position: top left;
}

.navheader > table {
    background-image: url('images/draft.png');
}

.navfooter > nav {
    background-image: url('images/draft.png');
    padding-top: 0.025em;
    
}

.navfooter > nav > ul {
	 text-align: center;
}

.navfooter > nav > ul > li {
	 display: inline-block;
}

.navfooter > nav > ul > .prev {
	 position: relative; right: 13.50em;
}

.navfooter > nav > ul > .home {
	 
}

.navfooter > nav > ul > .next {
	 position: relative; left: 11em;	
}

@media (max-width: 5in), (max-device-width: 5in) {
    .navfooter > nav {
    	  font-size: 0;
	}
    .navfooter > nav > ul > li.prev {
		  float: left;
	}
	 .navfooter > nav > ul > li.next {
	 	  float: right;
	}
}

/* Infos blocks */
.important, .caution, .note {
    margin-left: 2em;
    margin-right: 2em;
}

@media (max-width: 5in), (max-device-width: 5in) {
    .important, .caution, .note {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
}

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: