Difference between revisions of "MediaWiki:Tweeki.css"
From Security Vision
								
												
				| Line 1: | Line 1: | ||
| /* CSS placed here will affect users of the Tweeki skin */ | /* CSS placed here will affect users of the Tweeki skin */ | ||
| + | |||
| + | |||
| + | @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-Medium.woff") | ||
| + | } | ||
| + | /* <!-- fonts are not installed locally yet --> */ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| Line 9: | Line 24: | ||
| } | } | ||
| + | |||
| + | |||
| + | * {font-family: NeueMontreal;} | ||
| + | |||
| + | h1#firstHeading, .mw-headline{ | ||
| + | font-family: PPRader !important; | ||
| + | text-align:left; | ||
| + | |||
| + | } | ||
| .row{ | .row{ | ||
Revision as of 16:43, 18 April 2024
/* CSS placed here will affect users of the Tweeki skin */
@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-Medium.woff")
}
/* <!-- fonts are not installed locally yet --> */
:root{
    --text-color-btn: black;
    --darkergrey: #404040;
}
* {font-family: NeueMontreal;}
h1#firstHeading, .mw-headline{
font-family: PPRader !important;
text-align:left;
}
.row{
    margin: 0;
}
.container{
    margin:0;
    padding: 8px;
    width:100%;
}
/* ------- buttons ------- */
.btn{
    background:white;
    border-color: darkgrey;
    text-shadow: none;
    box-shadow: none;
    padding: 4px 12px;
}
a.btn{
    color: var(--text-color-btn);    
}
.btn:hover{
    background: darkgrey;
    border-color:darkgrey;
}
.btn:focus,
.btn:active,
.dropdown:active,
.dropdown:focus{
    background-color:black !important;
    color:white !important;
    box-shadow:none !important;
    border: none !important;
}
.btn-primary.active:active,
.dropdown-toggle.btn-primary.show,
.dropdown-toggle.show,
.btn-block.active,
.btn-primary:focus,
.btn:focus{
    background-color:black;
    color:white;
    box-shadow:none;
}
.dropdown-item.active,
.dropdown-item:focus,
.dropdown-item.active:active{
    background-color:black;
    color:white ;
    box-shadow:none;
}
.show .btn-primary.dropdown-toggle {
  background-color: black;
  border-color: none;
/* ----- SIDEBAR ------*/
#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 ------ */
.fast-card{
    border-radius:0;
    background-color: yellow !important;
}