Difference between revisions of "MediaWiki:Common.css"
From Security Vision
Line 3: | Line 3: | ||
@font-face { | @font-face { | ||
− | font-family: ' | + | font-family: 'PPRader'; |
− | src: url("https://www.securityvision.io/ | + | src: url("https://www.securityvision.io/assets/css/fonts/PPRader-Regular.woff") |
} | } | ||
@font-face { | @font-face { | ||
Line 17: | Line 17: | ||
h1, #firstHeading, .mw-headline{ | h1, #firstHeading, .mw-headline{ | ||
− | font-family: | + | font-family: PPRader !important; |
text-align:left; | text-align:left; | ||
Revision as of 16:32, 18 April 2024
/* CSS placed here will be applied to all skins */
@font-face {
font-family: 'PPRader';
src: url("https://www.securityvision.io/assets/css/fonts/PPRader-Regular.woff")
}
@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: PPRader !important;
text-align:left;
}
body{
background-color: white;
}
.mw-body{
border: none;
}
/* unvisited link */
a:link {
color: darkslategray;
}
/* visited link */
a:visited {
color: darkslategray;
}
blockquote {
background: #F3F3F3;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
}
/*----------sidebar left------------*/
#sidebar-left {
padding:0;
}
#sidebar-left .btn-block{
border-radius: 0;
border: transparent;
text-align: left;
padding: 0;
border-top: solid 1px;
margin:0;
}
#sidebar-left .btn{
border:0 !important;
padding: 8px !important;
}
#sidebar-left .show .dropdown-toggle{
background-color: black;
box-shadow:none;
}
#sidebar-left .show .dropdown-toggle:focus{
background-color: black;
box-shadow:none;
}
#sidebar-left .dropdown-toggle:focus{
background-color: black;
color: white;
box-shadow:none;
}
#sidebar-left .btn-group.btn-block.dropdown.show{
flex-direction:column !important;
}
#sidebar-left .dropdown-menu.show{
position:relative !important;
transform:unset !important;
border:none;
}
/*------------homepage----------*/
.container-fluid.fast-track{
display:grid;
grid-template-columns: repeat(2, 1fr);
gap:4px;
}
.fast-card{
border-radius:0;
aspect-ratio: 1/1;
background-color: #3e3e3e !important;
color: white;
}
.card-body{
display:flex;
flex-direction:column;
justify-content: center;
row-gap:8%;
height:100%;
width:100%;
opacity:0%
}
.card-body:hover{
opacity:100%;
}
/* ---- SINGLE ENTRY PAGES STYLE ------ */
.keyword-tag .smw-field{
line-height:2em;
}
.keyword-tag .smw-field-label{
font-weight:bold;
}
.keyword-tag .smw-value{
background-color:#585858;
padding:2px 6px;
color: white;
}
.keyword-tag .smw-value:hover{
/*border-radius:10px;*/
background-color:#7e7e7e;
}
.keyword-tag .smw-value a{
color:white;
}
.keyword-tag .smw-value a:visited{
color:white;
}
table{
width:100%;
}
.tab-content{
background-color:#f4f4f4;
}
.tab-content p{
padding-left: 10px;
}
.smwtable-clean.entrypage-table th{
width:30%;
text-align:right;
}
/*--hide list of pages at the end of the main category pages--*/
body.page-Category_Deployments #mw-pages {display: none}
body.page-Category_Dataset #mw-pages {display: none}
body.page-Category_Institution #mw-pages {display: none}
body.page-Category_Products #mw-pages {display: none}
body.page-Category_Technology_Type #mw-pages {display: none}
/*----------------------*/
@media screen{
a.new {
color: #FF4500 !important;
}
a.new:visited{
color: #CD5C5C !important;
}
}