MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 9: Line 9:
     text-align: center;
     text-align: center;
     gap: 2%; /* Adds 2% margin between text and media */
     gap: 2%; /* Adds 2% margin between text and media */
    margin-top: 0;
}
}


Line 16: Line 17:
     text-align: center;
     text-align: center;
     background-color: #fdf4ff;
     background-color: #fdf4ff;
     box-sizing: border-box; /* Prevents border from adding to width */
     box-sizing: border-box;
    margin-top: 0;
}
}


Line 24: Line 26:
     background-color: #eecdf2;
     background-color: #eecdf2;
     display: block;
     display: block;
     width: 100%
     margin-top: 0;
    padding: 0.2em 0.4em;
    border-top: 1px solid #a2a9b1;
    border-bottom: 1px solid #a2a9b1;
}
 
.current-text-header:first-child {
    margin-top: 0;
    border-top: 0px solid #a2a9b1;
}
}


Line 33: Line 43:
     background-color: #f5fffa;
     background-color: #f5fffa;
     box-sizing: border-box;
     box-sizing: border-box;
    margin-top: 0;
}
}


Line 40: Line 51:
     background-color: #cef2e0;
     background-color: #cef2e0;
     display: block;
     display: block;
     width: 100%;
     margin-top: 0;
    padding: 0.2em 0.4em;
    border-top: 1px solid #a2a9b1;
    border-bottom: 1px solid #a2a9b1;
}
 
.current-media-header:first-child {
    margin-top: 0;
    border-top: 0px solid #a2a9b1;
}
}


Line 155: Line 174:
     width: 100% !important;   
     width: 100% !important;   
     height: 100% !important;
     height: 100% !important;
     padding-left: 2%;
     padding-left: 2%;  
     max-width: 96%;           
    padding-right: 2%;
    padding-bottom: 2%;
    padding-top: 2%;
     max-width: 100%;           
     box-sizing: border-box;   
     box-sizing: border-box;   
}
.navbox {
    padding: 0 !important;
}
}