Pixel Wall CSS Main

Anonymous
css
04/11/2026 10:10 AM
3.0 KB
10
Indexable
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-image: url('login_bg.png');
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    overflow: auto;
}
.header {
    position: fixed;
    width: 100%;
    height: 100px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header.logo {
      position: absolute;
      top: 15px; /* Adjust as needed */
      left: 50%;
      transform: translateX(-50%);
      width: 100px; /* Set the width of the logo, can use % or px */
      animation: bounce 1s infinite alternate ease-in-out;
    }
   
.container {
    margin-top: 120px; /* Adjust to account for header height */
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.canvas {
    border-color: rgba(239, 239, 240, 1);
    margin-top: 20px;
    background-color: white;
}

.btn {
    background-color: rgba(190, 152, 172, 0.7);
    font-weight: bold;
    border: none;
    color: white;
    margin: 7px;
}

.btn:hover {
    background-color: rgba(190, 152, 172, 0.8);
}

.color-picker {
    position: relative;
    display: inline-block;
    width: 140px; 
    margin: 0 5px; 
}

.color-picker select {
    padding: 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    background-color: rgba(190, 152, 172, 0.7);
    color: white;
    font-weight: bold;
    border: none;
    height: 45px;
    width: 100%; 
}

.status {
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(190, 152, 172, 0.7);
}

#logoutBtn {
    padding: 10px 20px;
    background-color: rgba(190, 152, 172, 0.8);
    color: #fff;    
    border: none;
    border-radius: 10px;
}

#logoutBtn:hover {
     background-color:  rgba(190, 152, 172, 0.7);
}

Editor is loading...
Leave a Comment