You've already forked AstralRinth
forked from didirus/AstralRinth
Add .link underline
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
border: solid 2px hsl(0, 0%, 20%);
|
border: solid 2px hsl(0, 0%, 20%);
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
position: relative;
|
position: relative;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
.header {
|
.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 1rem 1.5rem;
|
padding: 1rem 1.5rem;
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
&__links {
|
&__links {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -85,14 +85,14 @@
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
gap: 2.5rem;
|
grid-gap: 2.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
.edit-link {
|
.edit-link {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
margin-bottom: 54px;
|
margin-bottom: 54px;
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -180,4 +180,4 @@ Use a utility by importing from `omorphia/utils`.
|
|||||||
|
|
||||||
### Using icons and styles
|
### Using icons and styles
|
||||||
|
|
||||||
Follow the guides on the sidebar to learn how to use [icons](/getting-started/icons) and general concepts.
|
Follow the guides on the sidebar to learn how to use [icons](/usage/icons) and general concepts.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
*:not(.example__preview *) {
|
*:not(.example__preview) * {
|
||||||
:where(a) {
|
:where(a):not(.link) {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&.absent {
|
&.absent {
|
||||||
@@ -378,7 +378,7 @@
|
|||||||
background-color: var(--accent-color-transparent);
|
background-color: var(--accent-color-transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:where(a) {
|
&:where(a):not(.link) {
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
min-width: min-content;
|
min-width: min-content;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 100%;
|
line-height: 100%;
|
||||||
|
|||||||
@@ -25,12 +25,12 @@
|
|||||||
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
|
|
||||||
&__label {
|
&__label {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
|
|
||||||
> :global(.icon) {
|
> :global(.icon) {
|
||||||
/* Icon on checkbox helps to be a little larger than normal icons 16px -> 18px */
|
/* Icon on checkbox helps to be a little larger than normal icons 16px -> 18px */
|
||||||
|
|||||||
@@ -37,12 +37,12 @@
|
|||||||
.checkbox-list {
|
.checkbox-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2px;
|
grid-gap: 2px;
|
||||||
|
|
||||||
&.wrap {
|
&.wrap {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 2rem;
|
grid-gap: 2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -40,6 +40,6 @@
|
|||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
.chips {
|
.chips {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
.code {
|
.code {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
font-family: var(--mono-font);
|
font-family: var(--mono-font);
|
||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
background-color: var(--color-code-bg);
|
background-color: var(--color-code-bg);
|
||||||
|
|||||||
@@ -22,13 +22,13 @@
|
|||||||
.field {
|
.field {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
|
||||||
&__label {
|
&__label {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0;
|
grid-gap: 0;
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
font-weight: var(--font-weight-bold);
|
font-weight: var(--font-weight-bold);
|
||||||
|
|||||||
@@ -95,7 +95,7 @@
|
|||||||
.file-dropzone {
|
.file-dropzone {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
|
|
||||||
&--constrained {
|
&--constrained {
|
||||||
width: 27rem;
|
width: 27rem;
|
||||||
@@ -106,7 +106,7 @@
|
|||||||
padding: 1.5rem 2rem;
|
padding: 1.5rem 2rem;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
background-color: var(--color-button-bg);
|
background-color: var(--color-button-bg);
|
||||||
border-radius: var(--rounded-sm);
|
border-radius: var(--rounded-sm);
|
||||||
border: dashed 0.3rem var(--color-text-lightest);
|
border: dashed 0.3rem var(--color-text-lightest);
|
||||||
|
|||||||
@@ -121,7 +121,7 @@
|
|||||||
padding: 1rem 1.25rem;
|
padding: 1rem 1.25rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
color: var(--color-danger-text);
|
color: var(--color-danger-text);
|
||||||
border-color: var(--color-danger-text);
|
border-color: var(--color-danger-text);
|
||||||
border-width: 0.15rem 0;
|
border-width: 0.15rem 0;
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
padding: 1rem 1.25rem;
|
padding: 1rem 1.25rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
color: var(--color-danger-text);
|
color: var(--color-danger-text);
|
||||||
border-color: var(--color-danger-text);
|
border-color: var(--color-danger-text);
|
||||||
border-width: 0.15rem 0;
|
border-width: 0.15rem 0;
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
.pagination {
|
.pagination {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
:global(.button) {
|
:global(.button) {
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (width <= 500px) {
|
@media (width <= 500px) {
|
||||||
gap: 0.25rem;
|
grid-gap: 0.25rem;
|
||||||
|
|
||||||
:global(> *:nth-child(4)),
|
:global(> *:nth-child(4)),
|
||||||
:global(> *:nth-child(6)) {
|
:global(> *:nth-child(6)) {
|
||||||
|
|||||||
@@ -220,7 +220,7 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0.25rem 1rem;
|
padding: 0.25rem 1rem;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
background-color: var(--color-button-bg);
|
background-color: var(--color-button-bg);
|
||||||
box-shadow: var(--shadow-inset-sm);
|
box-shadow: var(--shadow-inset-sm);
|
||||||
border-radius: var(--rounded);
|
border-radius: var(--rounded);
|
||||||
@@ -265,7 +265,7 @@
|
|||||||
padding: 0.25rem 1rem;
|
padding: 0.25rem 1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
|
|
||||||
&:hover:not(.current, .is-selected) {
|
&:hover:not(.current, .is-selected) {
|
||||||
background-color: var(--color-brand-dark);
|
background-color: var(--color-brand-dark);
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
|
|
||||||
&__input {
|
&__input {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
.text-input {
|
.text-input {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 20rem;
|
width: 20rem;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
min-width: fit-content;
|
min-width: fit-content;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.button-group {
|
.button-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
box-shadow: var(--shadow-raised), var(--shadow-inset);
|
box-shadow: var(--shadow-raised), var(--shadow-inset);
|
||||||
|
|
||||||
padding: var(--padding);
|
padding: var(--padding);
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
||||||
.profile-picture {
|
.profile-picture {
|
||||||
@@ -19,11 +19,11 @@
|
|||||||
|
|
||||||
&--gap {
|
&--gap {
|
||||||
&-compressed {
|
&-compressed {
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-none {
|
&-none {
|
||||||
gap: 0;
|
grid-gap: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
|
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0.75rem 1rem;
|
padding: 0.75rem 1rem;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
/* Prevents shifting in height when button added */
|
/* Prevents shifting in height when button added */
|
||||||
min-height: 3.5rem;
|
min-height: 3.5rem;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 2rem;
|
grid-gap: 2rem;
|
||||||
|
|
||||||
&__image {
|
&__image {
|
||||||
max-width: 18.5rem;
|
max-width: 18.5rem;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.info-table {
|
.info-table {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: repeat(2, 1fr);
|
||||||
gap: 0.25rem 2rem;
|
grid-gap: 0.25rem 2rem;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
|
|
||||||
&__label {
|
&__label {
|
||||||
|
|||||||
@@ -2,11 +2,21 @@
|
|||||||
color: var(--color-link);
|
color: var(--color-link);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.25rem;
|
||||||
line-height: 100%;
|
line-height: 100%;
|
||||||
|
text-decoration: underline;
|
||||||
|
text-underline-offset: 3px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration-thickness: 2px;
|
||||||
|
|
||||||
|
.icon > path {
|
||||||
|
stroke-width: 3px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
margin-bottom: -3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -14,7 +24,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
|
|
||||||
.link {
|
.link {
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.markdown {
|
.markdown {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
|
|
||||||
blockquote,
|
blockquote,
|
||||||
details,
|
details,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.member {
|
.member {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
grid-gap: 1rem;
|
||||||
|
|
||||||
border-radius: var(--rounded-sm);
|
border-radius: var(--rounded-sm);
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.stat {
|
.stat {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
|
|
||||||
&--light {
|
&--light {
|
||||||
color: var(--color-text-lightest);
|
color: var(--color-text-lightest);
|
||||||
@@ -18,6 +18,6 @@
|
|||||||
|
|
||||||
.stat-group {
|
.stat-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.tag {
|
.tag {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.25rem;
|
grid-gap: 0.25rem;
|
||||||
color: var(--color-text-lightest);
|
color: var(--color-text-lightest);
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
@@ -14,5 +14,5 @@
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
gap: 0.25rem 0.5rem;
|
grid-gap: 0.25rem 0.5rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user