style hover link
This commit is contained in:
parent
0fed6cfd12
commit
1fa9bf1e10
5 changed files with 48 additions and 30 deletions
|
|
@ -26,6 +26,28 @@ h4,
|
|||
h5,
|
||||
p {
|
||||
font-weight: var(--font-weight-light);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: var(--font-size-xl);
|
||||
}
|
||||
|
||||
article h2 {
|
||||
margin-bottom: calc(var(--unit--vertical) / 2);
|
||||
}
|
||||
|
||||
.title-center {
|
||||
--margin-left: calc(4 * var(--unit--horizontal));
|
||||
width: calc(100% - var(--margin-left));
|
||||
margin-left: var(--margin-left);
|
||||
}
|
||||
|
||||
.main-title {
|
||||
line-height: 1;
|
||||
text-align: left;
|
||||
box-sizing: border-box;
|
||||
font-weight: var(--font-weight-light);
|
||||
}
|
||||
|
||||
p,
|
||||
|
|
@ -53,19 +75,6 @@ button,
|
|||
font-size: var(--font-size-xxl) !important;
|
||||
}
|
||||
|
||||
.title-center {
|
||||
--margin-left: calc(4 * var(--unit--horizontal));
|
||||
width: calc(100% - var(--margin-left));
|
||||
margin-left: var(--margin-left);
|
||||
}
|
||||
|
||||
.main-title {
|
||||
line-height: 1;
|
||||
text-align: left;
|
||||
box-sizing: border-box;
|
||||
font-weight: var(--font-weight-light);
|
||||
}
|
||||
|
||||
p,
|
||||
li,
|
||||
button,
|
||||
|
|
@ -100,6 +109,17 @@ button {
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
a * {
|
||||
transition: font 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
a.no-line:hover * {
|
||||
font-weight: 250;
|
||||
}
|
||||
a:not(.no-line):hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not(.no-line) {
|
||||
text-decoration: dotted;
|
||||
text-decoration-color: #fff;
|
||||
|
|
@ -108,7 +128,7 @@ a:not(.no-line) {
|
|||
text-decoration-thickness: 0.5px;
|
||||
}
|
||||
|
||||
article p {
|
||||
article p:not(:last-child) {
|
||||
margin-bottom: var(--unit--vertical);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue