Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • a8e4af5fbcada9d5db3d3ce61ab4308b02271bc5
  • master par défaut protégée
  • dev
  • dev-admin
  • migration-pg
  • dev-partie
  • dev-deplacement-msg-erreurs
  • dev-jeux-favoris
  • dev-update-forms
  • dev-header-profil-deconnexion
  • dev-contact
  • dev_page_accueil
  • dev-edit-profil
  • dev-classement
  • dev_espace_membre
  • dev-images
  • javascript_valid_form
  • application_design_views
  • dev-table
  • dev-nestor
20 résultats

style.css

Blame
  • style.css 9,13 Kio
    body {
        background-color:#76A7AE;
        font-family: 'Work Sans', sans-serif;
        margin: 0;
        padding:0;
    }
    
    .wrapper{
        min-height:100%;
        position: relative;
    }
    
    header
    {
    	padding:0;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        height: 120px;
    	z-index:100;
    	margin-bottom: 15px;
    }
    
    .header {
        padding:5px;
    	min-height:44px;
        background:#26346D;
    }
    
    nav
    {
        padding:5px;
        background:#26346D;
        min-height: 40px;
    	z-index:100;
    	margin:0;
    }
    
    footer{
        background: #003F00;
        padding: 20px;
        color:white;
        position:absolute;
        bottom:0;
        left:0;
        right:0;
        height: 100px;
        box-sizing: border-box;
    }
    
    .main{
        margin-top:235px;
        padding-bottom:100px;
    }
    
    article{
        width:100%;
        background:white;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        box-sizing: border-box;
    	padding: 20px;
    }
    
    
    
    header a, footer a {
        color:navajowhite;
        text-decoration: none;
    }
    
    header a:hover, footer a:hover {
        color:cadetblue;
        text-decoration: none;
    }
    
    .row:after {
        content: "";
        clear: both;
        display: block;
    }
    
    
    
    
    #logo {
        margin-left:20px;
    }
    
    .search-bar-conteneur {
        vertical-align: middle;
        margin-top:5px;
        height: 32px;
        border-radius: 2px;
        position: static;
    }
    
    .search-bar {
    	margin-right:32px;
    	width: calc(100% - 32px);
    }
    
    .search-button {
    	width:32px;
        height: 32px;
    	float:right;
    	background-image:url(../images/find.png);
    	background-size: 31px;
    }
    
    .connexion {
        text-align: center;
        border-radius: 2px;
        background: #02071E;
        margin-top:4px;
        color:blanchedalmond;
        line-height: 30px;
        height:34px;
    }
    
    
    .signin {
        width:48%;
        text-align: center;
        padding: 2px;
        border-right: mintcream solid 1px;
        background: #02071E linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
        -webkit-transition: background 500ms; /* Safari */
        transition: background 500ms ;
        display: inline-block;
        height:30px;
    	margin-right:-4px;
    }
    
    .signin:hover {
        background: red linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
    
    }
    
    .login {
        width:48%;
        text-align: center;
        padding: 2px;
        border-left: mintcream solid 1px;
        background: #02071E linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
        -webkit-transition: background 500ms; /* Safari */
        transition: background 500ms ;
        display: inline-block;
        height:30px;
    	margin-left:-4px;
    }
    
    .login:hover{
        background: blue linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
    }
    
    
    
    .inscription-btn-container {
        text-align: center;
        background: #02071E;
        line-height: 30px;
        height:34px;
    	border-radius:10px;
    }
    
    
    .inscription-btn {
        color:blanchedalmond;
    	font-weight : bold;
    	text-decoration:none;
        width:100%;
        padding: 2px;
    	border-radius:10px;
        background: #02071E linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
        -webkit-transition: background 500ms; /* Safari */
        transition: background 500ms ;
        display: inline-block;
        height:30px;
    }
    
    .inscription-btn:hover {
        background: red linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
    
    }
    
    
    nav ul {
    	text-align:center;
    	margin:0;
    	padding:0;
    }
    
    nav ul li {
        display: inline-block;
        text-align: center;
        margin:0 5px 2px 5px;
        padding: 2px 8px 0 8px;
        line-height: 28px;
        height:28px;
        border-radius: 2px;
        color:blanchedalmond;
        background: #02071E linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
        -webkit-transition: background 500ms; /* Safari */
        transition: background 500ms ;
    }
    
    nav ul li.actif {
        color:blanchedalmond;
        background: #0f0 linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
    }
    
    nav ul li:hover{
        background: magenta linear-gradient(to bottom, #02071E, #02071E, rgba(255, 255, 255, 0));
    }
    
    
    
    
    
    
    .logo-image{
        height:40px;
    }
    .game{
        background: white;
        width:80%;
        height:250px;
        padding-top:3px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        min-width: 220px;
        margin: auto auto 10px;
    }
    .more{
        background: darkgray;
        height:250px;
    }
    
    .game-image{
        height:220px;
        display:block;
        margin:auto;
    }
    
    .game-caption{
        text-align: center;
        vertical-align: middle;
        padding:5px;
        background: whitesmoke;
    }
    
    .pref{
        list-style-type: none;
        padding: 0;
        text-align: center;
    }
    .stat-title{
        text-align: center;
    }
    
    .jeux-preferes 
    {
        margin: auto;
        width: 90%;
        border-collapse: collapse;
    }
    
    .jeux-preferes tr td img{
        width: 50px;
        display: block;
        margin:auto;
    
    }
    
    .jeux-preferes tr td{
        vertical-align: middle;
        text-align: center;
        border: black solid 1px;
        padding:2px;
    
    }
    
    .more-link{
        text-align: right;
        margin-right: 15px;
    }
    
    .game-row{
        margin-bottom:20px;
    }
    
    
    [class*="col-"] {
        width: 100%;
    
    }
    
    .space{
        height:0;
    }
    
    
    
    div.submit {
    	text-align:center;
    	margin-top:10px;
    }
    
    div.submit  input[type=submit], div.submit  input[type=reset] {
    	margin-left:5px;
    	margin-right:5px;
    }
    
    .connexion-form, .inscription-form{
        margin: auto;
        display: block;
        width: 300px;
    }
    
    .addjeu-form{
        margin: auto;
        display: block;
        width: 324px;
    }
    
    .connexion-form label , .inscription-form label, .addjeu-form label {
    	display: block;
    	min-width: 150px;
    	float: left;
    }
    
    
    .inscription-form textarea, .addjeu-form textarea {
    	width: 160px;
    }
    
    .form-line {
    	margin-bottom:10px;
    }
    
    .validation-container-left {
    	position: relative;
    	display: flex;
    }
    
    .validation-container {
    	min-height: 25px;
    	min-width:120px;
    	max-width:130px;
    	position: relative;
    	margin-top:-2px;
    	margin-left:150px;
        padding-left:7px;
    	padding-right:7px;
    	background: red;
    	color:white;
    	box-shadow: 0 0 2px black;
    	/*display: flex;*/
    	display:none;
    }
    
    .validation-container-content {
    	margin: auto;
    }
    
    .validation-container:before,
    .validation-container:after {
    	content: '';
    	width: .7em; height: .7em;
    	position: absolute; top: -.35em; left: 3.5em;
    	margin-left: .35em;
    	background: red;
    	-webkit-transform:rotate(45deg);
    	-moz-transform:rotate(45deg);
    	-ms-transform:rotate(45deg);
    	-o-transform:rotate(45deg);
    	transform:rotate(45deg);
    }
    
    .validation-container:before {
    	-webkit-box-shadow: 0 0 5px black;
    	-moz-box-shadow: 0 0 5px black;
    	box-shadow: 0 0 5px black;
    	z-index: -1;
    }
    
    .validation-checkbox {
    	display:none;
    }
    
    .connexion-form input, .inscription-form input{
        margin-bottom:12px;
    }
    
    .profil-image, .jeu-image{
        margin: auto;
    }
    
    .profil-image img{
        width: 100px;
        margin: auto;
        display: block;
        border-radius: 100%;
        box-shadow: 0 6px 20px 2px black;
    }
    
    .jeu-image img{
        width: 230px;
        margin: auto;
        display: block;
        box-shadow: 0 6px 20px 2px black;
    }
    
    article h1{
        text-align:  center;
    	font-size: 2em;
    	font-weight: bolder;
    }
    article h2{
        text-align:  center;
    }
    
    .msg-erreur {
    	color: white;
    	background-color: red;
    }
    
    .msg-valide h2 {
    	text-align:left;
    }
    .msg-valide {
    	color: white;
    	background-color: green;
    }
    
    .surtitre {
    	color: white;
    	background-color:  #4A588F;
    }
    
    .classement-card{
        width:100%;
        background:white;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        margin-top: 24px;
        padding:20px;
        box-sizing: border-box;
    }
    
    .classement-table{
        border-collapse: collapse;
        margin: auto;
        width: 100%;
        text-align: center;
        border: black solid 1px;
    }
    
    .classement-table th{
        border: black solid 1px;
    }
    .classement-table td{
        border-bottom: solid black 1px;
        border-top: solid black 1px;
    }
    
    .classement-profil-img{
        width: 50px;
        border-radius: 100%;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    @media only screen and (min-width: 600px) {
        /* For tablets: */
        .col-m-1 {width: 8.33%;}
        .col-m-2 {width: 16.66%;}
        .col-m-3 {width: 25%;}
        .col-m-4 {width: 33.33%;}
        .col-m-5 {width: 41.66%;}
        .col-m-6 {width: 50%;}
        .col-m-7 {width: 58.33%;}
        .col-m-8 {width: 66.66%;}
        .col-m-9 {width: 75%;}
        .col-m-10 {width: 83.33%;}
        .col-m-11 {width: 91.66%;}
        .col-m-12 {width: 100%;}
    
        [class*="col-"] {
            float: left;
        }
    
    
        header{
            min-height: 40px;
        }
    
        .main{
            margin-top:120px;
        }
    
        .space{
            height: 40px;
        }
    
    }
    
    
    
    @media only screen and (min-width: 768px) {
        .col-1 {width: 8.32%;}
        .col-2 {width: 16.65%;}
        .col-3 {width: 25%;}
        .col-4 {width: 33.32%;}
        .col-5 {width: 41.65%;}
        .col-6 {width: 50%;}
        .col-7 {width: 58.32%;}
        .col-8 {width: 66.65%;}
        .col-9 {width: 75%;}
        .col-10 {width: 83.32%;}
        .col-11 {width: 91.65%;}
        .col-12 {width: 100%;}
    
        .game{
            margin-bottom:0;
        }
    
        article{
            margin:auto;
            width:768px;
            background:white;
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    
        }
    
        .classement-card{
            margin: 24px auto auto;
            width:768px;
            background:white;
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        }
    
        .profil-image, .jeu-image{
            float:left;
            padding: 10px;
        }
    
        .profil-image img, .jeu-image img{
            margin-right: 10px;
            margin-left: 24px;
    
        }
    
    
    
    
    }