Files
.profile/public/css/about.css
T
2026-03-14 15:41:08 -07:00

139 lines
2.1 KiB
CSS
Executable File

.container {
display: grid;
grid-template-columns: minmax(280px, 320px) repeat(3, 1fr);
grid-template-areas:
"pro about about about"
"pro other other other"
"footer footer footer footer";
grid-template-rows: auto 1fr auto;
gap: 24px;
padding-top: 18px;
min-height: calc(100vh - 132px);
align-items: stretch;
}
.left-content {
grid-area: pro;
display: flex;
flex-direction: column;
}
.about {
grid-area: about;
}
.honors {
grid-area: other;
display: flex;
flex-direction: column;
height: 100%;
}
.footer {
grid-area: footer;
}
.about {
display: flex;
flex-direction: column;
}
section {
transition: 0.8s;
padding: 24px;
background-color: var(--menu-text-bg);
border-radius: 18px;
border: 1px solid var(--border);
}
section h3 {
margin-top: 0;
margin-bottom: 14px;
font-size: 1.2rem;
}
#profile {
background-image: linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)), url("../images/pic.png");
background-size: cover;
background-position: center;
color: #d8d8d9;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
margin-bottom: 0;
}
#skills {
border-top-left-radius: 0;
border-top-right-radius: 0;
flex: 1;
}
#profile img {
border: 4px solid rgba(235, 82, 52, 0.18);
box-shadow: var(--shadow);
}
.profile-sub {
background-color: rgba(0, 0, 0, 0.62);
padding: 16px;
border-radius: 14px;
margin-top: 16px;
}
.skills-list {
padding-left: 18px;
}
.skills-list li {
margin-bottom: 8px;
}
.text {
font-weight: 400;
transition: 0.8s;
margin: 0 0 14px;
}
dt {
margin-top: 16px;
}
dd {
margin-left: 0;
color: var(--muted);
}
.honors dl,
.skills-list {
margin-bottom: 0;
}
@media only screen and (max-width: 920px) {
.container {
display: flex;
flex-direction: column;
min-height: auto;
}
#skills {
margin-bottom: 0;
}
}
.profile-name {
margin: 0 0 6px;
font-size: clamp(1.45rem, 2vw, 1.9rem);
line-height: 1.1;
}
.profile-role,
.profile-focus {
margin: 0;
}
.profile-focus {
margin-top: 6px;
color: rgba(255, 255, 255, 0.76);
}