Files
.profile/public/css/about.css
T

194 lines
3.5 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:
linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
linear-gradient(135deg, rgba(235, 82, 52, 0.05), transparent 48%),
rgba(20, 21, 24, 0.36);
border-radius: 22px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow:
0 18px 44px rgba(0, 0, 0, 0.16),
inset 0 1px 0 rgba(255, 255, 255, 0.12),
inset 0 -1px 0 rgba(255, 255, 255, 0.03);
backdrop-filter: blur(14px) saturate(120%);
-webkit-backdrop-filter: blur(14px) saturate(120%);
}
body.light section {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.42)),
linear-gradient(135deg, rgba(235, 82, 52, 0.04), transparent 48%),
rgba(255, 255, 255, 0.34);
border-color: rgba(255, 255, 255, 0.52);
box-shadow:
0 16px 36px rgba(0, 0, 0, 0.06),
inset 0 1px 0 rgba(255, 255, 255, 0.72),
inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}
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:
linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.42)),
rgba(0, 0, 0, 0.36);
padding: 16px;
border-radius: 14px;
margin-top: 16px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.profile-sub .profile-name,
.profile-sub .profile-role,
.profile-sub .profile-focus {
color: #f4f1ed;
}
.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);
}
.honor-inline-link {
display: inline-block;
margin-top: 8px;
}
.honor-subitem {
margin-top: 10px;
padding-left: 14px;
}
.honor-subitem__label {
display: inline-block;
font-size: 0.74rem;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--muted);
}
.honor-subitem__text {
margin: 4px 0 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);
}