Style fixes

This commit is contained in:
kvakazyambra 2023-07-19 00:50:27 +03:00
parent 6bce7d576c
commit b11b586fdd
10 changed files with 46 additions and 28 deletions

View File

@ -295,6 +295,7 @@
} }
.button { .button {
min-height: 4rem;
margin: 0 0.8rem; margin: 0 0.8rem;
vertical-align: middle; vertical-align: middle;

View File

@ -102,7 +102,7 @@ export const Beside = (props: BesideProps) => {
</ul> </ul>
</div> </div>
</Show> </Show>
<div class={clsx('col-md-14', styles.shoutCardContainer)}> <div class={clsx('col-md-16', styles.shoutCardContainer)}>
<ArticleCard <ArticleCard
article={props.beside} article={props.beside}
settings={{ isBigTitle: true, isBeside: true, nodate: props.nodate }} settings={{ isBigTitle: true, isBeside: true, nodate: props.nodate }}

View File

@ -444,6 +444,16 @@
width: 2.4rem; width: 2.4rem;
} }
a:hover {
.icon {
display: block;
@include media-breakpoint-up(lg) {
display: none;
}
}
}
img { img {
max-width: none; max-width: none;
height: 2.4rem; height: 2.4rem;
@ -469,6 +479,10 @@
} }
} }
button {
margin: 0 !important;
}
a::before { a::before {
display: none; display: none;
} }
@ -484,8 +498,12 @@
} }
.textLabel { .textLabel {
background-color: var(--link-hover-background); //background-color: var(--link-hover-background);
color: var(--link-hover-color); color: var(--link-hover-color);
} }
} }
a:hover {
background-color: var(--link-hover-background) !important;
}
} }

View File

@ -186,6 +186,7 @@ export const HeaderAuth = (props: HeaderAuthProps) => {
<a href="?modal=auth&mode=login"> <a href="?modal=auth&mode=login">
<span class={styles.textLabel}>{t('Enter')}</span> <span class={styles.textLabel}>{t('Enter')}</span>
<Icon name="user-default" class={styles.icon} /> <Icon name="user-default" class={styles.icon} />
{/*<Icon name="user-default" class={clsx(styles.icon, styles.iconHover)} />*/}
</a> </a>
</div> </div>
} }

View File

@ -1,6 +1,4 @@
.topicContainer { .topicContainer {
border-bottom: 1px solid #e1e1e1;
li:last-child & { li:last-child & {
border: none; border: none;
} }
@ -35,10 +33,13 @@
.topicTitle { .topicTitle {
@include font-size(2.2rem); @include font-size(2.2rem);
font-weight: bold; font-weight: bold;
margin-bottom: 1.2rem; margin-bottom: 1.2rem;
margin-top: 0.5rem !important; margin-top: 0.5rem !important;
a {
border: none;
}
} }
.topicAvatar { .topicAvatar {

View File

@ -154,7 +154,6 @@ export const AllTopicsView = (props: AllTopicsViewProps) => {
{(letter) => ( {(letter) => (
<div class={clsx(styles.group, 'group')}> <div class={clsx(styles.group, 'group')}>
<h2 id={`letter-${ALPHABET.indexOf(letter)}`}>{letter}</h2> <h2 id={`letter-${ALPHABET.indexOf(letter)}`}>{letter}</h2>
<div class="container">
<div class="row"> <div class="row">
<div class="col-lg-20"> <div class="col-lg-20">
<div class="row"> <div class="row">
@ -170,7 +169,6 @@ export const AllTopicsView = (props: AllTopicsViewProps) => {
</div> </div>
</div> </div>
</div> </div>
</div>
)} )}
</For> </For>
</Show> </Show>

View File

@ -4,7 +4,6 @@
input { input {
border: none; border: none;
border-bottom: 1px solid #ccc;
box-shadow: 0 0 0 #ccc; box-shadow: 0 0 0 #ccc;
font-family: inherit; font-family: inherit;
font-size: inherit; font-size: inherit;

View File

@ -1,6 +1,5 @@
.statMetrics { .statMetrics {
@include font-size(1.7rem); @include font-size(1.7rem);
color: #9fa1a7; color: #9fa1a7;
display: flex; display: flex;
margin: 0 0 1em; margin: 0 0 1em;
@ -16,7 +15,6 @@
.statMetricsItem { .statMetricsItem {
@include font-size(1.5rem); @include font-size(1.5rem);
margin-right: 1.6rem; margin-right: 1.6rem;
white-space: nowrap; white-space: nowrap;

View File

@ -6,6 +6,10 @@
margin: 1rem 0; margin: 1rem 0;
position: relative; position: relative;
@include media-breakpoint-up(md) {
margin: 1rem -16.6666% 2rem -25%;
}
.controls { .controls {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -28,10 +32,6 @@
width: 100%; width: 100%;
aspect-ratio: 16/9; aspect-ratio: 16/9;
@include media-breakpoint-up(md) {
margin: 0 0 1em -16.6666%;
}
iframe { iframe {
height: 100%; height: 100%;
width: 100%; width: 100%;

View File

@ -52,7 +52,6 @@
.alphabet { .alphabet {
@include font-size(1.5rem); @include font-size(1.5rem);
color: rgba(0 0 0 / 20%); color: rgba(0 0 0 / 20%);
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@ -62,13 +61,16 @@
li { li {
min-width: 1.5em; min-width: 1.5em;
margin-right: 3%; margin-right: 3%;
color: gray; color: rgb(0 0 0 / 30%);
}
a {
border: none;
} }
} }
.articlesCounter { .articlesCounter {
@include font-size(1.2rem); @include font-size(1.2rem);
margin-left: 0.5em; margin-left: 0.5em;
vertical-align: super; vertical-align: super;
} }