styles

 avatar
unknown
css
5 months ago
2.5 kB
2
Indexable
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FAFAFA;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    margin: 0;
}

p {
    margin: 5px 0;
}

/* Header */
header {
    text-align: center;
    padding: 30px 0;
    background-color: #333;
    color: white;
}

header h1 {
    font-size: 36px;
    color: #FF77A9;
}


.priority-goal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFF3E4;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.priority-goal .goal-info h2 {
    color: #FF9051;
    font-size: 24px;
    margin-bottom: 10px;
}

.priority-goal h1 {
    font-size: 32px;
    margin: 10px 0;
}

.priority-goal .goal-info p {
    color: #666;
}

.priority-goal .deadline {
    margin-top: 15px;
    font-size: 14px;
}


.divider {
    height: 2px;
    background-color: #E0E0E0;
    margin: 30px 0;
}


.goals-list h2 {
    color: #B89BD6;
    font-size: 28px;
    margin-bottom: 20px;
}

.goal-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.goal-item {
    background-color: #E2F1FF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.goal-item h3 {
    margin-bottom: 5px;
}

.goal-item p {
    color: #555;
}

.goal-item .time {
    color: #999;
    font-size: 12px;
}


.stats {
    margin-top: 20px;
    background-color: #FFE7F1;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats h2 {
    margin-right: 20px;
}

.stats-image img {
    width: 120px;
}


footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.add-button {
    background-color: #FF77A9;
    border: none;
    color: white;
    font-size: 30px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.add-button:hover {
    background-color: #FF5591;
}

.goal-info {
    flex: 2; 
    margin-right: 20px; 
}

.goal-image {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.goal-image img {
    width: 100%;
    height: auto;
    max-width: 150px;
}
body {
    opacity: 0; 
    transition: opacity 1s ease;
}

body.fade-in {
    opacity: 1; 
}
Editor is loading...
Leave a Comment