www-commits
[Top][All Lists]
Advanced

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

www layout.css


From: Jason Self
Subject: www layout.css
Date: Sat, 04 Jun 2011 14:33:19 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     Jason Self <jxself>     11/06/04 14:33:19

Modified files:
        .              : layout.css 

Log message:
        Adding new items for gnu.org/education

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/layout.css?cvsroot=www&r1=1.131&r2=1.132

Patches:
Index: layout.css
===================================================================
RCS file: /web/www/www/layout.css,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -b -r1.131 -r1.132
--- layout.css  30 May 2011 15:06:37 -0000      1.131
+++ layout.css  4 Jun 2011 14:33:16 -0000       1.132
@@ -397,3 +397,71 @@
 .highlight-para { padding: 1em; }
 
 .anchor-reference-id { font-size: 80% }
+
+/* Items specific to education */
+
+/* definitions for /education-specific navigation bar */
+ul#edu-navigation {
+  text-align: center;
+  /* the selected colors are the same as for h2 */
+  background-color: #3465a4;
+  color: white;
+  /* right and left extents should be the same as for h2;
+     the top separation is determined via h2 margin-bottom */
+  margin: 0;
+  margin-bottom: 1.7em;
+}
+
+#edu-navigation li {
+  display: inline;
+  list-style-type: none;
+}
+
+#edu-navigation li a {
+  /* font size and padding are set to make the navigation bar
+     remain a single line when window is 921 pixels or wider */
+  font-size: 12.8px;
+  padding: 0 10px;
+  display: inline-block;
+  background-color: #3465a4;
+  color: white;
+  text-decoration: none;
+  font-weight: bold;
+}
+
+#edu-navigation li a:hover, #edu-navigation li.active a {
+  background-color: #006;
+  color: yellow;
+}
+
+/* let edu-navigation bar approach closer to h2 */
+div#education-content h2 { margin-bottom: 1px; }
+
+/* breadcrumb for /education */
+p.edu-breadcrumb {
+  line-height: 150% !important;
+  padding-left: 10px;
+}
+
+/* styles for subsections of /education "Case Studies" */
+
+div.edu-cases {
+  border-top: 5px ridge #3465a4;
+  border-bottom: 5px ridge #3465a4;
+  margin-right: 4em;
+  margin-left: 4em;
+  margin-bottom: 1em;
+}
+
+/* make h3 for edu-cases look like h4 for other pages */
+div.edu-cases h3 {
+  font-size: 1.3em !important;
+  margin: 0;
+}
+
+div.edu-cases ul, div.edu-cases ol {
+  padding-left: 3em;
+  margin-right: 3em;
+}
+
+/* End items specific to education */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]