mirror of
https://github.com/Wcowin/Mkdocs-Wcowin.git
synced 2025-07-21 09:26:34 +00:00
147 lines
2.7 KiB
CSS
147 lines
2.7 KiB
CSS
:root {
|
|
/*========== Colors ==========*/
|
|
--first-color: #608DBD;
|
|
--title-color: #608DBD;
|
|
--text-color: #757575;
|
|
|
|
/*========== Font and typography ==========*/
|
|
--h2-font-size: 1.25rem;
|
|
--h3-font-size: 1.125rem;
|
|
--normal-font-size: .938rem;
|
|
--small-font-size: .813rem;
|
|
--smaller-font-size: .70rem;
|
|
|
|
|
|
|
|
/*========== Margins ==========*/
|
|
--mb-0-25: .25rem;
|
|
--mb-0-5: .5rem;
|
|
--mb-1: 1rem;
|
|
--mb-1-5: 1.5rem;
|
|
--mb-2: 2rem;
|
|
--mb-2-5: 2.5rem;
|
|
--mb-3: 3rem;
|
|
}
|
|
|
|
/* Font size for large devices */
|
|
@media screen and (min-width: 968px) {
|
|
:root {
|
|
--h2-font-size: 1.5rem;
|
|
--h3-font-size: 1.25rem;
|
|
--normal-font-size: 1rem;
|
|
--small-font-size: .875rem;
|
|
--smaller-font-size: .813rem;
|
|
}
|
|
}
|
|
|
|
/*==================== BASE ====================*/
|
|
|
|
|
|
h1, h2, h3, h4 {
|
|
color: var(--title-color);
|
|
font-weight: var(--font-semi-bold);
|
|
}
|
|
|
|
|
|
|
|
.about__info {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
margin-bottom: var(--mb-2-5);
|
|
}
|
|
|
|
.about__info-title {
|
|
font-size: var(--h2-font-size);
|
|
font-weight: var(--font-semi-bold);
|
|
color: var(--title-color);
|
|
}
|
|
|
|
.about__info-name {
|
|
font-size: var(--smaller-font-size);
|
|
}
|
|
|
|
.about__info-title,
|
|
.about__info-name {
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
/*==================== QUALIFICATION ====================*/
|
|
.qualification__tabs {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
margin-bottom: var(--mb-2);
|
|
}
|
|
|
|
.qualification__button {
|
|
font-size: var(--h3-font-size);
|
|
font-weight: var(--font-medium);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.qualification__button:hover {
|
|
color: var(--first-color);
|
|
}
|
|
|
|
.qualification__icon {
|
|
font-size: 1.8rem;
|
|
margin-right: var(--mb-0-25);
|
|
}
|
|
|
|
.qualification__data {
|
|
display: grid;
|
|
grid-template-columns: 1fr max-content 1fr;
|
|
column-gap: 0.5rem;
|
|
}
|
|
|
|
.qualification__data > div:first-child {
|
|
text-align: center;
|
|
}
|
|
|
|
.qualification__data > div:last-child {
|
|
text-align: center;
|
|
}
|
|
|
|
.qualification__title {
|
|
font-size: var(--normal-font-size);
|
|
font-weight: var(--font-medium);
|
|
}
|
|
|
|
.qualification__subtitle {
|
|
display: inline-block;
|
|
font-size: var(--smaller-font-size);
|
|
margin-bottom: var(--mb-1);
|
|
}
|
|
|
|
.qualification__calendar {
|
|
font-size: var(--smaller-font-size);
|
|
color: var(--md-primary-fg-color--dark);
|
|
}
|
|
|
|
.qualification__rounder {
|
|
display: inline-block;
|
|
width: 13px;
|
|
height: 13px;
|
|
background-color: var(--md-primary-fg-color);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.qualification__line {
|
|
display: block;
|
|
width: 1px;
|
|
height: 100%;
|
|
background-color: var(--md-primary-fg-color);
|
|
transform: translate(6px, -7px);
|
|
}
|
|
|
|
.qualification [data-content] {
|
|
display: none;
|
|
}
|
|
|
|
.qualification__active[data-content] {
|
|
display: block;
|
|
}
|
|
|
|
.qualification__button.qualification__active {
|
|
color: var(--first-color);
|
|
} |