Untitled

 avatar
unknown
plain_text
23 days ago
2.1 kB
4
Indexable
.profile-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc;
    font-family: 'Arial', sans-serif;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    background-color: #bbf7d0;
    border-radius: 8px;
    padding: 10px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

.profile-title {
    font-size: 24px;
    font-weight: bold;
    color: #34d399;
    margin-bottom: 10px;
}

.profile-details {
    line-height: 1.6;
    margin-bottom: 20px;
}

.profile-details p {
    margin: 8px 0;
    color: #555;
}

.profile-details strong {
    color: #333;
}

.profile-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: nowrap; /* Prevents wrapping to the next line */
}

.profile-label {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-right: 10px; /* Space between label and input */
    white-space: nowrap; /* Ensures the label stays on one line */
    width: 120px; /* Optional: Adjust the width of the label */
}

.profile-input {
    flex-grow: 1;
    padding: 8px;
    font-size: 14px;
    border: 2px solid black; /* Black outline */
    border-radius: 6px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.profile-input:focus {
    box-shadow: 0 0 5px rgba(52, 211, 153, 0.5); /* Green focus shadow */
}


button {
    display: inline-block;
    margin: 10px 5px 0 0;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 2px solid black; /* Black outline for all inputs */
    border-radius: 6px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

input:focus {
    box-shadow: 0 0 5px rgba(52, 211, 153, 0.5); /* Subtle green glow on focus */
}

Leave a Comment