Template:කර්තෘ/styles.css

From Wikisource
Jump to navigation Jump to search
/* {{සිංහල}} */

table.headertemplate,table.footertemplate,.subheadertemplate {
    border: 1px solid #ACA;
    background-color: #E6F2E6
}

table.headertemplate,table.translationheadertemplate,table.portalheadertemplate,.subheadertemplate,.processheadertemplate,.authortemplate {
    width: 100%;
    margin-bottom: 4px
}

.gen_header_backlink,.gen_header_forelink {
    width: 20%;
    font-size: 0.9em;
    line-height: normal
}

.gen_header_backlink {
    text-align: left
}

.gen_header_forelink {
    text-align: right
}

.gen_header_center_cell {
    width: 60%;
    text-align: center
}

#header_section_text .mw-selflink {
    font-weight: inherit
}

table.translation_notes,.process_notes,.author_notes {
    width: 100%;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 4px
}

table.header_notes {
    border-bottom: 1px solid #A0A0A0;
    background-color: #FAFAFF
}

.authortemplate {
    border: 1px solid #BEA2A2;
    background-color: #E4D8D8
}

.author_notes {
    border-bottom: 1px solid #A88;
    background-color: #FFFBFC
}

.author_seealso {
    float: right;
    padding: 2px;
    margin: 0 0 0.5em 1em;
    border: 1px solid #CCC
}

.processheadertemplate {
    border: 1px solid #966;
    background-color: #DCA
}

.process_notes {
    border-bottom: 1px solid #A88;
    background-color: #FFFBFC
}

table.portalheadertemplate {
    border: 1px solid #36A;
    background-color: #DDE
}

table.portal_notes {
    border-bottom: 1px solid #88A;
    background-color: #FCFBFF
}

table.translationheadertemplate {
    border: 1px solid #FDD017;
    background-color: #FFB
}

table.translation_notes {
    border-bottom: 1px solid #FDD017;
    background-color: #FFF8DC
}

.mw-ext-score {
    display: table;
    margin: auto
}

.mw-ext-score img {
    max-width: 100%;
    height: auto
}

.prp-index-pagelist-page {
    border: 1px solid transparent
}

.pagetext {
    text-align: justify
}

@media screen and (max-width: 736px) {
    .enws-hide-on-mobile {
        display:none
    }
}

hr {
    max-width: 100%
}

@media print {
    p {
        text-align: inherit
    }

    #mw-content-text {
        text-align: justify
    }
}

.footertemplate {
    background-color: #E6F2E6;
    border: 1px solid #ACA;
    font-size: 0.90em;
    padding: 0.50em 0.10em 0.50em 0.10em;
    text-align: center;
    margin-bottom: 4px
}

.gen_header_center_cell {
    text-align: center
}

@media(max-width: 768px) {
    .header-mainblock {
        flex-wrap:wrap
    }

    .gen_header_central_cell {
        flex: 0 0 100%;
        order: -2;
        width: auto
    }

    .gen_header_backlink,.gen_header_forelink {
        width: auto
    }
}

.hlist dl,.hlist ol,.hlist ul {
    margin: 0;
    padding: 0
}

.hlist dd,.hlist dt,.hlist li {
    display: inline;
    margin: 0
}

.hlist li.mw-empty-li {
    display: none;
    margin: 0
}

.hlist.inline,.hlist.inline dl,.hlist.inline ol,.hlist.inline ul,.hlist dl dl,.hlist dl ol,.hlist dl ul,.hlist ol dl,.hlist ol ol,.hlist ol ul,.hlist ul dl,.hlist ul ol,.hlist ul ul {
    display: inline
}

.hlist dt:after {
    content: ":"
}

.hlist dd:after,.hlist li:after {
    content: " · ";
    font-weight: bold
}

.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after {
    content: none
}

.hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before {
    content: " (";
    font-weight: normal
}

.hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after {
    content: ") ";
    font-weight: normal
}

.hlist ol {
    counter-reset: listitem
}

.hlist ol > li {
    counter-increment: listitem
}

.hlist ol > li:before {
    content: " " counter(listitem) " ";
    white-space: nowrap
}

.hlist dd ol > li:first-child:before,.hlist dt ol > li:first-child:before,.hlist li ol > li:first-child:before {
    content: " (" counter(listitem) " "
}

.plainlist ul {
    line-height: inherit;
    list-style: none;
    margin: 0
}

.plainlist ul li {
    margin-bottom: 0
}

.poem {
    line-height: inherit;
    margin-top: 0;
    margin-bottom: 0;
    text-indent: inherit
}

.poem p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-indent: inherit !important
}

.poem .mw-poem-indented {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-indent: inherit !important;
    white-space: nowrap !important
}

.poem dl {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-indent: inherit !important
}

.poem dd {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-indent: inherit !important
}

.mw-templatedata-doc-params {
    margin: 0.50em auto 0.50em auto !important
}

.page-Special_Undelete div#copyvio {
    display: block !important
}

table.prettytable {
    border-collapse: collapse;
    border-spacing: 0 0;
    font-size: calc(1rem * 0.8750);
    line-height: inherit;
    margin-top: calc(1rem * 0.50);
    margin-bottom: calc(1rem * 0.50);
    page-break-inside: avoid
}

table.prettytable > tbody,table.prettytable > * > tbody {
    background-color: #f9f9f9
}

table.prettytable > tr > th,table.prettytable > * > tr > th {
    background-color: #f2f2f2;
    border: 1px solid #569BBB;
    font-weight: 700;
    padding-top: calc(1rem * 0.25);
    padding-right: calc(1rem * 0.50);
    padding-bottom: calc(1rem * 0.25);
    padding-left: calc(1rem * 0.50);
    text-align: center
}

table.prettytable > tr > td:nth-child(0n+1),table.prettytable > * > tr > td:nth-child(0n+1) {
    border: 1px solid #569BBB;
    padding-top: calc(1rem * 0.25);
    padding-right: calc(1rem * 0.25);
    padding-bottom: calc(1rem * 0.25);
    padding-left: calc(1rem * 0.25);
    vertical-align: top
}

table.prettytable > tr > td,table.prettytable > * > tr > td {
    border: 1px solid #569BBB;
    padding-top: calc(1rem * 0.25);
    padding-right: calc(1rem * 0.25);
    padding-bottom: calc(1rem * 0.25);
    padding-left: calc(1rem * 0.25)
}

table.prettytable > caption,table.prettytable > * > caption {
    font-weight: 500
}

table.basicWS {
    border-collapse: collapse;
    border-spacing: 0 0;
    empty-cells: hide;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    page-break-inside: avoid
}

table.basicWS > tr > th,table.basicWS > * > tr > th {
    font-weight: normal;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    text-align: center
}

table.basicWS > tr > td,table.basicWS > * > tr > td {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0
}

table.basicWS > caption,table.basicWS > * > caption {
    font-weight: normal
}

table.table-c75 {
    margin-right: auto;
    margin-left: auto;
    width: 75%
}

.valign tr,.valign tr td,.valignt tr,.valignt tr td {
    vertical-align: top
}

.valignb tr,.valignb tr td {
    vertical-align: bottom
}

table.tablecolhdborder {
    border-collapse: collapse;
    border: 1px solid;
    margin: 0 auto 0 auto
}

table.tablecolhdborder th {
    border-bottom: 1px solid;
    border-left: 1px solid;
    text-align: center
}

table.tablecolhdborder td {
    border-left: 1px solid;
    padding-left: 5px
}

table.colhdbordernoside {
    border-collapse: collapse;
    border-top: 1px solid;
    border-bottom: 1px solid;
    margin: 0 auto 0 auto
}

table.colhdbordernoside th {
    border-bottom: 1px solid;
    text-align: center
}

table.colhdbordernoside th:nth-child(n+2),table.colhdbordernoside td:nth-child(n+2) {
    border-left: 1px solid
}

tr.tablebtmborder td {
    border-bottom: 1px solid
}

.nonumtoc .tocnumber {
    display: none
}

.nonumtoc #toc ul,.nonumtoc .toc ul {
    line-height: inherit;
    list-style: none;
    margin: .3em 0 0;
    padding: 0
}

.nonumtoc #toc ul ul,.nonumtoc .toc ul ul {
    margin: 0 0 0 2em
}

h1.usei,h2.usei,h3.usei,h4.usei,h5.usei,h6.usei,h7.usei {
    color: #000000;
    background: none;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    padding-top: 0.50em;
    padding-bottom: 0.17em;
    border-bottom: none;
    page-break-after: avoid
}

hr.usei {
    height: 1px;
    color: #aaa;
    background-color: #aaa;
    border: 0;
    margin: 0.12em 0 0.12em 0
}

table.useiList {
    display: table;
    border-collapse: separate !important;
    border-spacing: 0 0 !important;
    empty-cells: hide !important;
    margin: 0 auto 0 auto !important;
    width: 100% !important;
    page-break-inside: avoid !important
}

table.useiList > tbody,table.useiList > * > tbody {
    display: table-row-group
}

tr.useiListrow {
    display: table-row
}

td.useiListcell1 {
    display: table-cell;
    border-right: 1px solid #aaa !important;
    line-height: inherit !important;
    padding-top: calc(1rem * 0.25);
    padding-right: calc(1rem * 0.25);
    padding-bottom: calc(1rem * 0.25);
    padding-left: calc(1rem * 0.25);
    text-align: left !important;
    vertical-align: top !important;
    white-space: nowrap !important
}

td.useiListcell2 {
    display: table-cell;
    border-right: 1px solid #aaa !important;
    line-height: inherit !important;
    padding-top: calc(1rem * 0.25);
    padding-right: calc(1rem * 0.25);
    padding-bottom: calc(1rem * 0.25);
    padding-left: calc(1rem * 0.25);
    text-align: center !important;
    vertical-align: top !important;
    white-space: nowrap !important
}

td.useiListcell3 {
    display: table-cell;
    line-height: inherit !important;
    padding-top: calc(1rem * 0.25);
    padding-right: calc(1rem * 0.25);
    padding-bottom: calc(1rem * 0.25);
    padding-left: calc(1rem * 0.25);
    text-align: left !important;
    vertical-align: baseline !important
}

td.useiListcell4 {
    display: table-cell;
    border-left: 1px solid #aaa !important;
    line-height: inherit !important;
    padding-top: calc(1rem * 0.25);
    padding-right: calc(1rem * 0.25);
    padding-bottom: calc(1rem * 0.25);
    padding-left: calc(1rem * 0.25);
    vertical-align: bottom !important;
    white-space: nowrap !important
}

span.useiHgindt {
    display: inline-block !important;
    line-height: normal !important;
    padding-left: calc(1rem * 1.125);
    text-indent: calc(1rem * -1)
}

span.useiHdnpad {
    margin-right: -0.50em !important;
    visibility: hidden !important
}

span.useiHidden {
    visibility: hidden !important
}

span.useiFloatl {
    float: left !important
}

span.useiFloatr {
    float: right !important
}

.clearFix {
    display: inline-block
}

.clearFix:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
    overflow: hidden;
    visibility: hidden
}

.clearFix {
    display: block
}

.times-serif,span.texhtml {
    font-family: "Times New Roman","Nimbus Roman No9 L",Times,serif;
    font-size: 118%
}

span.texhtml {
    white-space: nowrap
}

span.texhtml span.texhtml {
    font-size: 100%
}

.digits,.texhtml {
    font-feature-settings: "kern" 0,"lnum","tnum";
    font-variant-numeric: lining-nums tabular-nums;
    font-kerning: none
}

span.HighlightedAnchor:target {
    background-color: #DEF;
    outline: 1px solid red
}

#mw-hidden-catlinks {
    font-size: 90%
}

.page-Main_Page.action-view #siteSub,.page-Main_Page.action-view #contentSub,.page-Main_Page #footer-info-lastmod {
    display: none !important
}