Difference between revisions of "MediaWiki:Vector.css"

From NikkiWiki
Jump to navigation Jump to search
Line 4: Line 4:
  
 
.mw-body a:link,
 
.mw-body a:link,
a.text:link,
+
a .external .text :link,
a.free:link,
+
a .external .free :link,
 
#p-navigation a:link,
 
#p-navigation a:link,
 
#p-tb a:link,
 
#p-tb a:link,
Line 13: Line 13:
  
 
.mw-body a:visited,
 
.mw-body a:visited,
a.text:visited,
+
a .external .text :visited,
a.free:visited,
+
a .external .free :visited,
 
#p-navigation a:visited,
 
#p-navigation a:visited,
 
#p-tb a:visited,
 
#p-tb a:visited,
Line 24: Line 24:
  
 
.mw-body a:hover,
 
.mw-body a:hover,
a.text:hover,
+
a .external .text :hover,
a.free:hover,
+
a .external .free :hover,
 
#p-navigation a:hover,
 
#p-navigation a:hover,
 
#p-tb a:hover,
 
#p-tb a:hover,
Line 33: Line 33:
  
 
.mw-body a:active,
 
.mw-body a:active,
a.text:active,
+
a .external .text :active,
a.free:active,
+
a .external .free :active,
 
#p-navigation a:active,
 
#p-navigation a:active,
 
#p-tb a:active,
 
#p-tb a:active,

Revision as of 2022-04-21T17:59:21

/* Cascading stylesheets (CSS) here will be loaded for users of the Vector skin. */

@font-face { font-family: "Red Hat Mono"; font-display: swap; src: local("Red Hat Mono"), url("/fonts/google/RedHatMono.ttf"); }

.mw-body a:link,
a .external .text :link,
a .external .free :link,
#p-navigation a:link,
#p-tb a:link,
.vector-menu a:link,
.mw-footer a:link
{ color: fuchsia; }

.mw-body a:visited,
a .external .text :visited,
a .external .free :visited,
#p-navigation a:visited,
#p-tb a:visited,
.vector-menu a:visited,
.mw-footer a:visited
{ color: red; }

.new a:link, .new a:visited { color: maroon; }

.mw-body a:hover,
a .external .text :hover,
a .external .free :hover,
#p-navigation a:hover,
#p-tb a:hover,
.vector-menu a:hover,
.mw-footer a:hover
{ background: yellow; }

.mw-body a:active,
a .external .text :active,
a .external .free :active,
#p-navigation a:active,
#p-tb a:active,
.vector-menu a:active,
.mw-footer a:active
{ background: lime; }

.translate { font-size: large; word-spacing: 1em; }
.translate code { font-family: "Red Hat Mono", "Roboto Mono", "Noto Sans Mono", monospace; }