]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/matita/style.css
local modifications
[helm.git] / helm / www / matita / style.css
index 6de52ec9483c3e5f301be817bea0be0ff3d6a715..5590abf59a08e2eee9f4d4d8e11eaff87abc761f 100644 (file)
+/*
+ * CSS stylesheet for the website http://matita.cs.unibo.it/
+ *
+ * $Id$
+ */
+
+/* page layout */
+
+div.menu {
+  position: absolute;
+  left: 0px;
+  width: 150px;
+  text-align: center;
+  font-size: 10pt;
+}
+
+div.main {
+  position: absolute;
+  top: 0px;
+  left: 150px;
+  width: 650px;
+  padding-left:20px;
+  font-size: 10pt;
+}
+
+div.news {
+  position: absolute;
+  top: 25px;
+  left: 845px;
+  font-size: 10pt;
+  width: 150px;
+  background: #eaeaea;
+  padding: 5px;
+}
+
+/* site-wide typesetting */
 
 body {
   font-family: sans-serif;
   font-size: 12pt;
   background-image: url(images/sheetbg.png);
   background-repeat: repeat;
-  margin-left: 7%;
-  margin-right: 7%;
 }
 
-samp.tiny {
-  font-size: 8pt;
-}
-
-div.main h1 {
-  font-family: sans-serif;
+h1 {
   font-size: 18pt;
   color: #808080;
 
   text-align: center;
 }
 
-div.main h2 {
-  font-family: sans-serif;
+h2 {
   font-size: 16pt;
   color: #808080;
   
-  border-style: none;
   border-bottom-style: solid;
   border-width: 3px;
   border-color: #cb8080;
-  width: 70%;
-
-  margin-right: auto;
 }
 
-div.main h3 {
-  font-family: sans-serif;
+h3 {
   font-size: 14pt;
   color: #808080;
 }
 
-div.main h4 {
-  font-family: sans-serif;
+h4 {
   font-size: 13pt;
   color: #808080;
 }
 
-p {
+a {
+  margin: 2px;
+  color: #591622;
+  text-decoration: underline;
+}
+
+a:hover {
+  text-decoration: underline;
+  background-color: #ecf6f9;
 }
 
 ul {
+  list-style-type: square;
+}
+
+p.spaced {
+  padding-bottom: 2em;
+}
+
+/* menu */
+
+div.menu ul {
   list-style-type: none;
+  padding-left: 10px;
+  padding-right: 10px;
 }
 
-div.menu a {
+div.menu ul li {
   color: #591622;
-  background-color: transparent;
-  
-  font-family: sans-serif;
   font-style : italic;
-  
   text-decoration : none;
   
+  border-bottom-style: solid;
   border-color: #cb8080;
-  border-bottom-width: 3px;
-  border-top-width: 0px;
-  border-left-width: 0px;
-  border-right-width: 0px;
-  border-style: solid;
+  margin-bottom: 15px;
+}
 
-  margin-right:20px;
+div.menu ul li a {
+  display: block;
+  text-align: right;
+  text-decoration: none;
+  vertical-align: middle;
+  height: 45px;
+  background-repeat: no-repeat;
 }
 
 a.menu:hover { 
   color: #591622;      
   text-decoration : none;
   background-color: #ecf6f9;
+}
+
+/* news */
 
+div.news ul {
+  padding-left: 0px;
+  list-style: inside;
 }
 
-a {
-  margin: 2px;
-  color: #591622;
-  text-decoration : underline;
+div.news span.date {
+  font-style: italic;
 }
 
-a:hover {
-  text-decoration : underline;
-  background-color: #ecf6f9;
+/* fancy classes */
+
+samp.tiny {
+  font-size: 8pt;
 }
 
-div.menu {
-  display: block;
-  width: auto;
-  text-align:center;
-  margin-bottom: 40px;
+ul.wide li {
+  padding-bottom: 5px;
+}
+
+.center {
+  text-align: center;
+}
+
+div.topimage {
+  text-align: left;
+  padding-top: 28px;
+  padding-bottom: 28px;
 }
 
 div.bottombar {
   display: block;
   width: auto;
-  text-align:right;
   margin-top: 40px;
 }
 
@@ -108,20 +161,40 @@ div.uplined {
   height: auto;
   padding-top: 10px;
   width: 40%;
-  margin-left:auto;
+  border-color: #cb8080;
   border-top-style: solid;
   border-top-width: 3px;
-  border-color: #cb8080;
 }
 
 a.quiet:link,visited,hover { 
-  background-color:transparent;
+  background-color: transparent;
   text-decoration: none;
-  border-style:none;
-  
+  border-style: none;
 }
 
 a.quiet img { 
   border-style:none; 
 }
 
+span.screenshots {
+  float: right;
+}
+
+/* papers */
+
+li.paper {
+  padding-bottom: 5px;
+}
+
+span.paper_abstract {
+  display: none;
+}
+
+span.paper_author {
+  font-style: italic;
+}
+
+span.paper_title {
+  font-weight: bold;
+}
+