diff --git a/htroot/env/base.css b/htroot/env/base.css index 4483a0ce5..960100450 100644 --- a/htroot/env/base.css +++ b/htroot/env/base.css @@ -1,8 +1,37 @@ -/* Layout and general style */ - -body, table, textarea { - font-size: 12px; -} +/* base.css - Layout and general style */ +/* + $LastChangedDate: $ + $LastChangedRevision: $ + $LastChangedBy: $ +*/ + +/* +# use section names to jump + +############ Sections: ######################## +## "global elements" ## +# all html elements without ".class" or "#id" +############################################### +## "global classes" ## +# i.e. ".strong"; ".left"; ".error"; +############################################### +## "privat classes" ## +# all htnml-elements with a specific class +# i.e. "div.content"; "span.left"; +# and +# "div.content span a."; "form.search fieldset legend"; +# sorted by the last html-element +############################################### +## "site specific" ## +# all site specific elements +# i.e. "body#search form"; "body#stats table td.strong"; +############################################### +## "other" ## +# all "other" elements +# i.e. "#left"; "#myID.div"; +*/ + +/* --------------- global elements -------------------------- */ * { font-family:Helvetica, Arial, sans-serif; @@ -13,8 +42,8 @@ body { padding:0; } -img { - border:0; +body, table, textarea { + font-size: 12px; } h1, h2, h3, h4 { @@ -24,6 +53,7 @@ h1, h2, h3, h4 { h1 { font-size:2em; } + h2 { font-size:1.6em; clear:left; /* The heading after the submenu has to be left again */ @@ -32,6 +62,7 @@ h2 { h3 { font-size:1.3em; } + h4 { font-size:1.1em; } @@ -48,260 +79,279 @@ a:hover { text-decoration:underline; } -*.tt { - font-family:Courier,Terminal,sans-serif; +img { + border:0; } td { padding:1px 2px; } -/* Head */ - -div.head h1 { - padding:4px; - background:url(/env/grafics/yacy.gif) 10px center no-repeat; - font-weight: bold; - font-size: 1.6em; - text-align: center; - margin:0; +form dd { + margin:0 0 0.5em 0.25em; + float:left; } -/* Menu*/ - -ul#menu { - padding:0; - margin:0; - margin-left:1px; - position:absolute; - top:3em; - left:0; - width:11em; - overflow:hidden; +fieldset { + margin:10px 5px; + padding:10px; } -ul.menu, ul.SubMenu { - padding:0; - margin:0; +legend { + font-size:1.2em; + padding:0.2em; + text-align:center; } -ul.menu li, ul.SubMenu li { - list-style:none; - margin:0; - margin-top:1px; - padding:0; -} -li.menugroup { - margin-left:5px; - margin-bottom:10px; - list-style:none; + +/* --------------- global classes --------------------- */ + +*.tt { + font-family:Courier,Terminal,sans-serif; } -li.menugroup h3, div.SubMenugroup h3, div.SubMenu h3 { - font-size:1em; + +.error { font-weight:bold; - margin:0; - padding:1px 10px; } -div.SubMenu h3 { - margin-bottom:1px; +.help { + font-size:90%; } -div.SubMenugroup, ul.SubMenu li { - float:left; - margin-right:1px; - margin-top:0; +.snippetLoaded { + font-style:italic; } -a.MenuItemLink, ul.SubMenu em { - display:block; - text-decoration:none; - margin-top:1px; - margin-bottom:1px; - padding:1px 10px 1px 15px; - font-size:0.9em; +.snippetError { + font-style:italic; } -ul#menu a.MenuItemLink { - width:80%; - padding:1px 5% 1px 15%; +.settingsValue { + font-weight:bold; } -ul.SubMenu a.MenuItemLink, ul.SubMenu em { - margin-top:0; +.Headline { + font-weight: bold; + font-size: 160%; + text-align: center; + height: 36px; + width:100%; } -a:hover.MenuItemLink { - text-decoration:none; +.Heading { + height: 36px; } -a.MenuItemLink.lock, ul.SubMenu em.lock { - background-image:url(/env/grafics/lock.gif); - background-position:2px center; - background-repeat:no-repeat; +.Post { + padding:10px; + margin-bottom:10px; } -/* Content */ - -div.content { - position:absolute; - top:3em; - left:12em; - right:10px; +.PostSubject { + padding:5px; margin:0; } -/* Searchpages */ - -form.search { - text-align:center; - margin:0; +.PostBody { + margin:10px; } -form.search table { - margin:0 auto; - text-align:left; +.PostInfo { + padding:1px 10px; } -fieldset.yacysearch { - text-align:left; - padding-top:10px; - display:block; +.WikiTOCBox { + padding: 8px; } -div.yacysearch { - margin-top: .8em; - display:block; - position:relative; - /*left:-60px;*/ +.imgtable { + margin: 1px; + padding: 1px; + width: 100px; + border: 0px solid #aaaaaa; + float: left; } -h2.yacy { /* The heading in index.html */ - margin:10px auto; - text-align:center; - padding-top:130px; - width:256px; - min-width:256px; - background:url(/env/grafics/kaskelix.png) top center no-repeat; +.hides .hoverShow { + display: none; } -form.search.small { - text-align:left; +.hides:hover .hoverShow { + display: block; + position: absolute; + border: 3px double; + margin: 0 0 0 2em; + padding: .3em; + height: 20em; + overflow: auto; + width: 30em; } -form.search.small p.yacylogo { /* The logo in yacysearch.html */ - display:block; - float:left; - padding:0; - margin:5px; - width:70px; -} +/* ---------------- private classes ---------------------*/ -form.search.small h2 { - clear:none; - margin-left:85px; -} +/*---------- +
+*/ + p.aftersurftips { clear:both; } -/* Bookmarks */ +p.info { + margin-top:5em; + padding-top:5px; + text-align:center; +} -div.Tags { - float:right; - width:12em; - text-align:right; - padding-left: 5px; +div.bookmark p { + margin:1px; } -ul.tagList { - list-style:none; +div.searchresults p{ + margin:2px 2px 2px 22px; +} + +form.search.small p.yacylogo { /* The logo in yacysearch.html */ + display:block; + float:left; padding:0; - margin-left:0; + margin:5px; + width:70px; } -div.bookmarkList, div.Tags { - margin-top:1em; +/*---------- +