Ignore:
Timestamp:
08/12/11 11:04:23 (14 years ago)
Author:
Mathieu Morlighem
Message:

Better template for matlab doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/doxygen/doc_m/template_issm/m2html.css

    r9303 r9318  
    1 /* Added by Mathieu */
    2 /**************************************/
    3 /*              HEADER                */
    4 /**************************************/
    5 #header {
    6         width: 900px;
    7         height: 202px;
    8         background: none;
    9         color:white;
    10         margin: 5px auto 10px auto;
    11 }
    12 
    13 #header a{
    14         color: white;
    15         background: none;
    16         text-decoration: none;
    17 }
    18 
    19 #header a:hover {
    20         color: white;
    21         background: none;
    22         text-decoration: none;
    23 }
    24 
    25 /**************************************/
    26 /*               MENU                 */
    27 /**************************************/
    28 #menu {
    29         margin:0 auto 30px;
    30         padding: 0em 0em 0.6em 6px;
    31         width: 890px;
    32         background: #f0f0f0;
    33         font-size: 110%;
    34         position: relative; /*for konqueror*/
    35         left: 0;
    36         border-top: 1px solid #404040;
    37         border-bottom: 1px solid #404040;
    38         border-right: 1px solid #404040;
    39         border-left: 1px solid #404040;
    40         -webkit-border-top-left-radius: 8px;
    41         -webkit-border-top-right-radius: 8px;
    42         -moz-border-radius-topleft: 8px;
    43         -moz-border-radius-topright: 8px;
    44         -webkit-border-bottom-left-radius: 8px ;
    45         -webkit-border-bottom-right-radius: 8px;
    46         -moz-border-radius-bottomleft: 8px;
    47         -moz-border-radius-bottomright: 8px;
    48 }
    49 
    50 /* no chip end no shifting*/
    51 #menu ul {
    52         padding: 0;
    53         margin: 0;
    54         list-style-type: none;
    55 }
    56 
    57 #menu li ul {
    58         display: block;
    59         position: absolute;
    60         left: -999em;
    61         border-top: 1px solid #a0a0a0;
    62         background: #6495ed; /* IE*/
    63 }
    64 
    65 #menu li:hover ul,
    66 #menu a:hover ul,
    67 #menu li.iehover ul { /* IE and Opera */
    68         left: auto;
    69 }
    70 
    71 #menu li {
    72         float: left;
    73         border-right: 1px solid #404040;
    74         background: none;
    75 }
    76 
    77 /* under-menu display */
    78 #menu ul ul li {
    79         float: none;
    80         background: white;
    81         border-left: 1px solid #a0a0a0;
    82         border-right: 1px solid #a0a0a0;
    83         border-bottom: 1px solid #a0a0a0;                                       
    84 }       
    85 
    86 #menu a {
    87         display: block;
    88         text-decoration: none;
    89         color: #404040;
    90         padding: 0.3em 0.6em 0.3em;
    91 }
    92 
    93 /* under-menu */
    94 #menu ul ul a {
    95         color: #6495ed;
    96 }
    97 
    98 /* show the user that his mouse is on the menu */
    99 #menu ul ul a:hover, #menu a:hover {
    100         color: #A020F0;
    101 }
    102 #menu ul ul a:hover {
    103         background: #f0f0f0;
    104 }
    105 
    106 @media print {
    107         /*Hide menu*/
    108         .menu, .ssmenu {
    109                 visibility:hidden;
    110 }
    111 }
    112 
    113 .menu, .ssmenu {
    114         background: #F0F0F0;
    115         padding:0px;
    116         width:15em;
    117 }
    118 
    119 .menu {
    120         text-align:center;
    121 }
    122 
    123 .menu span, .ssmenu span {
    124         /* vocal synthesis compatibility*/
    125         display:none;
    126 }
    127 
    128 .ssmenu ul,.ssmenu li{
    129         padding:0;
    130         margin:0;
    131         list-style-type:none;
    132 }
    133 
    134 .menu a, .ssmenu a, .menu a:visited, .ssmenu a:visited {
    135         text-decoration:none;
    136         display:block;
    137         margin:0px;
    138         width:100%;
    139 }
    140 
    141 .ssmenu a, .ssmenu a:visited {
    142         padding-left:5px;
    143 }
    144 
    145 .ssmenu ul:hover, .ssmenu a:hover, .ssmenu a:focus, .menu a:hover, .menu a:focus {
    146         background: none;
    147         text-decoration:none;
    148         margin:0px;
    149         width:100%;
    150 }
    151 
    152 /**************************************/
    153 /*              FOOTERS               */
    154 /**************************************/
    155 #footer {
    156         font-size: 85%;
    157         width: 900px;
    158         text-align: center;
    159         margin: 0 auto;
    160         clear: both;
    161         border-top: 1px solid #d6d6d6;
    162         padding-top: 10px;
    163         padding-bottom: 10px;
    164 }
    165 
    166 #footer a{
    167         color: white;
    168         text-decoration: none;
    169         background: none;
    170 }
    171 
    172 #footer a:hover {
    173         color: white;
    174         text-decoration: none;
    175         background: none;
    176 }
    177 
    178 #footer strong {
    179         color: #6495ed;
    180         text-decoration: none;
    181         background: none;
    182 }
    183 
    184 #footer strong:hover {
    185         color:#A020F0;
    186         text-decoration: underline;
    187 }
    188 
    189 /**************************************/
    190 /*            MAIN CONTENT            */
    191 /**************************************/
    192 body {
    193         background:none;
    194         font-family: Arial, Verdana, Tahoma;
    195         font-size: 14px;
    196         color: #404040;
    197         margin: auto;
    198 }
    199 
    200 #content {
    201         width: 900px;
    202         margin: auto;
    203         margin-bottom: 20px;
    204         float: center;
    205 
    206         background: none;
    207         text-align: justify;
    208         vertical-align: middle;
    209 }
    210 
    211 /* end added by Mathieu */
    212 
    2131div.fragment {
    2142        width: 98%;
     
    24331.stringliteral { color: #002080; }
    24432.charliteral { color: #008080; }
    245 
    246 a:link {
    247         text-decoration: none;
    248         color: #6495ed; /*purple:#A020F0*/
    249 }
    250 
    251 a:visited {
    252         text-decoration:none;
    253         color:#c61;
    254 }
    255 
    256 a:hover {
    257         text-decoration: underline;
    258         color:#A020F0;
    259 }
    260 
    261 h1 {
    262         margin-top:1em;
    263         background: transparent;
    264         color: #6495ed;
    265         font-size: 200%;
    266         text-align: center;
    267 }
    268 
    269 h2 {
    270         margin-top:1em;
    271         background: transparent;
    272         color: #6495ed;
    273         font-size: 160%;
    274         text-align: left;
    275 }
Note: See TracChangeset for help on using the changeset viewer.