MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(114 intermediate revisions by 3 users not shown) | |||
Line 17: | Line 17: | ||
body { | body { | ||
font-family: Ekatra; | font-family: Ekatra; | ||
font-size: | font-size: 24px; | ||
text-align:justify; | |||
} | |||
#bodyContent { | |||
padding-left: 5%; | |||
padding-right: 5%; | |||
color:#2e2e2e; | |||
} | |||
.action-edit #bodyContent { | |||
padding-left: 2%; | |||
padding-right: 2%; | |||
color:#2e2e2e; | |||
} | |||
@media only screen and (max-width: 600px) { | |||
#bodyContent { | |||
padding-left: 5%; | |||
padding-right: 5%; | |||
color:#2e2e2e; | |||
} | |||
} | } | ||
#firstHeading { | #firstHeading { | ||
font-family: Ekatra; | font-family: Ekatra; | ||
font-size: 0.8em; | |||
} | } | ||
Line 38: | Line 59: | ||
flex: 1; | flex: 1; | ||
min-width: 250px; | min-width: 250px; | ||
} | |||
.error { | |||
display: none; | |||
} | |||
.infobox { | |||
border: 1px solid #a2a9b1; | |||
border-spacing: 3px; | |||
background-color: #f8f9fa; | |||
color: black; | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 1em; | |||
float: right; | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
width: 22em; | |||
} | |||
.infobox-heading-name{ | |||
text-align:center; | |||
font-weight: 500; | |||
font-size: 23px; | |||
line-height: 28px; | |||
} | |||
.infobox.biography th{ | |||
text-align:left; | |||
white-space: nowrap; | |||
} | |||
.infobox.biography td { | |||
padding-left: 10px; | |||
} | |||
.infobox-heading-caption{ | |||
text-align:center; | |||
} | |||
.Poem2-Ekatra{ | |||
text-align:justify; | |||
} | |||
/* Mobile specific style */ | |||
@media only screen and (max-width: 767px) { | |||
.Poem2-Ekatra { | |||
text-align: justify; | |||
} | |||
} | |||
@media only screen and (max-width: 767px) { | |||
body { | |||
text-align: justify !important; | |||
} | |||
} | |||
p.bookcover-heading { | |||
font-size: 29px; | |||
color:#861f23; | |||
} | |||
p.bookcover-author, p.bookcover-editor{ | |||
font-size: 21px; | |||
color:#861f23; | |||
} | |||
.bookcover{ | |||
padding:10px; | |||
margin-bottom:20px; | |||
} | |||
.heading-detail-page{ | |||
width:auto; | |||
margin-left:auto; | |||
margin-right:auto; | |||
margin-bottom: 30px; | |||
} | |||
.tablecenter{ | |||
margin:0 auto; | |||
} | |||
.content-box.lightpink{ | |||
border:2px solid #ffe2e2; | |||
} | |||
.content-box-heading{ | |||
background:#ffe2e2; | |||
font-size: larger; | |||
text-align: center; | |||
padding-top: 0.1em; | |||
padding-bottom: 0.1em; | |||
} | |||
.content-box-text{ | |||
background:#fff5f5; | |||
padding: 10px; | |||
font-size:17px; | |||
} | |||
table.autorowtable { | |||
counter-reset: rowNumber; | |||
} | |||
.autorow::before { | |||
counter-increment: rowNumber; | |||
content: counter(rowNumber) "." ; | |||
padding-right: 0.3em; | |||
text-align: right; | |||
} | |||
/* To make images responsive */ | |||
.res-img img { | |||
max-width:70%; | |||
height:auto; | |||
} | |||
#wikisource-download-epub, | |||
#wikisource-download-choose, | |||
#wikisource-download-pdf, | |||
#wikisource-download-mobi { | |||
display: none; | |||
} | |||
.mw-indicators { | |||
display: none; | |||
} | |||
@media only screen and (max-width: 767px) { | |||
.pre-content h1, | |||
.content h1, | |||
.content h2 { | |||
display: none; | |||
} | |||
} | |||
.mw-parser-output a.external { | |||
background-image: none !important; | |||
} | |||
.mw-ui-button.mw-ui-progressive:not(:disabled) { | |||
background-color: #3366cc !important; | |||
} | |||
#editpage-specialchars { | |||
position: sticky; | |||
top: 0; | |||
z-index: 1000; | |||
background-color: white; | |||
height: 50px; | |||
overflow-y: auto; | |||
overflow-x: hidden; | |||
} | |||
nav#p-coll-print_export { | |||
display: none; | |||
} | } |
Latest revision as of 13:56, 3 October 2024
/* CSS placed here will be applied to all skins */
@font-face {
font-family: "Ekatra";
src: url("https://wiki.ekatrafoundation.org/fonts/Ekatra-Normal.ttf");
}
@font-face {
font-family: "Ekatra";
src: url("https://wiki.ekatrafoundation.org/fonts/Ekatra-Bold.ttf");
font-weight: bold;
}
@font-face {
font-family: "Ekatra";
src: url("https://wiki.ekatrafoundation.org/fonts/Ekatra-Italic.ttf");
font-style: italic;
}
body {
font-family: Ekatra;
font-size: 24px;
text-align:justify;
}
#bodyContent {
padding-left: 5%;
padding-right: 5%;
color:#2e2e2e;
}
.action-edit #bodyContent {
padding-left: 2%;
padding-right: 2%;
color:#2e2e2e;
}
@media only screen and (max-width: 600px) {
#bodyContent {
padding-left: 5%;
padding-right: 5%;
color:#2e2e2e;
}
}
#firstHeading {
font-family: Ekatra;
font-size: 0.8em;
}
#p-logo {
margin-top: 1rem;
}
.grid_row {
display: flex;
flex-direction: row;
flex-flow: row wrap;
justify-content: space-between;
}
.grid_col {
flex: 1;
min-width: 250px;
}
.error {
display: none;
}
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 1em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.infobox-heading-name{
text-align:center;
font-weight: 500;
font-size: 23px;
line-height: 28px;
}
.infobox.biography th{
text-align:left;
white-space: nowrap;
}
.infobox.biography td {
padding-left: 10px;
}
.infobox-heading-caption{
text-align:center;
}
.Poem2-Ekatra{
text-align:justify;
}
/* Mobile specific style */
@media only screen and (max-width: 767px) {
.Poem2-Ekatra {
text-align: justify;
}
}
@media only screen and (max-width: 767px) {
body {
text-align: justify !important;
}
}
p.bookcover-heading {
font-size: 29px;
color:#861f23;
}
p.bookcover-author, p.bookcover-editor{
font-size: 21px;
color:#861f23;
}
.bookcover{
padding:10px;
margin-bottom:20px;
}
.heading-detail-page{
width:auto;
margin-left:auto;
margin-right:auto;
margin-bottom: 30px;
}
.tablecenter{
margin:0 auto;
}
.content-box.lightpink{
border:2px solid #ffe2e2;
}
.content-box-heading{
background:#ffe2e2;
font-size: larger;
text-align: center;
padding-top: 0.1em;
padding-bottom: 0.1em;
}
.content-box-text{
background:#fff5f5;
padding: 10px;
font-size:17px;
}
table.autorowtable {
counter-reset: rowNumber;
}
.autorow::before {
counter-increment: rowNumber;
content: counter(rowNumber) "." ;
padding-right: 0.3em;
text-align: right;
}
/* To make images responsive */
.res-img img {
max-width:70%;
height:auto;
}
#wikisource-download-epub,
#wikisource-download-choose,
#wikisource-download-pdf,
#wikisource-download-mobi {
display: none;
}
.mw-indicators {
display: none;
}
@media only screen and (max-width: 767px) {
.pre-content h1,
.content h1,
.content h2 {
display: none;
}
}
.mw-parser-output a.external {
background-image: none !important;
}
.mw-ui-button.mw-ui-progressive:not(:disabled) {
background-color: #3366cc !important;
}
#editpage-specialchars {
position: sticky;
top: 0;
z-index: 1000;
background-color: white;
height: 50px;
overflow-y: auto;
overflow-x: hidden;
}
nav#p-coll-print_export {
display: none;
}