]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/matita/style.css
updating the structures for sorts
[helm.git] / helm / www / matita / style.css
index 67b4cf03ba3db550d0ca236242b59c0b1d10a7d8..00eef2ed1d1b94da444426eb53dc2447aa91d0ac 100644 (file)
@@ -1,3 +1,42 @@
+/*
+ * 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;
+  display: block;
+  height: 90%;
+  overflow: hidden;
+}
+
+/* site-wide typesetting */
 
 body {
   font-family: sans-serif;
@@ -6,18 +45,14 @@ body {
   background-repeat: repeat;
 }
 
-samp.tiny {
-  font-size: 8pt;
-}
-
-div.main h1 {
+h1 {
   font-size: 18pt;
   color: #808080;
 
   text-align: center;
 }
 
-div.main h2 {
+h2 {
   font-size: 16pt;
   color: #808080;
   
@@ -26,21 +61,41 @@ div.main h2 {
   border-color: #cb8080;
 }
 
-div.main h3 {
+h3 {
   font-size: 14pt;
   color: #808080;
 }
 
-div.main h4 {
+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 ul li {
@@ -50,11 +105,16 @@ div.menu ul li {
   
   border-bottom-style: solid;
   border-color: #cb8080;
-  margin-bottom: 10px;
+  margin-bottom: 15px;
 }
 
 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 { 
@@ -63,32 +123,35 @@ a.menu:hover {
   background-color: #ecf6f9;
 }
 
-a {
-  margin: 2px;
-  color: #591622;
-  text-decoration : underline;
+/* news */
+
+div.news ul {
+  padding-left: 0px;
+  list-style: inside;
 }
 
-a:hover {
-  text-decoration : underline;
-  background-color: #ecf6f9;
+div.news span.date {
+  font-style: italic;
 }
 
-div.menu {
-  position: absolute;
-  left: 0px;
-  width: 150px;
-  padding-top: 140px;
-  background: url(images/matita-small.png);
-  background-repeat: no-repeat;
-  background-position: 1cm top;
+/* fancy classes */
+
+samp.tiny {
+  font-size: 8pt;
 }
 
-div.main {
-  position: absolute;
-  top: 0px;
-  left: 200px;
-  width: 650px;
+ul.wide li {
+  padding-bottom: 5px;
+}
+
+.center {
+  text-align: center;
+}
+
+div.topimage {
+  text-align: left;
+  padding-top: 28px;
+  padding-bottom: 28px;
 }
 
 div.bottombar {
@@ -107,18 +170,79 @@ div.uplined {
 }
 
 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; 
 }
 
-pre.code {
-  margin-left: 2em;
-  font-size: 95%;
+span.screenshots {
+  float: right;
+}
+
+/* papers */
+
+li.paper {
+  padding-bottom: 5px;
 }
 
+span.paper_info {
+  display: block;
+}
+span.paper_abstract {
+  display: none;
+}
+span.paper_abstract:before {
+  content: "Abstract: ";
+  font-weight: bold;
+  font-style: normal;
+}
+span.paper_download {
+  display: block;
+  float: right;
+}
+a.paper_download { /* snipet from ikiwiki rss button, thanks! */
+  background: #ff6600;
+  color: white !important;
+  border-left: 0.5px solid #cc9966;
+  border-top: 1px solid #ccaa99;
+  border-right: 1px solid #993300;
+  border-bottom: 1px solid #331100;
+  padding: 0px 0.5em 0px 0.5em;
+  font-family: helvetica, arial, sans-serif;
+  font-size: 80%;
+  text-decoration: none;
+  margin-top: 1em;
+}
+
+span.paper_author {
+  font-style: italic;
+}
+
+span.paper_title {
+  font-weight: bold;
+}
+
+dt {
+  margin-top:1em;
+  font-weight: bold;
+}
+
+ul.news li {
+  margin-bottom: 1em;
+  list-style-type: none;
+}
+
+ul.news li span.date {
+  font-weight: bold;
+}
+
+div.news div.newsheader {
+  text-align: center;
+  margin-left:auto;
+  margin-right:auto;
+  font-weight: bold;
+}