Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -22,17 +22,18 @@
|
||||
|
||||
.about__container {
|
||||
/* Section backgrounds */
|
||||
--background: #151515;
|
||||
--subtle-background: #eff2ff;
|
||||
--background: #EAE9E7;
|
||||
--subtle-background: #EAE9E7;
|
||||
|
||||
/* Main text color */
|
||||
--text: #1e1e1e;
|
||||
--text-light: #fff;
|
||||
|
||||
/* Accent colors: used in header, on special classes. */
|
||||
--accent-1: #3858e9; /* Link color */
|
||||
--accent-2: #c7b9f2; /* Accent background */
|
||||
--accent-1: #C94C26; /* Link color */
|
||||
--accent-2: #CFCABE; /* Accent background */
|
||||
--accent-3: #f0f0f1; /* hr background */
|
||||
--accent-4: #B1C5A4; /* Light green */
|
||||
|
||||
/* Navigation colors. */
|
||||
--nav-background: #fff;
|
||||
@@ -113,6 +114,10 @@
|
||||
background-color: var(--accent-2);
|
||||
}
|
||||
|
||||
.about__container .has-accent-4-background-color {
|
||||
background-color: var(--accent-4);
|
||||
}
|
||||
|
||||
.about__container .has-transparent-background-color {
|
||||
background-color: transparent;
|
||||
}
|
||||
@@ -370,7 +375,6 @@
|
||||
|
||||
.about__container h1 {
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.about__container h1,
|
||||
@@ -413,14 +417,14 @@
|
||||
}
|
||||
|
||||
.about__section a {
|
||||
color: var(--accent-1);
|
||||
color: var(--text);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.about__section a:hover,
|
||||
.about__section a:active,
|
||||
.about__section a:focus {
|
||||
color: var(--accent-1);
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -531,32 +535,34 @@
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
align-items: start;
|
||||
justify-content: end;
|
||||
box-sizing: border-box;
|
||||
padding: calc(var(--gap) * 2) 0;
|
||||
min-height: 420px;
|
||||
padding: var(--gap) 0;
|
||||
height: clamp(12.5rem, -1.25rem + 36.67vw, 26.25rem);
|
||||
color: var(--text-light);
|
||||
background: var(--background) url('../images/about-header-about.svg?ver=6.3') no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-image: url('../images/about-header-about.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
|
||||
background-size: auto 70%, cover;
|
||||
border-radius: 5px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: left 7% center, top right;
|
||||
background-color: var(--background);
|
||||
}
|
||||
|
||||
.credits-php .about__header {
|
||||
background-image: url('../images/about-header-credits.svg?ver=6.3');
|
||||
background-image: url('../images/about-header-credits.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
|
||||
}
|
||||
|
||||
.freedoms-php .about__header {
|
||||
background-image: url('../images/about-header-freedoms.svg?ver=6.3');
|
||||
background-image: url('../images/about-header-freedoms.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
|
||||
}
|
||||
|
||||
.privacy-php .about__header {
|
||||
background-image: url('../images/about-header-privacy.svg?ver=6.3');
|
||||
background-image: url('../images/about-header-privacy.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
|
||||
}
|
||||
|
||||
.contribute-php .about__header {
|
||||
background-image: url('../images/about-header-contribute.svg?ver=6.3');
|
||||
background-image: url('../images/about-header-contribute.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
|
||||
}
|
||||
|
||||
.about__header-image {
|
||||
@@ -565,26 +571,27 @@
|
||||
|
||||
.about__header-title {
|
||||
box-sizing: border-box;
|
||||
margin: 0 var(--gap);
|
||||
margin: 0 calc(var(--gap) + 2rem);
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
max-width: 55%;
|
||||
}
|
||||
|
||||
.about__header-title h1 {
|
||||
margin: 0 0 1rem;
|
||||
padding: 0;
|
||||
/* Fluid font size scales on browser size 960px - 1200px. */
|
||||
font-size: clamp(3rem, 20vw - 9rem, 6rem);
|
||||
font-size: clamp(2rem, 20vw - 9rem, 4rem);
|
||||
line-height: 1;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.about-php .about__header-title h1,
|
||||
.credits-php .about__header-title h1,
|
||||
.freedoms-php .about__header-title h1,
|
||||
.privacy-php .about__header-title h1,
|
||||
.contribute-php .about__header-title h1 {
|
||||
/* Fluid font size scales on browser size 960px - 1200px. */
|
||||
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
|
||||
font-size: clamp(2rem, 10vw - 3rem, 4rem);
|
||||
}
|
||||
|
||||
.about__header-text {
|
||||
@@ -643,11 +650,8 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: 960px) {
|
||||
.about__header-title h1 {
|
||||
/* Fluid font size scales on browser size 600px - 960px. */
|
||||
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
|
||||
}
|
||||
|
||||
.about-php .about__header-title h1,
|
||||
.credits-php .about__header-title h1,
|
||||
.freedoms-php .about__header-title h1,
|
||||
.privacy-php .about__header-title h1,
|
||||
@@ -734,7 +738,7 @@
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.about__section .wp-people-group-title {
|
||||
margin-bottom: calc(var(--gap) * 2);
|
||||
margin-bottom: calc(var(--gap) * 2 - 10px);
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
@@ -749,7 +753,7 @@
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: var(--gap);
|
||||
margin-bottom: calc(var(--gap) - 10px);
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -781,8 +785,10 @@
|
||||
}
|
||||
|
||||
.about__section .wp-person .web {
|
||||
display: block;
|
||||
font-size: 1.4em;
|
||||
font-weight: 600;
|
||||
padding: 10px 10px 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user