MediaWiki:Common.css

From PlayOnLinux
Revision as of 19:15, 26 January 2021 by Tinou (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
/* Le CSS placé ici sera appliqué à tous les habillages. */

@import url("http://www.playonlinux.com/css/highlighter/shCorePOL.css");
@import url("http://fonts.googleapis.com/css?family=Roboto:400,300,500");
@import url("https://www.playonlinux.com/css/font-awesome.css"); 
@import url("https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css");

header {
position: absolute;
top: 0;
left: 0;
right: 0;
}


#header .navbar-brand a.navbar-logo {
    font-size: 24px;
    text-decoration: none;
    font-family: MavenPro;
}

#header .navbar-brand a.navbar-logo img {
    margin-right: 5px;
}

.navbar-item-icon {
    margin-right: 5px;
    max-width: none;
}

#header a {
    text-decoration: none;
}

#header nav {
    background-color: #428BCA;
}

button.is-primary {
    background-color: #428BCA;
}

#header .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link,
#header .navbar.is-primary a.navbar-item:hover {
    background-color: #116395;
    color: #FFF;
}

#header .navbar.is-primary .button.is-primary {
    background-color: #FFF;
    color: #333;
}

#header .navbar.is-primary .button.is-primary:hover {
    background-color: #EFEFEF;
    color: #333;
}



#header {
    width: 100%;
    /*
    background: #428BCA;
    background: linear-gradient(to bottom, #428BCA 0%, #116395 100%);
    z-index: 100; */
}

div#mw-head, html, div#mw-panel
{
    margin-top: 44px;
}

body {
    display:block!important;
    font-size: 1rem!important;
}
@font-face {
	font-family: MavenPro;
	src: url("https://www.playonlinux.com/css/maven.ttf");
}
@font-face {
	font-family: MavenProBold;
	src: url("https://www.playonlinux.com/css/maven_bold.ttf");
}
div.mainheader, div.mainheader *
{
	box-sizing: border-box;
	line-height: 1.42857;
}

.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
    top: 44px;
}
div.mainheader
{
	height:44px;
	width:100%;
	background: #428BCA;
	position:fixed;	
	top:0px;
	background: linear-gradient(to bottom,  #428BCA 0%,#116395 100%);
	z-index:100;
}
div.mainheader a
{
	color:#FFF;
	font-size:27px;
	color:#F4F4F4;
	font-family:MavenPro;
	font-weight:lighter;
	line-height:48px;
	text-shadow: 0px 0px 9px #00396B;
	text-decoration:none;
}
div.mainheader a img
{
	height:34px;
	margin:4px;
	margin-left:-5px;
	margin-right:10px;
}
div.mainheader a:hover
{
	text-decoration:none;
}
div.mainheader img
{
	float:left;
}

div.mainheader ul 
{
	float:right;
	margin-right:0px;
	padding-top:0px;
	height:30px;
	margin-top:14px;
	margin-left:0px;
	margin-bottom:0px;
}
div.mainheader ul li.selected
{
	background:#FFF!important;
	-webkit-border-radius: 15px 15px 0px 0px;
	 -moz-border-radius: 15px 15px 0px 0px;
	 border-radius: 15px 15px 0px 0px;
	-webkit-box-shadow: -5px -5px 7px -3px #116395,
	            5px -5px 7px -3px #116395;
	-moz-box-shadow: -5px -5px 7px -3px #116395,
	            5px -5px 7px -3px #116395;
	box-shadow: -5px -5px 7px -3px #116395,
            5px -5px 7px -3px #116395;
    behavior: url('/css/PIE.htc');
}
div.mainheader div.reducer
{
	width:1000px;
	margin:auto;
}
div.mainheader ul li.selected a
{

	background-repeat:no-repeat;
	background-position:right bottom;
	color:#434343;
}
div.mainheader ul li
{
	float:left;
	margin-left:0px;
	list-style:none;
	padding-top:0px;
	padding-bottom:0px;
	margin-bottom:0px;
	height:30px;
	padding-left:0px;
	margin-right:0px;
	padding-right:0px;
}
div.mainheader ul li a
{
	
	line-height:inherit;
	text-shadow:inherit;
	margin:0px;
	padding-top:0px;
	margin-top:6px;
	padding-top:0px;
	padding-left:19px;
	padding-right:19px;
	height:24px;
	display:block;
	font-family: Roboto, sans-serif;
	font-size:14px;
	text-decoration:none;
	color:#FFF;
	font-weight:300;
}



div.reducer
{
	width:1000px;
	margin:auto;
}


div.setupwindow, div.setupwindow *
{
	box-sizing: border-box;
	line-height: 1.42857;
}
div.setupwindow p
{
	margin-top:0px;
}
div.setupwindow pre
{
	border:0px;
	background-color:#FFF;
	margin-top:0px;
	padding-top:0px;
	padding-left:0px;
	margin-left:0px;
}
div.setupwindow
{
	box-sizing: border-box;
	width:520px;
	height:418px;

	border-radius:5px;
	padding-top:22px;
	position:relative;

	font-size:13px;
	padding-left:15px;
	margin:auto;
	margin-bottom:50px;
}

div.pom.setupwindow
{
	width:520px;
	height:418px;
	background-color:#EDEDED;
	
	box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 22px 70px 4px rgba(0,0,0,0.56), 0 0 0 0.5px rgba(0, 0, 0, 0.3);
	background: linear-gradient(rgba(233, 233, 233, 1.0), rgba(178, 178, 178, 1.0) 21px, #6A6A6A 22px, #EDEDED 22px);
	border-radius:5px;
	padding-top:22px;
	position:relative;
	font-family: "Lucida Grande",lucida,"Helvetica Neue",helvetica,sans-serif;
		font-size:13px;
		padding-left:15px;
}

div.pol.setupwindow
{
	width:520px;
	height:418px;
	background-color:#EDEDED;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 2px 2px 1px rgba(0,0,0,0.06), 0 0 0 0.5px rgba(109, 109, 109, 1);
	background: linear-gradient(#98BAE3, #8BAFDC 10px, #7BA2D2 20px, #536B8A 22px, #EDEDED 22px);
	border-radius:5px 5px 0px 0px;
	padding-top:22px;
	position:relative;
	font-family:"DejaVu Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
		font-size:13px;
		padding-left:15px;
}

div.pol.setupwindow::before
{
	content:"PlayOnLinux";
	font-size:13px;
	line-height:21px;
	font-weight:bold;
	text-align:center;
	display:block;
	width:520px;
	color:#FFF;
	position:absolute;
	text-shadow: 0 0 2px #658EC3;
	top:0px;
	background-image:url("http://www.playonlinux.com/images/logos/logo16.png");
	margin-left:-15px;
	background-repeat:no-repeat;
	background-position:5px;
}

div.pom.setupwindow::before
{
	content:"PlayOnMac";
	font-size:13px;
	line-height:21px;
	font-weight:lighter;
	text-align:center;
	display:block;
	width:520px;
	color:#454545;
	position:absolute;
	top:0px;
	margin-left:-15px;
}
div.setupwindow div.header
{
	background-color:#FFF;
	width:520px;
	height:65px;
	border-bottom:1px solid #8E8E8E;
	padding:5px;
	font-size:13px;
	margin-bottom:10px;
	margin-left:-15px;
	background-image:url("http://www.playonlinux.com/images/logos/logo96.png");
	background-repeat:no-repeat;
	background-position:right top;
	box-shadow: inset 0px 0px 0px 1px #FFF;
}
div.setupwindow div.footer
{
	position:absolute;
	bottom:0px;
	width:520px;
	height:30px;
	border-top:1px solid #8E8E8E;
	padding:5px;
	font-size:13px;
	margin-bottom:10px;
	margin-left:-15px;
}
div.pol.setupwindow div.footer
{
	height:38px;
}
div.setupwindow div.header span
{
	width:100%;
	display:block;
}
div.setupwindow div.header span.title
{
	font-weight:bold;
}
div.setupwindow div.header span.subtitle
{
	padding:10px;
	padding-top:5px;
}


div.pol.setupwindow div.footer div.bouton
{
	width:85px;
	border-radius:5px;
	text-align:center;
	height:37px;
	border:1px solid #9A9A9A;
	float:right;
	margin-left:5px;
	padding-top:7px;
	border-color: #9A9A9A;
	background: linear-gradient(#FFF 0%, #F3F3F3 50%, #ECECEC 50%, #EBEBEB 100%);
	box-shadow: 0px 1px 0px #FFF inset, 0px 1px 0px rgba(0, 0, 0, 0.09);
}
div.pom.setupwindow div.footer div.bouton
{
	width:85px;
	border-radius:3px;
	text-align:center;
	height:20px;
	margin:5px;
	font-size:12px;
	border:1px solid #9A9A9A;
	float:right;
	background: linear-gradient(#FFF 0%, #F3F3F3 50%, #ECECEC 50%, #EBEBEB 100%);
	box-shadow: 0px 1px 0px #FFF inset, 0px 1px 0px rgba(0, 0, 0, 0.09);
}
div.pom.setupwindow div.footer div.bouton.inactive
{
	opacity: 0.5;
	cursor: default;
}
div.setupwindow div.licence
{
	background-color:#FFF;
	border: 1px solid #aaaaaa;
	height: 215px;
	margin-bottom: 5px;
	overflow: scroll;
	padding: 5px;
	width: 90%;
}
div.box
{
	background-color: #fff;
	border: 1px solid #aaaaaa;
	float: left;
	height: 13px;
	margin-right: 8px;
	margin-top: 2px;
	width: 12px;
}

.syntaxhighlighter {
    margin-top:14px!important;
    margin-bottom:14px!important;
}

h1 {
    border-bottom: 1px solid #dedede;
    color: #428bca;
    font-family: Roboto,arial,helvetica,sans-serif!important;
    font-size: 25px;
    font-weight: 300;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    margin-left: 0;
    margin-top: 0;
    padding-bottom: 0 !important;
    padding-top: 10px;
    line-height: 1.1;
}
h2
{
    color: #428bca;
    font-family: Roboto,arial,helvetica,sans-serif!important;
    border-bottom: 1px solid #dedede;
}
h3, h4, h5, h6
{
    color: #428bca;
    font-family: Roboto,arial,helvetica,sans-serif!important;
}




.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  box-sizing: border-box;
}
.alert p
{
  margin-top:0px;
}
.alert * {
  box-sizing: border-box;
}
.alert h4 {
  margin-top: 0;
  color: inherit;
}
.alert .alert-link {
  font-weight: bold;
}
.alert > p,
.alert > ul {
  margin-bottom: 0;
}
.alert > p + p {
  margin-top: 5px;
}
.alert-dismissable {
  padding-right: 35px;
}
.alert-dismissable .close {
  position: relative;
  top: -2px;
  right: -21px;
  color: inherit;
}
.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.alert-success hr {
  border-top-color: #c9e2b3;
}
.alert-success .alert-link {
  color: #2b542c;
}
.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert-info hr {
  border-top-color: #a6e1ec;
}
.alert-info .alert-link {
  color: #245269;
}
.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.alert-warning hr {
  border-top-color: #f7e1b5;
}
.alert-warning .alert-link {
  color: #66512c;
}
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.alert-danger hr {
  border-top-color: #e4b9c0;
}
.alert-danger .alert-link {
  color: #843534;
}
h4 {
 font-weight:normal!important;
}