Difference between revisions of "MediaWiki:Common.css"

From Security Vision
Jump to: navigation, search
Line 89: Line 89:
 
/*------------homepage----------*/
 
/*------------homepage----------*/
  
 +
.fast-card{
 +
    border-radius:0;
 +
    background-color: yellow !important;
 +
}
  
  
 +
/*----------sidebar left------------*/
 +
 +
#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;
 +
}
  
  

Revision as of 23:32, 1 April 2024

/* CSS placed here will be applied to all skins */

/*
@font-face {
    font-family: 'PPReader';
    src: url("https://www.securityvision.io/wiki/index.php/File:PPRader-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: sans-serif !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;
}


/* ---- 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:black;
   padding:2px;
}
.keyword-tag .smw-value{
    color:white;
}
.keyword-tag .smw-value a{
    color:white;
}
.keyword-tag .smw-value a:visited{
    color:white;
}


/*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}





/*------------homepage----------*/

.fast-card{
    border-radius:0;
    background-color: yellow !important;
}


/*----------sidebar left------------*/

#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;
}


/*----------------------*/


@media screen{
    a.new {
    color: #FF4500 !important;
    }
    a.new:visited{
    color: #CD5C5C !important;
    }
   
}