Skillnad mellan versioner av "Användare:Skogstoken/common.css"

(test)
Rad 1: Rad 1:
pre { background: Grey }
+
/* Fix the sidebar's position while you scroll */
  
#p-personal {
+
div[id=column-one] { /* Using the attribute selector hides this from IE */
     position:relative;
+
     position: fixed;
     z-index:3;
+
     height: 100%;    /* If you shrink the browser too small, the side column will */
     width: 11.6em;
+
    overflow: auto; /*  become scrollable, so stuff is always accessible, albeit ugly */
 +
     z-index: 2;
 
}
 
}
  
#p-personal .pBody {
+
div#p-lang .pBody ul{   /* Sets the language box to a fixed height and scrollable if too long to fit */
     width: 11.6em;
+
     height: 10em;
    border: none;
+
     overflow: auto;
    margin: 0 0 0.1em 0em;
 
    float: none;
 
     overflow: hidden;
 
    font-size: 95%;
 
    background: White;
 
    border-collapse: collapse;
 
    border: 1px solid #aaaaaa;
 
    padding: 0.3em 0.5em 0.3em 0.3em;
 
 
}
 
}
  
#p-personal ul {
+
body {               /* Fix the background image, too, so it looks nice as you scroll */
    line-height: 1.5em;
+
     background-attachment: fixed;
    list-style-type: square;
 
    list-style-image: url("/style/monobook/bullet.gif");
 
 
 
    font-size:95%;
 
    margin: 0 0 0 1.5em;
 
    padding:0;
 
    text-align:left;
 
     text-transform: none;
 
 
}
 
}
  
#p-personal li {
+
div#footer {             /* Fix the footer so it looks nice and doesn't overlap the sidebar */
     display: list-item;
+
     margin-left: 13.6em;
     padding:0;
+
    border-left: solid 1px rgb(250, 189, 35);
     margin: 0 0 0 0;
+
     /* Uncomment this if you use rounded edges: */
     margin-bottom: 0.1em;
+
/*
 +
     -moz-border-radius-topleft: 1em;  
 +
     -moz-border-radius-bottomleft: 1em;  
 +
*/
 
}
 
}

Versionen från 9 oktober 2018 kl. 15.08

/* 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;
}

div#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;
}

div#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; 
*/
}