web/html/docs/selinux-user-guide/f10/en-US/Common_Content/css common.css, 1.1, 1.2

Murray McAllister mdious at fedoraproject.org
Sat Jan 24 03:48:33 UTC 2009


Author: mdious

Update of /cvs/fedora/web/html/docs/selinux-user-guide/f10/en-US/Common_Content/css
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23851/selinux-user-guide/f10/en-US/Common_Content/css

Modified Files:
	common.css 
Log Message:
- updating content for multi-page HTML.
- adding single-page HTML content.
- adding PDF.
- updating index.php to reflect above mentioned changes.



Index: common.css
===================================================================
RCS file: /cvs/fedora/web/html/docs/selinux-user-guide/f10/en-US/Common_Content/css/common.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- common.css	24 Nov 2008 22:43:13 -0000	1.1
+++ common.css	24 Jan 2009 03:48:03 -0000	1.2
@@ -31,7 +31,7 @@
 
 /* desktop styles */
 body.desktop {
-	margin-left: 24em;
+	margin-left: 26em;
 }
 
 body.desktop .book > .toc {
@@ -44,14 +44,13 @@
 	left:0px;
 	padding-left:1em;
 	background-color:#EEEEEE;
-	font-size: 0.8em;
 }
 
 .toc {
 	line-height:1.35em;
 }
 
-.toc .chapter {
+.toc .chapter, .toc .appendix, .toc .glossary {
 	margin-top:1em;
 }
 
@@ -60,6 +59,11 @@
 	display:block;
 }
 
+span.appendix, span.glossary {
+	display:block;
+	margin-top:0.5em;
+}
+
 div {
 	padding-top:0px;
 }
@@ -68,7 +72,7 @@
 	padding-top:1em;
 }
 
-p {
+p, div.para, div.formalpara {
 	padding-top:0px;
 	margin-top:0.3em;
 	padding-bottom:0px;
@@ -93,7 +97,7 @@
 	color:#999;
 }
 
-.toc a {
+.toc a, .qandaset a {
 	font-weight:normal;
 }
 
@@ -226,7 +230,7 @@
 	text-decoration: none;
 }
 
-.languages li p {
+.languages li p, .languages li div.para {
 	display:inline;
 }
 
@@ -248,14 +252,13 @@
 
 /*unique to the webpage only*/
 .article ul {
-	margin:0em;
 	padding-left:2em;
+	list-style: disc;
 }
 
 .article li {
 	margin:0em;
 	padding-left:0em;
-	list-style: disc;
 }
 
 .books {
@@ -375,7 +378,7 @@
 	text-align:left;
 }
 
-.revhistory tr td p {
+.revhistory tr td p, .revhistory tr td div.para {
 	text-align:left;
 	font-weight:bold;
 	display:block;
@@ -410,17 +413,23 @@
 	padding: 0em;
 	margin: 0em;
 	padding-top: 1em;
+	margin-top: 1em;
 }
 
 .author, 
 .editor, 
 .translator, 
-.othercredit {
-	display:block;
+.othercredit,
+.contrib {
+	display: block;
+}
+
+.revhistory .author {
+	display: inline;
 }
 
 .othercredit h3 {
-	padding-top:1em;
+	padding-top: 1em;
 }
 
 
@@ -436,9 +445,10 @@
 .copyright {
 	margin-top: 1em;
 }
+
 /* qanda sets */
 .answer {
-	padding-bottom:1em;
+	margin-bottom:1em;
 	border-bottom:1px dotted #ccc;
 }
 
@@ -464,20 +474,23 @@
 }
 
 /* inline syntax highlighting */
+
+/* inline syntax highlighting */
 .hl-keyword {
 	color: #002F5D;
 }
 
 .hl-string {
-	color: #00774B;
+	color: #5C3566;
 }
 
 .hl-comment {
-	color: #DAD9AD;
+	color: #FF00FF;
 }
 
 .hl-tag {
-	color: #002F5D;
+	color: #A62C2C;
+	font-weight:bold;
 }
 
 .hl-attribute {
@@ -485,11 +498,11 @@
 }
 
 .hl-value {
-	color: #4E376B;
+	color: #5C3566;
 }
 
 .hl-html {
-	color:#002F5D;
+	color: #002F5D;
 }
 
 .hl-xslt {
@@ -500,7 +513,30 @@
 	color: #00774B;
 }
 
+.hl-directive {
+	color: #4E9A06;
+
+}
+
+.hl-doctype {
+	color: #CE5C00;
+
+}
+
+.hl-annotation {
+	color: #CE5C00;
 
+}
+
+.hl-number {
+	color: #CE5C00;
+
+}
+
+.hl-doccomment {
+	color: #CE5C00;
+
+}
 
 /*Lists*/
 ul {
@@ -519,6 +555,22 @@
 	list-style-type: decimal;
 }
 
+ol.loweralpha {
+	list-style-type: lower-alpha;
+}
+
+ol.lowerroman {
+	list-style-type: lower-roman;
+}
+
+ol.upperalpha {
+	list-style-type: upper-alpha;
+}
+
+ol.upperroman {
+	list-style-type: upper-roman;
+}
+
 dt {
 	font-weight:bold;
 	margin-bottom:0em;
@@ -529,6 +581,7 @@
 	margin:0em;
 	margin-left:2em;
 	padding-top:0em;
+	padding-bottom: 1em;
 }
 
 li {
@@ -538,7 +591,7 @@
 	margin-bottom:0.4em;
 }
 
-li p {
+li p, li div.para {
 	padding-top:0px;
 	margin-top:0em;
 	padding-bottom:0px;
@@ -661,8 +714,9 @@
 }
 
 div.note pre, div.important pre, div.warning pre {
-	background-color:#333;
-	color:white;
+	background-color: #333;
+	color: white;
+	margin-left: 4.5em;
 }
 
 
@@ -732,33 +786,43 @@
 }
 
 /*notification icons*/
-div.note h2, div.note p, div.warning h2, div.warning p, div.important h2, .important p {
+div.note h2, div.note p, div.note div.para, div.warning h2, div.warning p, div.warning div.para, div.important h2, .important p, .important div.para {
 	padding:0em;
 	margin:0em;
 	padding-left:56px;
 }
 
 /*Page Title*/
-#title strong {
-	display:none;
+#title  {
+	display:block;
+	height:45px;
+	padding-bottom:1em;
+	margin:0em;
 }
 
-#title a {
+#title a.left{
+	display:inline;
 	border:none;
-	display:block;
-	height:45px;
-	width:110px;
 	padding-left:200px;
-	background:transparent url(../images/image_left.png) top left no-repeat;
 }
 
-#title {
-	display:block;
-	height:45px;
-	background:transparent url(../images/image_right.png) top right no-repeat;
+#title a.left img{
+	border:none;
+	float:left;
+	margin:0em;
+	margin-top:.7em;
+}
+
+#title a.right {
 	padding-bottom:1em;
 }
 
+#title a.right img {
+	border:none;
+	float:right;
+	margin:0em;
+}
+
 /*Table*/
 table {
 	border:1px solid #6c614b;
@@ -781,7 +845,8 @@
 	background-color:#f5f5f5;
 }
 
-table th p:first-child, table td p:first-child, table  li p:first-child {
+table th p:first-child, table td p:first-child, table  li p:first-child,
+table th div.para:first-child, table td div.para:first-child, table  li div.para:first-child {
 	margin-top:0em;
 	padding-top:0em;
 	display:inline;
@@ -980,7 +1045,7 @@
 	text-decoration:none;
 }
 
-.footnote p {
+.footnote p,.footnote div.para {
 	padding-left:5em;
 }
 
@@ -1012,17 +1077,7 @@
 	color:white;
 }
 
-.authorgroup h4 {
-	padding:0em;
-	margin:0em;
-	margin-top:1em;
-}
-
-.author, .editor, .translator, .othercredit {
-	display:block;
-}
-
-ul li p:last-child {
+ul li p:last-child, ul li div.para:last-child {
 	margin-bottom:0em;
 	padding-bottom:0em;
 }
@@ -1077,8 +1132,8 @@
 }
 
 .docnav li.previous strong, .docnav li.next strong {
-	display:block;
 	height:22px;
+	display:block;
 }
 
 .docnav {
@@ -1089,6 +1144,7 @@
 .docnav li.next a strong {
 	background:  url(../images/stock-go-forward.png) top right no-repeat;
 	padding-top:3px;
+	padding-bottom:4px;
 	padding-right:28px;
 	font-size:1.2em;
 }
@@ -1096,7 +1152,9 @@
 .docnav li.previous a strong {
 	background: url(../images/stock-go-back.png) top left no-repeat;
 	padding-top:3px;
+	padding-bottom:4px;
 	padding-left:28px;
+	padding-right:0.5em;
 	font-size:1.2em;
 }
 
@@ -1140,77 +1198,61 @@
 	margin-bottom: 1em;
 }
 /* Reports */
-.reports ul.locale {
-	list-style:none;
-}
-
 .reports ul {
-	padding:0em;
+	list-style:none;
 	margin:0em;
+	padding:0em;
 }
 
-.reports ul.locale li {
-	color:#000;
-	display:block;
-	border:1px solid #eee;
-	float:left;
-	padding-right:2em;
-	margin-right:1em;
-	margin-bottom:1em;
-}
-
-.reports ul.locale li a {
-	display:block;
-	padding-top:.1em;
-	padding-bottom:.5em;
-}
-
-.reports ul.locale strong {
-	display:block;
+.reports li{
 	margin:0em;
 	padding:0em;
-	margin-bottom:-2.2em;
 }
 
-.reports ul.locale span.value {
-	display:block;
-	position:relative;
-	text-align:right;
-	margin-right:-1.5em;
-	color:#444;
-}
-
-.reports ul.locale li {
-	width:12em;
-	display:block;
-	float:left;
+.reports li.odd {
+	background-color: #eeeeee;
 	margin:0em;
-	clear:none;
+	padding:0em;
 }
 
-.reports ul.locale li div.progress {
-	width:13.2em;
-	position:relative;
-	left: 0em;
-	top:0em;
-	margin-bottom:0em;
+.reports dl {
+	display:inline;
+	margin:0em;
+	padding:0em;
+	float:right;
+	margin-right: 17em;
+	margin-top:-1.3em;
 }
 
-.reports h2 {
+.reports dt {
+	display:inline;
 	margin:0em;
+	padding:0em;
 }
 
-.reports li {
+.reports dd {
+	display:inline;
+	margin:0em;
+	padding:0em;
+	padding-right:.5em;
 }
 
-.reports li:hover {
-	background-color:#666;
-	border-color:#444;
-	color:white;
+.reports h2, .reports h3{
+	display:inline;
+	padding-right:.5em;
+	font-size:10pt;
+	font-weight:normal;
 }
 
-.reports li:hover strong, .reports li:hover h2, .reports li:hover a, .reports li:hover span.value {
-	color:white;
+.reports div.progress {
+	display:inline;
+	float:right;
+	width:16em;
+	background:#c00 url(../images/shine.png) top left repeat-x;
+	margin:0em;
+	margin-top:-1.3em;
+	padding:0em;
+	border:none;
 }
 
 /*uniform*/
@@ -1244,143 +1286,63 @@
 
 /*Results*/
 
-.results ul.locale {
+.results ul {
 	list-style:none;
-	padding:0em;
 	margin:0em;
-}
-
-.results .pofile {
 	padding:0em;
-	margin:0em;
 }
 
-.results ul.locale li {
-	border-top:1px solid #eee;
-	padding:0em;
+.results li{
 	margin:0em;
-	padding-left:32px;
-}
-
-.results ul.locale .pofile {
-	display:block;
-	width:100%;
-	color:#444;
 	padding:0em;
-	margin:0em;
-}
-
-.results span.value {
-	color:#888;
-}
-
-.results strong {
-	font-weight: normal;
-}
-
-.results .home a {
-	display:block;
-	margin:0 auto;
-	width:5em;
-	background: url(../images/stock-home.png) top left no-repeat;
-	padding:5px;
-	padding-left:28px;
-}
-
-.results ul.locale li:hover, .results ul.locale li:hover span.pofile , .results ul.locale li:hover strong, .results ul.locale li:hover span.value {
-	background-color:#666;
-	color:white;
-}
-
-ul.locale {
-	list-style:none;
-}
-
-ul.locale li.total {
-	color:#777;
-	width:31em;
-	display:block;
-	float:left;
-	margin-right:2em;
-	clear:none;
-}
-
-ul.locale li {
-	clear:both;
-	color:#777;
-	display:block;
-}
-
-ul.locale strong, span.value {
-	font-weight:normal;
-	color:#888;
-}
-
-ul.locale li a {
-	display:block;
-	padding-top:.2em;
 }
 
-ul.locale li.total div.progress {
-	position:relative;
-	left:0em;
-	top:0em;
-	margin-bottom:0em;
-}
-
-ul.locale li {
-	width:100%;
-}
-
-ul.locale li div.progress {
-	float:left;
-	position:relative;
-	left:30.5em;
-	top:-2em;
+.results li.odd {
+	background-color: #eeeeee;
 	margin:0em;
-	margin-bottom:-3em;
-}
-
-li.total {
 	padding:0em;
 }
 
-li.total {
+.results dl {
+	display:inline;
+	margin:0em;
+	padding:0em;
 	float:right;
-	max-width:16em;
-	padding:.5em;
-	margin:0 auto;
-	padding-top: .5em;
-	background-color:#f7f2d0;
-	font-size: 1.3em;
-	color:#ccc;
-	margin-bottom:1em;
-	min-height:9.5em;
+	margin-right: 17em;
+	margin-top:-1.3em;
 }
 
-li.total .value {
-	color:#444;
+.results dt {
+	display:inline;
+	margin:0em;
+	padding:0em;
 }
 
-li.total strong {
-	display:block;
-	color:black;
-	font-weight:bold;
+.results dd {
+	display:inline;
+	margin:0em;
+	padding:0em;
+	padding-right:.5em;
 }
 
-li.total span.value {
-	position:relative;
-	display:block;
-	top:-1.25em;
-	text-align:right;
+.results h2, .results h3{
+	display:inline;
+	padding-right:.5em;
+	font-size:10pt;
+	font-weight:normal;
 }
 
-
-.pofile {
-	position:relative;
+.results div.progress {
+	display:inline;
+	float:right;
+	width:16em;
+	background:#c00 url(../images/shine.png) top left repeat-x;
+	margin:0em;
+	margin-top:-1.3em;
+	padding:0em;
+	border:none;
 }
 
-
 /* Dirty EVIL Mozilla hack for round corners */
 pre {
 	-moz-border-radius:11px;
@@ -1408,6 +1370,56 @@
 	text-align: center;
 }
 
-span.remark{
-	background-color: #ffff00;
+span.remark {
+	background-color: #ff00ff;
+}
+
+.draft {
+	background-image: url(../images/watermark-draft.png);
+	background-repeat: repeat-y;
+        background-position: center;
+}
+
+.foreignphrase {
+	font-style: inherit;
+}
+
+dt {
+	clear:both;
+}
+
+dt img {
+	border-style: none;
+	max-width: 112px;
+}
+
+dt object {
+	max-width: 112px;
+}
+
+dt .inlinemediaobject, dt object {
+	display: inline;
+	float: left;
+	margin-bottom: 1em;
+	padding-right: 1em;
+	width: 112px;
+}
+
+dl:after {
+	display: block;
+	clear: both;
+	content: "";
+}
+
+.toc dd {
+	padding-bottom: 0em;
+	margin-bottom: 1em;
+	padding-left: 1.3em;
+	margin-left: 0em;
+}
+
+div.toc > dl > dt {
+	padding-bottom: 0em;
+	margin-bottom: 0em;
+	margin-top: 1em;
 }




More information about the Fedora-docs-commits mailing list