59 lines
1.4 KiB
Text
59 lines
1.4 KiB
Text
|
/**
|
||
|
* This contains the content styling
|
||
|
* @author Sascha Leib <sascha@leib.be>
|
||
|
*/
|
||
|
|
||
|
/* general link styles */
|
||
|
a:link {
|
||
|
color: @ini_link;
|
||
|
text-decoration: none;
|
||
|
border-radius: 2px;
|
||
|
}
|
||
|
a:visited {
|
||
|
color: @ini_link;
|
||
|
}
|
||
|
a:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
a:focus {
|
||
|
outline: @ini_focus_color solid 2px;
|
||
|
}
|
||
|
a.wikilink1:link,
|
||
|
a.wikilink1:visited {
|
||
|
color: @ini_existing;
|
||
|
}
|
||
|
a.wikilink2:link,
|
||
|
a.wikilink2:visited {
|
||
|
color: @ini_missing;
|
||
|
}
|
||
|
|
||
|
a.media:link,
|
||
|
a.media:visited {
|
||
|
display: block;
|
||
|
line-height: 0;
|
||
|
}
|
||
|
|
||
|
/* in-page links */
|
||
|
a[href^='#'].wikilink1:link,
|
||
|
a[href^='#'].wikilink1:visited {
|
||
|
color: @ini_inpage;
|
||
|
text-decoration: underline;
|
||
|
text-decoration-style: dotted;
|
||
|
|
||
|
}
|
||
|
|
||
|
/* special cases: included section in footer: */
|
||
|
footer #ftInclude a.wikilink1:link,
|
||
|
footer #ftInclude a.wikilink1:visited {
|
||
|
color: @ini_link;
|
||
|
}
|
||
|
|
||
|
/* dark mode overrides */
|
||
|
@media (prefers-color-scheme: dark) {
|
||
|
|
||
|
body.darkmode a:link, body.darkmode a:visited { color: @ini_link_dark; }
|
||
|
body.darkmode a.wikilink1:link, body.darkmode a.wikilink1:visited { color: @ini_existing_dark; }
|
||
|
body.darkmode a.wikilink2:link, body.darkmode a.wikilink2:visited { color: @ini_missing_dark; }
|
||
|
body.darkmode #ftInclude a.wikilink1:link, body.darkmode #ftInclude a.wikilink1:visited { color: @ini_link_dark; }
|
||
|
body.darkmode a[href^='#'].wikilink1:link, body.darkmode a[href^='#'].wikilink1:visited { color: @ini_inpage_dark; }
|
||
|
}
|