Difference between revisions of "MediaWiki:Common.css"
From Security Vision
Line 38: | Line 38: | ||
} | } | ||
− | /* red links, don-t work | + | /* red links, don-t work if styled here, style them in the media query*/ |
− | + | ||
− | |||
− | |||
Line 53: | Line 51: | ||
@media screen{ | @media screen{ | ||
− | + | a.new { | |
+ | color: #FF4500 !important; | ||
+ | } | ||
+ | a.new:visited{ | ||
+ | color: #CD5C5C !important; | ||
+ | } | ||
} | } |
Revision as of 15:16, 18 January 2024
/* CSS placed here will be applied to all skins */
@font-face {
font-family: 'PPReader';
src: url("https://www.securityvision.io/assets/css/fonts/PPReader-Regular.woff2")
}
@font-face {
font-family: 'NeueMontreal';
src: url("https://www.securityvision.io/assets/css/fonts/PPNeueMontreal-Regular.ttf")
}
<!-- fonts are not installed locally yet -->
* {font-family: Helvetica;}
h1, #firstHeading, .mw-headline{font-family: "PPReader";}
body{
background-color: white;
}
.mw-body{
border: none;
}
/* unvisited link */
a:link {
color: darkslategray;
}
/* visited link */
a:visited {
color: darkslategray;
}
/* red links, don-t work if styled here, style them in the media query*/
blockquote {
background: #F3F3F3;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
}
@media screen{
a.new {
color: #FF4500 !important;
}
a.new:visited{
color: #CD5C5C !important;
}
}