Change in text scale
This commit is contained in:
sairaj mote 2021-04-21 15:40:58 +05:30
parent c2dda3f056
commit cbb93400bb
4 changed files with 26 additions and 8 deletions

View File

@ -26,6 +26,7 @@ body {
body[data-theme=dark] { body[data-theme=dark] {
--accent-color: #ff3949; --accent-color: #ff3949;
--green: #13ff5a;
--text-color: 240, 240, 240; --text-color: 240, 240, 240;
--text-color-light: 170, 170, 170; --text-color-light: 170, 170, 170;
--foreground-color: 20, 20, 20; --foreground-color: 20, 20, 20;
@ -812,18 +813,27 @@ sm-carousel {
} }
.up-arrow { .up-arrow {
height: 1.2em; height: 1em;
width: 1.2em; width: 1em;
fill: var(--green); fill: var(--green);
margin-right: 0.1em; margin-right: 0.1em;
} }
.percent-gain { .percent-gain {
color: var(--green); color: var(--green);
font-weight: 500;
margin-right: 0.5em; margin-right: 0.5em;
} }
.percent-gain,
.time-elapsed {
font-weight: 400;
font-size: 0.8rem;
}
.time-elapsed {
color: rgba(var(--text-color), 0.8);
}
.investor-card { .investor-card {
align-items: flex-start; align-items: flex-start;
grid-template-columns: auto 1fr; grid-template-columns: auto 1fr;

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -23,6 +23,7 @@ body {
} }
body[data-theme='dark']{ body[data-theme='dark']{
--accent-color: #ff3949; --accent-color: #ff3949;
--green: #13ff5a;
--text-color: 240, 240, 240; --text-color: 240, 240, 240;
--text-color-light: 170, 170, 170; --text-color-light: 170, 170, 170;
--foreground-color: 20, 20, 20; --foreground-color: 20, 20, 20;
@ -726,16 +727,23 @@ sm-carousel{
} }
.up-arrow{ .up-arrow{
height: 1.2em; height: 1em;
width: 1.2em; width: 1em;
fill: var(--green); fill: var(--green);
margin-right: 0.1em; margin-right: 0.1em;
} }
.percent-gain{ .percent-gain{
color: var(--green); color: var(--green);
font-weight: 500;
margin-right: 0.5em; margin-right: 0.5em;
} }
.percent-gain,
.time-elapsed{
font-weight: 400;
font-size: 0.8rem;
}
.time-elapsed{
color: rgba(var(--text-color), 0.8);
}
.investor-card{ .investor-card{

View File

@ -3744,7 +3744,7 @@ scrollTabPanels.innerHTML = `
.tab-panels{ .tab-panels{
display: grid; display: grid;
grid-auto-flow: column; grid-auto-flow: column;
grid-auto-columns: calc(100% - 3rem); grid-auto-columns: 100%;
gap: var(--gap); gap: var(--gap);
border-radius: var(--border-radius); border-radius: var(--border-radius);
background: var(--background); background: var(--background);