Mercurial > hg > easyhg-website
view screen.css @ 37:86cdf18e98c0 tip
Bitbucket -> SourceHut
author | Chris Cannam |
---|---|
date | Mon, 21 Sep 2020 09:48:05 +0100 |
parents | 3bed8cc7e99e |
children |
line wrap: on
line source
@import url('fonts.css'); h1#site-name { margin:0; line-height:1.3em; color:#525a38; padding:0; /* padding-bottom:0.1em; */ margin-top:0.6em; font-weight:normal; margin-left:20%; font-size:3em; } #logo-title{ border-bottom:2px solid #a9b680; margin:0; /* margin-bottom:0.8em; */ padding:0; } #footer{ width: 100%; border-top:1px solid #a9b680; margin:0; margin-top: 4em; padding:0; } #footer-content { margin-left: 20%; margin-right: 20%; padding-left: 0.25em; padding-top: 2em; font-size: 0.7em; } #navbar ul{margin:0;padding:0;text-align:left;list-style-type:none;} #navbar li{float:left;padding:0 10px 0 0;} #primary{float:left;margin-left:20%;margin-top:0;padding-left:0.25em;padding-top:0.8em;margin-bottom:0.5em;font-weight:normal;font-size:0.85em;} #primary li{margin:0px;border-left:1px solid #a9b680;padding-left:1em;padding-right:1em;} #primary li.first{margin:0px;border-left:0;padding-left:0;padding-right:1em;} #primary li.last{margin:0px;border-left:1px solid #a9b680;padding-left:1em;padding-right:0;} body { margin: 0; font-size: 100%; /* Fixes exaggerated text resizing in IE6 and IE7 */ } big { line-height: 1.3em; } a:link, a:visited { color: #be5700; text-decoration: none; } a:hover { text-decoration: underline; } #page { font-size: 0.94em; line-height: 1.3em; margin-left: 20%; padding-left: 0.25em; margin-right: 20%; margin-top: 5em; } td p { font-size: 0.94em; } body, caption, th, td, input, textarea, select, option, legend, fieldset, h1, h2, h3, h4, h5, h6 { font-family: GilliusADFNo2, Candara, Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; background: #fdfbf5; color: #3e442c; } pre, code { font-size: 0.85em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", monospace; } /** headings **/ h1 { line-height: 1.3em; margin-top: 0; margin-bottom: 0.5em; /* 0.5em is equavalent to 1em in the page's base font. Remember, a margin specified in ems is relative to the element's font-size, not to the pages' base font size. So, for example, if we want a 1em margin (relative to the base font), we have to divide that length by the element's font-size: 1em / 2em = 0.5em */ font-weight: bold; font-size: 1.8em; } h2 { font-size: 1.6em; line-height: 1.3em; margin-top: 0.667em; /* Equivalent to 1em in the page's base font: 1 / 1.5 = 0.667em */ margin-bottom: 0.667em; font-weight: normal; } .block-views h2 { font-size: 1.2em; padding-top: 2em; padding-bottom: 0.4em; } .views-field-teaser p { /* Avoid blank line between title and teaser text for recent notes and upcoming events */ margin-top: 0em; } h3 { font-size: 1.3em; line-height: 1.3em; margin-top: 0.769em; /* Equivalent to 1em in the page's base font: 1 / 1.3 = 0.769 */ margin-bottom: 0.769em; font-weight: normal; } h4, h5, h6 { font-size: 1.1em; line-height: 1.3em; margin-top: 0.909em; /* Equivalent to 1em in the page's base font: 1 / 1.1 = 0.909 */ margin-bottom: 0.909em; font-weight: normal; } /** block-level elements **/ p, ul, ol, dl, pre, table, fieldset, blockquote { margin: 1em 0; } /** lists **/ /* standardize list item indentation */ ul, ol { margin-left: 0; padding-left: 2em; } .block ul, .item-list ul { margin: 1em 0; padding: 0 0 0 2em; } ul ul, ul ol, ol ol, ol ul, .block ul ul, .block ul ol, .block ol ol, .block ol ul, .item-list ul ul, .item-list ul ol, .item-list ol ol, .item-list ol ul { margin: 0; } li { margin: 0; padding: 0; } .item-list ul li { margin: 0; padding: 0; list-style: inherit; } ul.menu li, li.expanded, li.collapsed, li.leaf { margin: 0; padding: 0; } ul { list-style-type: disc; } ul ul { list-style-type: circle; } ul ul ul { list-style-type: square; } ul ul ul ul { list-style-type: circle; } ol { list-style-type: decimal; } ol ol { list-style-type: lower-alpha; } ol ol ol { list-style-type: decimal; } dt { margin: 0; padding: 0; } dd { margin: 0 0 0 2em; padding: 0; } /** links **/ /* The order of link states are based on Eric Meyer's article: * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states */ a:link { } a:visited { } a:hover, a:focus { } a:active { } /** tables **/ table { border-collapse: collapse; /* width: 100%; */ /* Prevent cramped-looking tables */ } th, thead th, tbody th { text-align: left; padding-right: 0; border-bottom: none; } tbody { border-top: none; } /** abbreviations **/ abbr { border-bottom: 1px dotted #666; cursor: help; white-space: nowrap; } /* Date-based "abbreviations" show computer-friendly timestamps which are not human-friendly. */ abbr.created { border: none; cursor: auto; white-space: normal; } /** images **/ img { border: 0; } /** horizontal rules **/ hr { height: 1px; border: 1px solid #666; } /** forms **/ form { margin: 0; padding: 0; } fieldset { margin: 1em 0; padding: 0.5em; }