Skip to content
Snippets Groups Projects
ProfilePage.css 2.76 KiB
Newer Older
hannahl8's avatar
hannahl8 committed
.profile-page {
    display: flex;
    flex-direction: column;
    padding: 1em;
    justify-content: center;
    align-items: center;
}

.profile-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
}

.profile-header h1 {
    margin: 0;
    font-size: 3rem;
    color: var(--primary-color);
}

.profile-header p {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.profile-section h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--tertiary-color);
    padding-bottom: 5px;
    width: fit-content;
}

.profile-section ul {
    list-style-type: none;
    padding-left: 0;
}

.profile-section ul li {
    margin: 5px 0;
    font-size: var(--default-font-size);
}

/* Additional Styles */

/* Ensure input and textarea text is black */
.profile-page .text-input {
    color: black; /* Set text color to black */
    background-color: white; /* Ensure background is white for better contrast */
    border: 1px solid #ccc; /* Add border for better visibility */
    padding: 8px; /* Add padding for better user experience */
    font-size: 14px; /* Set font size */
    width: 100%; /* Make input take full width */
    box-sizing: border-box; /* Include padding in width */
}

/* Button styling */
.profile-page .call-to-action-button {
    background-color: var(--primary-color); /* Use primary color for button */
    color: white; /* Button text color */
    border: none; /* Remove border */
    padding: 10px 20px; /* Add padding */
    font-size: 16px; /* Set font size */
    cursor: pointer; /* Change cursor to pointer on hover */
    margin-top: 10px; /* Add margin to separate from other elements */
}

/* Button hover effect */
.profile-page .call-to-action-button:hover {
    background-color: darken(var(--primary-color), 10%); /* Darken button background on hover */
}

/* Label styling */
.profile-page .edit-section label {
    display: block;
    margin-bottom: 10px;
}

/* Input and textarea styling */
.profile-page .edit-section input,
.profile-page .edit-section textarea {
    width: 100%; /* Full width input */
    margin-top: 5px; /* Space between label and input */
    margin-bottom: 15px; /* Space between inputs */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

/* Textarea specific styling */
.profile-page .edit-section textarea {
    height: 100px; /* Set height for textarea */
    resize: vertical; /* Allow vertical resizing */
}

/* Profile header styling */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1em;
}

/* Edit section styling */
.profile-page .edit-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
}