MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
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%
     width: 100%;
}
 
.current-text-header:first-child {
    padding-top: 0; /* Removes padding above the first header */
     margin-top: 0;
     margin-top: 0;
}
}
Line 38: Line 36:
     background-color: #f5fffa;
     background-color: #f5fffa;
     box-sizing: border-box;
     box-sizing: border-box;
    margin-top: 0;
}
}


Line 46: Line 45:
     display: block;
     display: block;
     width: 100%;
     width: 100%;
}
.current-media-header:first-child {
    padding-top: 0; /* Removes padding above the first header */
     margin-top: 0;
     margin-top: 0;
}
}