Initial commit
This commit is contained in:
@@ -0,0 +1,183 @@
|
||||
// ====================================
|
||||
// PAGE LE LABORATOIRE
|
||||
// ====================================
|
||||
|
||||
// ── Images ────────────────────────────────────────────────────
|
||||
.labo-images {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.5rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.labo-image {
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
margin-top: 2rem;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
font-family: $font-primary;
|
||||
font-size: 0.85rem;
|
||||
color: $less-dark-gray;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
@media ($tablet) {
|
||||
width: calc(50% - 0.75rem);
|
||||
}
|
||||
}
|
||||
|
||||
// ── Section titles ────────────────────────────────────────────
|
||||
.labo-section {
|
||||
margin-top: 5rem;
|
||||
|
||||
> h3 {
|
||||
font-family: $font-primary;
|
||||
text-transform: uppercase;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-bottom: 2rem;
|
||||
|
||||
&::after {
|
||||
@include yellow-gradient-after(10px);
|
||||
bottom: -10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ── Dropdown wrapper ──────────────────────────────────────────
|
||||
.labo-dropdowns {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
margin-top: 5rem;
|
||||
|
||||
.labo-section & {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// ── Dropdown item ─────────────────────────────────────────────
|
||||
.labo-dropdown-item.is-open {
|
||||
position: relative;
|
||||
padding-bottom: 1rem;
|
||||
|
||||
&::after {
|
||||
@include yellow-gradient-after;
|
||||
}
|
||||
}
|
||||
|
||||
.labo-dropdown-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.2rem;
|
||||
padding: 0.8rem;
|
||||
background-color: $light-gray;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.15s;
|
||||
font-family: $font-primary;
|
||||
font-size: inherit;
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
margin: 0;
|
||||
|
||||
&:hover {
|
||||
background-color: $less-light-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.labo-dropdown-chevron {
|
||||
font-size: 1.2rem;
|
||||
transition: transform 0.2s;
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
|
||||
.labo-dropdown-item.is-open & {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
.labo-dropdown-content {
|
||||
padding: 1rem 1rem 1rem 1rem;
|
||||
background-color: $light-light-gray;
|
||||
font-family: $font-primary;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.6;
|
||||
|
||||
p {
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
p + ul {
|
||||
margin-top: -1rem;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 1.2rem;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
// ── Axes list ─────────────────────────────────────────────────
|
||||
.labo-axes-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
li {
|
||||
padding: 0.5rem 0;
|
||||
border-bottom: 1px solid $light-gray;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ── Bibliothèques ─────────────────────────────────────────────
|
||||
.labo-bibliotheques {
|
||||
font-family: $font-primary;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.6;
|
||||
|
||||
p {
|
||||
margin-bottom: 0.8rem;
|
||||
}
|
||||
|
||||
p + ul {
|
||||
margin-top: -1rem;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
// ── Programme de recherche ────────────────────────────────────
|
||||
.programme-description {
|
||||
margin-bottom: 1.5rem;
|
||||
|
||||
p { margin-bottom: 0.6rem; }
|
||||
ul, ol { padding-left: 1.2rem; }
|
||||
a { text-decoration: underline; }
|
||||
}
|
||||
|
||||
.programme-link {
|
||||
padding-top: 0.5rem;
|
||||
border-top: 1px solid $light-gray;
|
||||
}
|
||||
Reference in New Issue
Block a user