Difference between revisions of "MediaWiki:Common.css"

From Securipedia
Jump to navigation Jump to search
Line 103: Line 103:
   
 
#column-one {
 
#column-one {
width:11.1em;
+
width:12.1em;
 
padding-top:45;
 
padding-top:45;
 
}
 
}

Revision as of 21:58, 25 March 2012

/* CSS placed here will be applied to all skins */

// My personal info

#mypers {
    width: 80%;
    position: relative;
    margin-left: 13.8em;
    border-left: 0;
    white-space:nowrap;
    line-height: 0;//1,2em;
    overflow: hidden;
    border-collapse: collapse;
    list-style: none;
    border:none;
    font-size: 100%;
}

#mypers h5 { display: none }
#mypers ul { 
   border:none;
   margin: 0; 
   margin-left:13.8em;
}
#mypers li { display: inline; }
#mypers li a {
  padding: 0 0.4em;
  border-left: 0;
}
#mypers .hiddenStructure { display: none; }
#mypers li {

    display: inline;
    border: 1px solid #aaaaaa;
    border-top: none;
    padding: 0.2em 0 0 0;
    margin: 0 0.3em 0 0;
    overflow: visible;
    background: White;
    z-index = 1;
}
#mypers li.selected {
    border-color: #fabd23;
    padding: 0.2em 0 0 0;
}
#mypers li a {
    background-color: White;
    color: #005189;
    border: none;
    padding: 0.3em 0.8em 0 0.8em;
    text-decoration: none;
    position: relative;
    margin: 0;
}
#mypers li.selected a { z-index: 3; }
#mypers .new a { color:#ba0000; }
#mypers li a:hover {
    background-color: Lightblue;
    z-index: 3;
    font-color: White;
    text-decoration: none;
}
#mypers li.istalk { margin-right: 10em; }
#mypers li.istalk a { padding-right: 0.5em; }
//#mypers-ca-addsection a { 
//    padding-left: 0.4em;
//    padding-right: 0.4em;
//}

/* Fix the sidebar's position while you scroll */

div[id=column-one] {  /* Using the attribute selector hides this from IE */
    position: fixed;
    height: 100%;     /* If you shrink the browser too small, the side column will */
    overflow: auto; /*   become scrollable, so stuff is always accessible, albeit ugly */
    z-index: 2;
}

#p-lang .pBody ul{    /* Sets the language box to a fixed height and scrollable if too long to fit */
    height: 10em;
    overflow: auto;
}

body {                /* Fix the background image, too, so it looks nice as you scroll */
    background-attachment: fixed;
}


#footer {             /* Fix the footer so it looks nice and doesn't overlap the sidebar */
    margin-left: 13.6em;
    border-left: solid 1px rgb(250, 189, 35);
    /* Uncomment this if you use rounded edges: */
 
    -moz-border-radius-topleft: 1em; 
    -moz-border-radius-bottomleft: 1em; 
}

/* Don't use any logo, move the boxes onto that area instead */

//#p-logo {
//    display: none;
//}

#column-one {
    width:12.1em;
    padding-top:45;
}