moved some CSS properties to variables
This commit is contained in:
@@ -21,11 +21,11 @@
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--font-size-mono);
|
||||
padding: 8px;
|
||||
border: dashed 2px var(--color-highlight);
|
||||
border: dashed var(--border-dash-size) var(--color-highlight);
|
||||
color: var(--color-highlight);
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.05s ease-out;
|
||||
transition: background-color var(--duration-animation) ease-out;
|
||||
}
|
||||
|
||||
.outlined-button:hover {
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
text-decoration: none;
|
||||
font-size: 1.0rem;
|
||||
line-height: 1.4rem;
|
||||
transition: color 0.1s ease-out, font-weight 0.1s ease-out;
|
||||
transition: color var(--duration-animation) ease-out, font-weight var(--duration-animation) ease-out;
|
||||
}
|
||||
a:link, a:visited, span {
|
||||
color: var(--color-highlight);
|
||||
|
||||
@@ -43,10 +43,10 @@
|
||||
.subtitled-img-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 2px var(--color-highlight) dashed;
|
||||
border: var(--border-dash-size) var(--color-highlight) dashed;
|
||||
text-decoration: none;
|
||||
box-sizing: border-box;
|
||||
transition: background-color 0.1s ease-out;
|
||||
transition: background-color var(--duration-animation) ease-out;
|
||||
}
|
||||
|
||||
.subtitled-img-container-centred {
|
||||
|
||||
Reference in New Issue
Block a user