Difference between revisions of "MediaWiki:Vector.css"

From NikkiWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
/* Cascading stylesheets (CSS) here will be loaded for users of the Vector skin. */
 
/* 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"); }
+
@font-face { font-family: "Noto Sans Regular"; src: url("fonts/google/NotoSans-Regular.ttf"); }
 +
@font-face { font-family: "Noto Sans Italic"; font-style: italic; src: url("fonts/google/NotoSans-Italic.ttf"); }
 +
 
 +
@font-face { font-family: "Red Hat Mono Light"; font-display: swap; src: local("Red Hat Mono Light"), local("Red Hat Mono"), url("/fonts/google/RedHatMono.ttf"); }
 +
@font-face { font-family: "Noto Sans Mono Regular"; src: url("fonts/google/NotoSansMono-Regular.ttf"); }
  
 
#content a:link,
 
#content a:link,
Line 34: Line 38:
  
 
.translate { font-size: large; word-spacing: 1em; }
 
.translate { font-size: large; word-spacing: 1em; }
.translate code { font-family: "Red Hat Mono", "Roboto Mono", "Noto Sans Mono", monospace; }
+
.translate code { font-family: "Red Hat Mono Light", "Red Hat Mono", "Roboto Mono Regular", "Roboto Mono", "Noto Sans Mono Regular", "Noto Sans Mono", monospace; }
 +
 
 +
.translations { font-size: large; }

Revision as of 2022-04-27T02:42:38

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

@font-face { font-family: "Noto Sans Regular"; src: url("fonts/google/NotoSans-Regular.ttf"); }
@font-face { font-family: "Noto Sans Italic"; font-style: italic; src: url("fonts/google/NotoSans-Italic.ttf"); }

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

#content a:link,
#p-navigation a:link,
#p-tb a:link,
.vector-menu a:link,
.mw-footer a:link
{ color: fuchsia; }

#content a: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; }

#content a:hover,
#p-navigation a:hover,
#p-tb a:hover,
.vector-menu a:hover,
.mw-footer a:hover
{ background: yellow; }

#content a: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 Light", "Red Hat Mono", "Roboto Mono Regular", "Roboto Mono", "Noto Sans Mono Regular", "Noto Sans Mono", monospace; }

.translations { font-size: large; }