Skip to content
Snippets Groups Projects
Select Git revision
  • 17cc7311b42f38f1a216a4ff51a94d8a65d39a26
  • main default protected
  • adam
  • thomas
4 results

style_page_acceuil.css

Blame
  • style_page_acceuil.css 1.52 KiB
    /* Général */
    body {
        font-family: 'Libre Baskerville', serif;  /* Utilisation de la police de style rétro */
        margin: 0;
        padding: 0;
        background-color: #f4f4f4;
        color: #333;
    }
    
    h1, h2 {
        color: #444;
    }
    
    /* Header */
    header {
        background-color: #333;
        color: white;
        padding: 20px;
        text-align: center;
    }
    
    header h1 {
        margin: 0;
    }
    
    /* Menu */
    #menu {
        text-align: center;
        margin-top: 20px;
    }
    
    #menu h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .options-container {
        display: flex;
        justify-content: center;
        gap: 40px; /* espace entre les cases */
    }
    
    .option {
        width: 250px;
        height: 150px;
        border: 2px solid #333;
        border-radius: 10px;
        background-color: #b60c0c;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .option a {
        color: white;
        font-size: 18px;
        text-decoration: none;
        font-weight: bold;
        text-align: center;
    }
    
    .option a:hover {
        text-decoration: underline;
        background-color: #F5DEB3;
    }
    
    /* Footer */
    footer {
        background-color: #333;
        color: white;
        text-align: center;
        padding: 10px;
        position: fixed;
        width: 100%;
        bottom: 0;
    }
    .board {
        background-color: gainsboro;
    }
    
    .cell {
        border: 1px solid;
        font-size: 5rem;
        height: 150px;
        text-align: center;
        width: 150px;
    }
    
    .cell:hover {
        cursor: pointer;
        background-color: rgb(192, 191, 191);
    }
    
    .cell:active {
        background-color: rgb(155, 154, 154);
    }
    
    .win-cell {
        background-color: greenyellow !important;
    }