Feature tests; link decoration; set-up for AO3 draft.
This commit is contained in:
parent
67c364b980
commit
36f68004e3
2 changed files with 210 additions and 0 deletions
styles
97
styles/interwiki.css
Normal file
97
styles/interwiki.css
Normal file
|
@ -0,0 +1,97 @@
|
|||
/*
|
||||
* begin interwiki.css
|
||||
* */
|
||||
|
||||
/*
|
||||
* Note: AO3 does not support CSS variables as of 2024-01-01.
|
||||
* */
|
||||
/*
|
||||
#workskin a {
|
||||
--ext-mark-1: '↦';
|
||||
--ext-mark-2: '↪';
|
||||
--ext-mark-vs: 'ṽ';
|
||||
}
|
||||
*/
|
||||
|
||||
a.interwiki::before {
|
||||
display: inline-block;
|
||||
width: 2.2ex;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
a.interwiki::before {
|
||||
content: '↪';
|
||||
}
|
||||
|
||||
a[href^="#"]::before {
|
||||
display: inline-block;
|
||||
width: 1.0ch;
|
||||
content: '§';
|
||||
}
|
||||
|
||||
a[href*="wikipedia.org/"]:not(.no-interwiki) ,
|
||||
a[href*="wikifunctions.org/"] ,
|
||||
a[href*="wikiquote.org/"] ,
|
||||
a[href*="wikisource.org/"] ,
|
||||
a[href*="wiktionary.org/"]
|
||||
{
|
||||
text-decoration-style: double;
|
||||
color: navy;
|
||||
}
|
||||
|
||||
a[href*="wikipedia.org/"]:not(.no-interwiki)::before ,
|
||||
a[href*="wikifunctions.org/"]::before ,
|
||||
a[href*="wikiquote.org/"]::before ,
|
||||
a[href*="wikisource.org/"]::before ,
|
||||
a[href*="wiktionary.org/"]::before
|
||||
{
|
||||
display: inline-block;
|
||||
width: 2ch;
|
||||
color: #337;
|
||||
background-color: #ccc;
|
||||
font-size: 75%;
|
||||
content: 'W';
|
||||
}
|
||||
|
||||
a[href*="archiveofourown.org/"] {
|
||||
text-decoration-style: double;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
a[href*="archiveofourown.org/"]::before {
|
||||
display: inline-block;
|
||||
width: 2ch;
|
||||
color: #cc7;
|
||||
background-color: #860303;
|
||||
text-align: center;
|
||||
font-size: 75%;
|
||||
content: '~';
|
||||
}
|
||||
|
||||
#workskin a[href*="veniasilente.user.tropi.us/"] {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
#workskin a[href*="veniasilente.user.tropi.us/"]::before {
|
||||
content: 'ṽ';
|
||||
color: yellow;
|
||||
background-color: #37d818;
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
#workskin a[href*="suoceverse.tropi.us/"] {
|
||||
color: green;
|
||||
}
|
||||
|
||||
#workskin a[href*="suoceverse.tropi.us/"]::before {
|
||||
content: 'ṽ';
|
||||
color: blue;
|
||||
background-color: orchid;
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
/*
|
||||
* end interwiki.css
|
||||
* */
|
Loading…
Add table
Add a link
Reference in a new issue