A collection of custom styles that can be included on any page with the following line:
%INCLUDE{"Sandbox.WorkingPagesCustomCSS"}%

Note that the actual CSS code ought to be enclosed between <pre> tags to avoid spaces and urls being interpreted by TWiki.



The CSS code

Warning: Can't find topic Sandbox.EAWHideBarsCSS

<style type="text/css">

/* Define custom layout elements */
div#wrap {padding: 0 10px; margin:-12px auto; border-top: solid #e2dcc8 1px;}
div#maincontent{width:72%; min-width:500px; float:left;}
div#sidebar{width:23%; min-width:200px; float:right;}
div#innerSidebar{border-left:solid navy 1px; padding: 0px 6px 6px 20px;}
div#footer{clear:both;}

/* Heading properties */
h1, h3, h4, h5, h6 {
        font-family: "Myriad Pro","Lucida Grande", helvetica, lucida, verdana, sans-serif;
   line-height:104%;
   padding:0;
   margin:0.7em 0 0.1em 0;
   border:none;
}
h1 {
   font-size:500%;
        color: navy;
   margin-left: -0.5em;
        margin-top: 0.3em;
        border: navy 3px;
        border-style: none none double;
        padding: 0.2em 0.01em 0.15em;
        //background-color: #eef1f7;
}
h2 {
   font-size:580%;
   font-family: "Comic Sans MS","Lucida Grande", helvetica, lucida, verdana, sans-serif;
        font-variant: small-caps;
   display:block;
   //background-color:#3b5998;
        background-image: url(http://www.cmsaf.mit.edu/twiki/pub/CmsHi/EAWCustomCSS/bg_header.jpg);
        //border: #254588 1px;
        //border-style: solid none;
   color:white;
   padding:0.2em 0.5em;
   margin:0.5em 0em 0.15em -0.6em;
   height:auto;
}
h3 { font-size:560%; color:orange; }
h4 { font-size:550%; color:teal; margin-left:0.3em;}
h5 { font-size:540%; color:navy; }
h6 { font-size:530%; color:olive; margin-left:0.3em;}
h7 { font-size:120%; color:teal; margin-left:0.3em;}
h8 { font-size:110%; color:black; margin-left:0.3em;}
h9 { font-size:100%; color:grey; margin-left:0.3em;}
h3,h4,h5,h6{border-style: none; }

/* Sidebar specific formatting */
#sidebar table{margin: 0px 10px;}
#sidebar ul{padding-left: 20px;}
#sidebar  div.twikiToc ul{padding-left:0px;}  
#sidebar  div.twikiToc li{margin-left: 5px;}
//#sidebar ul.projectPages{list-style-type:square; list-style-image:url(http://www.cmsaf.mit.edu/twiki/pub/TWiki/TWikiDocGraphics/viewtopic.gif);}
#sidebar ul.projectPages{list-style-type:none; margin:0px; padding-left:5px;}
#sidebar ul.projectPages li{
   background-image:url(http://www.cmsaf.mit.edu/twiki/pub/TWiki/TWikiDocGraphics/viewtopic.gif); 
   background-repeat: no-repeat;
   background-position: 0 .1em;
   padding-left: 1.5em;
}
#sidebar div.twikiSmall{margin-left:10px}
#sidebar {font-size: 90%}

/* Links */
:link:focus,
:visited:focus,
:link,
:visited,
:link:active,
:visited:active {
   text-decoration:none;
   color:#1e5bbd;
   background-color:transparent;
}
:link:hover,
:visited:hover {
   text-decoration:underline;
   background-color:#b4d5ff;
   color:#1559B3;
}
a:link img,
a:visited img,
a:hover img,
a:active img {
   background-color:transparent;
}
th a:link,
th a:visited {
   font-weight:bold;
}
</style>
%INCLUDE{"EAWHideBarsCSS"}%

%INCLUDE{"Sandbox.EAWCustomCSS"}%

-- CatherineSilvestre - 04-Dec-2009

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2010-02-07 - CatherineSilvestre
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback