Files
17th_Site_Front_End/Profile Page/styles2.css
2023-03-28 15:46:20 -04:00

69 lines
1.0 KiB
CSS

/* General styling */
body {
font-family: Arial, sans-serif;
background-color: #F2F2F2;
padding: 20px;
}
h1 {
color: #1A1A1A;
font-size: 36px;
font-weight: bold;
text-align: center;
margin-top: 0;
}
h2 {
color: #1A1A1A;
font-size: 24px;
font-weight: bold;
text-align: center;
}
p {
color: #1A1A1A;
font-size: 16px;
line-height: 1.5;
}
/* Main items */
.main-items {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.main-item {
width: 30%;
background-color: #FFFFFF;
border-radius:5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
}
.main-item h2 {
margin-top: 0;
}
/* Grid */
.grid {
display: grid;
grid-template-columns: repeat(1, 6fr);
grid-gap: 20px;
}
.item {
background-color: #FFFFFF;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
}
.item h2 {
margin-top: 0;
}
.item p {
margin-bottom: 0;
}