X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fwww%2Fmatita%2Fstyle.css;h=00eef2ed1d1b94da444426eb53dc2447aa91d0ac;hb=50a9ed8c6207145fccf59e6a5dbbff935cd2c6d7;hp=3f36a507ea62859c231d886dd1c0ee6ba8cc7e9a;hpb=0775f6acafa9aa176d148a8f3acf7e750c1c3171;p=helm.git diff --git a/helm/www/matita/style.css b/helm/www/matita/style.css index 3f36a507e..00eef2ed1 100644 --- a/helm/www/matita/style.css +++ b/helm/www/matita/style.css @@ -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,32 +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; } +a { + margin: 2px; + color: #591622; + text-decoration: underline; +} + +a:hover { + text-decoration: underline; + background-color: #ecf6f9; +} + ul { list-style-type: square; } -div.menu { - position: absolute; - left: 0px; - width: 150px; - padding-top: 110px; - background: url(images/matita-small.png); - background-repeat: no-repeat; - background-position: 1cm top; +p.spaced { + padding-bottom: 2em; } +/* menu */ + div.menu ul { list-style-type: none; + padding-left: 10px; + padding-right: 10px; } div.menu ul li { @@ -61,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 { @@ -74,26 +123,25 @@ a.menu:hover { background-color: #ecf6f9; } -ul.wide li { - padding-bottom: 5px; +/* 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.main { - position: absolute; - top: 0px; - left: 200px; - width: 650px; +ul.wide li { + padding-bottom: 5px; } .center { @@ -101,8 +149,9 @@ div.main { } div.topimage { - text-align: center; - padding-top: 14px; + text-align: left; + padding-top: 28px; + padding-bottom: 28px; } div.bottombar { @@ -121,25 +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; } -div.logo { - background: url(images/matita-big.png); - background-repeat: no-repeat; - background-position: center top; - height: 600px; +/* 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; +}