User:Erutuon/common.css: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
Undo revision 75202249 by Erutuon (talk)
Tag: Undo
monospace MediaWiki:Gadgets-definition suggested by stjn
Line 295: Line 295:
.mw-parser-output > ul + ul {
.mw-parser-output > ul + ul {
background-color: rgba(255, 0, 0, 0.07);
background-color: rgba(255, 0, 0, 0.07);
}

.page-MediaWiki_Gadgets-definition .mw-parser-output > ul {
font-family: monospace, monospace;
word-wrap: break-word;
}
}

Revision as of 21:14, 9 October 2024

@import url("https://en.wiktionary.org/w/?action=raw&ctype=text/css&title=User_talk:70.172.194.25/Sandbox.css");

[lang="ar-Latn"] { font-family: LegibleHalfRings, sans-serif; }

/* From [[w:MediaWiki:Common.css]] */
.ns-4 #bodyContent dd,
.ns-talk #bodyContent dd {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

h1 {
    font-size: 250%;
    font-weight: normal;
}
h2 {
    font-weight: normal;
}

/* Nicer categories */
#mw-pages {
    clear: both;
}
.mw-category {
    column-width: 10em;
}

/* Mark properly formatted headwords */
.headword {
    border-bottom: 1px dotted #BBB;
}

/* Mark language name links created by etymology templates */
.etyl {
    background-color: #ffc;
}

/*	List format:
1.
	a.
		i.
*/
ol {
    list-style-type: decimal;
}
ol ol {
    list-style-type: lower-latin;
}
ol ol ol {
    list-style-type: lower-roman;
}

/* Scripts, transcription systems, and languages */
.tr {
    font-family: "Times New Roman", "Gentium Plus", serif;
}

.IPA {
    font-family: "Gentium Plus";
    color: #777;
}

.Arab {
    font-family: "Traditional Arabic", Scheherazade;
    font-size: 1.4em;
}
/* Jawi */
.ms-Arab {
    font-family: Scheherazade;
}

h1 .Arab {
    font-family: Amiri;
    line-height: 1.5em;
}

.fa-Arab,
.sd-Arab,
.ur-Arab {
    font-family: "Noto Nastaliq Urdu", IranNastaliq;
}

.Armn {
    font-family: "Arian Grq";
}

.Geor {
    font-family: "BPG Classic", "TT55Eo00";
}

.e-quotation.polytonic {
    font-family: "GFS Porson";
}
.Grek {
    font-family: "New Athena Unicode";
}

.Gujr {
    font-family: Rasa;
}

.Latinx {
    font-family: "Gentium Plus";
}

.Linb {
    font-family: Aegean;
}

.Hebr {
    font-family: "Taamey David CLM", "Taamey Frank CLM", "Ezra SIL", "Noto Serif Hebrew";
}

:lang(hit).Xsux {
    font-family: "UllikummiA Regular", "Segoe UI Historic";
}

/* Proto-languages */
:lang(cel-pro),
:lang(gem-pro),
:lang(gmw-pro),
:lang(grk-pro),
:lang(ine-pro),
:lang(itc-pro),
:lang(sla-pro),
:lang(sqj-pro) {
    font-family: Times;
}

:lang(sla-pro) {
    font-family: "Gentium Plus";
}

.Cyrl {
    font-family: "Gentium Plus";
}

h1 span.Cyrs {
    font-family: BukyVede;
}

b.Cyrs,
strong.Cyrs {
    font-family: "RomanCyrillic Std";
}

.Cyrs,
.Cyrs * {
    font-family: "Monomakh Unicode";
    font-weight: normal;
}

.Cyrs b {
    text-decoration: underline;
}

:lang(orv).Cyrs {
    font-family: Fedorovsk Unicode TT, Monomakh Unicode TT;
    /* for ꙑ */
}

.Glag {
    font-family: Dilyana;
}

.Deva {
    font-family: Siddhanta;
}

.Hani,
.Hans {
    font-family: "Noto Serif CJK SC", "BabelStone Han";
}

.Hant {
    font-family: "Noto Serif CJK TC", "BabelStone Han";
}

.Hira,
.Jpan,
.Kana {
    font-family: "Noto Serif CJK JP", "BabelStone Han";
}

h1 .Jpan {
    font-family: SoukouMincho, "Noto Serif CJK JP", "BabelStone Han";
}
.Jpan rt,
.kanji-table tr:nth-child(3) .Jpan {
    font-family: KokoroMinchoutai;
}

/* Highlight ruby text (<rt> tags) with alternating colors. */
.Jpan ruby:nth-child(2n) rt {
    background-color: #DFF6FF;
}
.Jpan ruby:nth-child(2n+1) rt {
    background-color: #FFDEFF;
}
.Hang,
.Kore,
:lang(ko).Hani {
    font-family: "Noto Serif CJK KR";
}

/* Other */
#utcdate {
    display: none;
}

.serial-comma {
    display: inline;
}

.partlynew {
    color: #008000 !important;
}

/* SYNTAX HIGHLIGHTING */

/* variables */
.n {
    color: #007;
}

/* punctuation marks */
.p {
    color: #2F4F4F;
}

/* WATCHLIST */
.updatedmarker {
    background-color: transparent;
    color: #006400;
}
.mw-changeslist-line-watched .mw-title {
    font-weight: normal;
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/ac/Pentagram_dis.svg/13px-Pentagram_dis.svg.png") no-repeat left;
    /* @noflip */
    padding-left: 16px;
}
.mw-special-Watchlist #mw-watchlist-resetbutton {
    display: block;
}

.list-switcher-element {
    text-align: center;
}

.list-switcher-element .NavToggle {
    float: none;
}

.page-MediaWiki_Gadgets-definition #mw-content-text li {
    word-wrap: break-word;
}

/* Styles for [[w:User:Anomie/previewtemplatelastmod.js]] */
.PreviewTemplateLastMod_user::before {
    content: ' – ';
}

.PreviewTemplateLastMod_comment {
    font-style: italic;
}

.page-User_Erutuon_mainspace_headers_possibly_incorrect_data.action-edit .mw-content-ltr,
.page-User_Erutuon_mainspace_headers_possibly_incorrect_data.action-submit .mw-content-ltr,
.page-User_Erutuon_mainspace_headers_possibly_incorrect_data.action-view .mw-content-ltr {
    white-space: pre-wrap;
    font-family: "Everson Mono", Courier, monospace;
    padding: 1em;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-weight: bold;
    border: 1px solid #eaecf0;
    line-height: 1.1em;
}

.test::before {
    content: attr(data-test);
}

/* widen abuse filter editor */
.mw-abusefilter-editor {
    width: inherit;
}

/*
 * Highlight unordered and ordered lists that aren't connected
 * (idea from [[User:Dixtosa/common.css]].
 */
.mw-parser-output > ol + ol,
.mw-parser-output > ul + ul {
    background-color: rgba(255, 0, 0, 0.07);
}

.page-MediaWiki_Gadgets-definition .mw-parser-output > ul {
    font-family: monospace, monospace;
    word-wrap: break-word;
}