]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/matita/style.css
proof of concept implementation of scripts highlighting, grafite.hrc is still bugged
[helm.git] / helm / www / matita / style.css
index 0a3be849cae14622c3eca9dc793b075cafbd5f5b..d129be452506d698664d9637d5d7c3f479850cee 100644 (file)
-body {
-  font-family: sans-serif;
-  font-size: 14pt;
+/*
+ * CSS stylesheet for the website http://matita.cs.unibo.it/
+ *
+ * $Id$
+ */
 
-  margin-left: 20px;
+/* page layout */
+
+div.menu {
+  position: absolute;
+  left: 0px;
+  width: 150px;
+  text-align: center;
+  font-size: 10pt;
 }
 
-span.h1 {
+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: 100px;
+  background: #eaeaea;
+  padding: 10px;
+}
+
+/* site-wide typesetting */
+
+body {
   font-family: sans-serif;
+  font-size: 12pt;
+  background-image: url(images/sheetbg.png);
+  background-repeat: repeat;
+}
+
+h1 {
   font-size: 18pt;
+  color: #808080;
 
+  text-align: center;
+}
+
+h2 {
+  font-size: 16pt;
   color: #808080;
   
-  border-bottom-width: 4px;
-  border-top-width: 0px;
-  border-left-width: 0px;
-  border-right-width: 0px;
-  border-style: solid;
+  border-bottom-style: solid;
+  border-width: 3px;
   border-color: #cb8080;
+}
+
+h3 {
+  font-size: 14pt;
+  color: #808080;
+}
+
+h4 {
+  font-size: 13pt;
+  color: #808080;
+}
+
+a {
+  margin: 2px;
+  color: #591622;
+  text-decoration: underline;
+}
 
-  margin-right:auto;
+a:hover {
+  text-decoration: underline;
+  background-color: #ecf6f9;
+}
+
+ul {
+  list-style-type: square;
 }
 
-p {
-  margin-left:5px;
+p.spaced {
+  padding-bottom: 2em;
 }
 
-a.upmenu {
+/* menu */
+
+div.menu ul {
+  list-style-type: none;
+  padding-left: 10px;
+  padding-right: 10px;
+}
+
+div.menu ul li {
   color: #591622;
-  background-color: #ffffff;
-  
-  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-left:20px;
-  margin-right:20px;
+div.menu ul li a {
+  text-decoration: none;
 }
 
-a.upmenu:hover { 
+a.menu:hover { 
   color: #591622;      
-  border-color: #808080;
+  text-decoration : none;
+  background-color: #ecf6f9;
 }
 
-a {
-  color: #591622;
-  text-decoration : none;
+/* news */
 
-  /*
-  border-bottom-width: 2px;
-  border-top-width: 0px;
-  border-left-width: 0px;
-  border-right-width: 0px;
-  border-style: solid;
-  border-color: #cb8080;
-  */
+div.news ul {
+  padding-left: 0px;
+  list-style: inside;
 }
 
-a:hover {
-  color: #808080;
+div.news span.date {
+  font-style: italic;
+}
+
+/* fancy classes */
+
+samp.tiny {
+  font-size: 8pt;
 }
 
-div.upmenu {
+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:center;
-  margin-bottom: 40px;
+  margin-top: 40px;
+}
+
+div.uplined {
+  height: auto;
+  padding-top: 10px;
+  width: 40%;
+  border-color: #cb8080;
+  border-top-style: solid;
+  border-top-width: 3px;
+}
+
+a.quiet:link,visited,hover { 
+  background-color: transparent;
+  text-decoration: 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;
 }