
/* $Id: infoweb_mini.css,v 1.13 2004/11/03 12:54:01 andersl Exp $ 
 * $Source: /var/cvs/infoweb/www/stylesheets/infoweb_mini.css,v $  
 */

/* GLOBAL */

body { margin: 0px;
       background: #fff;
       color: #333;
       font-family: sans-serif;
       font-size: 90%;
}

h1, h2, h3 { color: #000; 
             font-family: sans-serif;
}

img { border-width: 1px;
      border-color: #000;
      border-style: solid;
}

tr { height: 2em;
}

a:active, a:hover { text-decoration: underlined; }

a:link { color: #006; }

a:visited,
a:active,
a:hover { color: #002; }

.helptext { font-size: smaller;
            color: #888;
}

.infomsg,
.errormsg { margin: 1em;
            padding: 1em;
}

.infomsg  { background-color: #eee; //border: 2px solid black; }
.errormsg { font-size: 105%,
            padding: 2ex;
            border: 3px double #006;
            
}

/* NAVBAR */

#td-spacer,
#navbar #slogan,
#navbar #search a { display: none; }

#navbar { width: 99%;
          font-size: xx-small;
          font-weight: bold;
          margin: 3px 1ex;
          border: 1px outset #999;
          padding: 0px 2px;
          background: #eee;
          color: #333;
}

#banner { float: left; 
          font-size: x-large;
          letter-spacing: 1ex;
          text-transform: lowercase;
          text-shadow: red 0.5ex 0.5ex; 
}

#navbar a { margin: 0 1ex; }

#navbar a:link, 
#navbar a:visited { text-decoration: none; 
                    color: #999;
}

#navbar a:hover { color: #222; }

#navbar #search { float: right; }

#navbar input[type="text"],
#navbar input[type="submit"] { font-size: 100%; }

/* MAIN */

#main { margin: 0 5%; }

.rcategory { display: inline;
             font-weight: bold;
             font-family: sans-serif;
}

.category {
   color: #006;
}

a.rcategory:link, a.rcategory:visited { color: #002; text-decoration: underline; }
a.category:link, a.category:visited { color: #006; text-decoration: underline; }


.iw-path { margin-left: -2%;
}

.iw-path a:link,
.iw-path a:visited,
.iw-path a:active,
.iw-path a:hover { color: #333;
}

td.title { font-style: italic; }

/* BROWSE */

#main p.header,
#main p.footer { background: #eee;
                 width: 95%;
                 text-align: center;
}

#main p.header { border-bottom: 1px dashed #999; }
#main p.footer { border-top: 1px dashed #999; }

.row-details span,
.row-details br,
#main p.header a { display: none; }

.row-details { margin-bottom: 2ex; }

.browse-row .order-info,
.browse-row .path  { display: none; }

.rating { display: none; }

/* READ */

 /* http://www.w3.org/TR/css3-selectors/#target-pseudo */
.article h1:target,  
.article h2:target,  
.article h3:target { 
          background: yellow;
          padding: 2px 2em;
          margin: 2px 0;
          border: solid #000;
          border-width: 1px 0;
}

.metabox {
        border: 1px outset #555;
        background: #eee;
        padding: 1ex;
        float: right;
        width: 12%;
        font-size: x-small;
        margin-bottom: 3px;
        clear: both;
        overflow: hidden;
}

.metabox:target { font-size: large;
                  width: 40%;
                  background: yellow;
}


#toc a,
#mentionedlinks a,
#metalinks a { display: list-item;
}


#hr-ainfo { clear: both; } 
#ainfo-compact { font-size: x-small; }

#ainfo-compact .title { font-style: normal; }

#ainfo-compact td { margin: 0; 
                    padding: 0; 
}

#ainfo-compact div { display: table-cell;
                     float: left;
                     font-size: xx-small;
                     background: #ddd;
}

.comment-header { font-weight: bold; }

.comment-text { margin-left: 2%;
                padding: 2px;
}

h1+p:first-line,
h2+p:first-line { margin-left: 1em; }

.title-kode,
.title-konsoll { font-family: monospace; 
                 background-color: #ddd;
                 z-index: 0;
                 padding: 0.5em 3em; 
}

.kode pre,
.konsoll pre { 
           background: #eee;
           padding: 1ex 1ex 3ex;
           margin: 0 1em 1ex;
           white-space: pre;
           overflow: auto;
           z-index: 3;
}


/* SEARCH */

form[action="search.php"] { background: transparent; 
                            font-size: 85%;
                            color: #000;
}

form[action="search.php"] input,
form[action="search.php"] select { font-size: 85%; }

#main form[action="search.php"] table { border: 1px dashed #555; }

form[action="search.php"] table tr.mandatory { padding: 0; 
                                               background: transparent;
}

/* NTNU-links */

#ntnu { display: none; }

/* NTNU-template */

#ntnu-tpl { display: none; }

#ntnu-footer { margin: 2em 1ex;
               font-size: xx-small;
               border: 1px outset #555;
               padding: 3px 1ex;
               color: #555;
               text-align: center;
}
