Skip to content

Commit

Permalink
Run pre-commit with updated stylelint versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksamies committed Sep 25, 2024
1 parent 745d333 commit 64901ec
Show file tree
Hide file tree
Showing 29 changed files with 499 additions and 410 deletions.
466 changes: 227 additions & 239 deletions apps/cyberstorm-remix/app/Error.module.css

Large diffs are not rendered by default.

44 changes: 34 additions & 10 deletions apps/cyberstorm-remix/app/Markdown.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
line-height: 1.6rem;
}

.root > :first-child { padding-top: 0; }
.root > :first-child {
padding-top: 0;
}

/*
We can't control the elements inside the Markdown wrapper, e.g. to
Expand Down Expand Up @@ -43,11 +45,25 @@
padding-top: 1rem;
}

.root h1 { font-size: 2.25rem; }
.root h2 { font-size: 1.75rem; }
.root h3 { font-size: 1.25rem; }
.root h4 { font-size: 1rem; }
.root h5 { font-size: 0.875rem; }
.root h1 {
font-size: 2.25rem;
}

.root h2 {
font-size: 1.75rem;
}

.root h3 {
font-size: 1.25rem;
}

.root h4 {
font-size: 1rem;
}

.root h5 {
font-size: 0.875rem;
}

.root h6 {
color: #9c9cc4;
Expand All @@ -59,7 +75,9 @@
margin-inline-start: 0.75rem;
}

.root img { display: inline-block; }
.root img {
display: inline-block;
}

.root li > ul,
.root li > ol {
Expand Down Expand Up @@ -96,7 +114,9 @@
color: #f5f5f6;
}

.root a { color: var(--old--color-cyber-green--50); }
.root a {
color: var(--old--color-cyber-green--50);
}

.root blockquote {
display: flex;
Expand All @@ -111,9 +131,13 @@
border-spacing: 0;
}

.root tbody tr:nth-child(even) { background: #0d0d21; }
.root tbody tr:nth-child(even) {
background: #0d0d21;
}

.root tbody tr:nth-child(odd) { background: #15152d; }
.root tbody tr:nth-child(odd) {
background: #15152d;
}

.root table tr th,
.root table tr td {
Expand Down
4 changes: 2 additions & 2 deletions apps/cyberstorm-remix/app/RootLayout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
gap: 2rem;
}

@media (min-width: 60rem) {
@media (width >= 60rem) {
.layoutSidebar {
flex-flow: row wrap;
}
Expand All @@ -85,7 +85,7 @@
}
}

@media (max-width: 92.125rem) {
@media (width <= 92.125rem) {
.sideContainers {
display: none;
}
Expand Down
10 changes: 7 additions & 3 deletions apps/cyberstorm-remix/app/c/CommunityCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
min-width: 0;
}

@media (max-width: 30rem) {
@media (width <= 30rem) {
.root {
gap: var(--space--16);
}
Expand Down Expand Up @@ -65,7 +65,11 @@
mask-image: var(--gradients);
mask-composite: intersect;

--gradients:
linear-gradient(90deg, transparent 0%, white 70%, transparent 100%),
--gradients: linear-gradient(
90deg,
transparent 0%,
white 70%,
transparent 100%
),
linear-gradient(180deg, white 40%, transparent 95%);
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
transition: ease-out var(--animation-length-xs);
}

.label:hover .checkbox { --mark-color: #4343a3; }
.label:hover .checkbox {
--mark-color: #4343a3;
}

.label.include,
.label.include .checkbox {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
transition: ease-out var(--animation-length-xs);
}

.label:hover .checkbox { --mark-color: #4343a3; }
.label:hover .checkbox {
--mark-color: #4343a3;
}

.label.include,
.label.include .checkbox {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
height: var(--space--36);
}

@media (max-width: 43.75rem) {
@media (width <= 43.75rem) {
.top {
flex-direction: column-reverse;
gap: 1rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
min-width: 0;
}

@media (max-width: 30rem) {
@media (width <= 30rem) {
.root {
gap: var(--space--16);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@media (max-width: 40rem) {
@media (width <= 40rem) {
.breadcrumbs {
display: none;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
}

@media (max-width: 27.5rem) {
@media (width <= 27.5rem) {
.root {
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
white-space: nowrap;
}

@media (max-width: 40rem) {
@media (width <= 40rem) {
.root {
flex-direction: column;
}
Expand Down
94 changes: 37 additions & 57 deletions apps/cyberstorm-remix/app/globals.css
Original file line number Diff line number Diff line change
@@ -1,49 +1,32 @@
:root {
--max-width: 1100px;
--border-radius: 12px;
--font-mono:
ui-monospace,
menlo,
monaco,
"Cascadia Mono",
"Segoe UI Mono",
"Roboto Mono",
"Oxygen Mono",
"Ubuntu Monospace",
"Source Code Pro",
"Fira Mono",
"Droid Sans Mono",
"Courier New",
monospace;
--font-mono: ui-monospace, menlo, monaco, "Cascadia Mono", "Segoe UI Mono",
"Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro",
"Fira Mono", "Droid Sans Mono", "Courier New", monospace;
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
--primary-glow:
conic-gradient(
from 180deg at 50% 50%,
#16abff33 0deg,
#0885ff33 55deg,
#54d6ff33 120deg,
#0071ff33 160deg,
transparent 360deg
);
--secondary-glow:
radial-gradient(
rgb(255 255 255 / 1),
rgb(255 255 255 / 0)
);
--primary-glow: conic-gradient(
from 180deg at 50% 50%,
#16abff33 0deg,
#0885ff33 55deg,
#54d6ff33 120deg,
#0071ff33 160deg,
transparent 360deg
);
--secondary-glow: radial-gradient(rgb(255 255 255 / 1), rgb(255 255 255 / 0));
--tile-start-rgb: 239, 245, 249;
--tile-end-rgb: 228, 232, 233;
--tile-border:
conic-gradient(
#00000080,
#00000040,
#00000030,
#00000020,
#00000010,
#00000010,
#00000080
);
--tile-border: conic-gradient(
#00000080,
#00000040,
#00000030,
#00000020,
#00000010,
#00000010,
#00000080
);
--callout-rgb: 238, 240, 241;
--callout-border-rgb: 172, 175, 176;
--card-rgb: 180, 185, 188;
Expand All @@ -56,25 +39,23 @@
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
--primary-glow: radial-gradient(rgb(1 65 255 / 0.4), rgb(1 65 255 / 0));
--secondary-glow:
linear-gradient(
to bottom right,
rgb(1 65 255 / 0),
rgb(1 65 255 / 0),
rgb(1 65 255 / 0.3)
);
--secondary-glow: linear-gradient(
to bottom right,
rgb(1 65 255 / 0),
rgb(1 65 255 / 0),
rgb(1 65 255 / 0.3)
);
--tile-start-rgb: 2, 13, 46;
--tile-end-rgb: 2, 5, 19;
--tile-border:
conic-gradient(
#ffffff80,
#ffffff40,
#ffffff30,
#ffffff20,
#ffffff10,
#ffffff10,
#ffffff80
);
--tile-border: conic-gradient(
#ffffff80,
#ffffff40,
#ffffff30,
#ffffff20,
#ffffff10,
#ffffff10,
#ffffff80
);
--callout-rgb: 20, 20, 20;
--callout-border-rgb: 108, 108, 108;
--card-rgb: 100, 100, 100;
Expand All @@ -96,8 +77,7 @@ body {

body {
color: rgb(var(--foreground-rgb));
background:
linear-gradient(
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
text-overflow: ellipsis;
}

@media (min-width: 60rem) {
@media (width >= 60rem) {
.itemDescription,
.itemTitle {
max-width: 250px;
Expand Down
10 changes: 7 additions & 3 deletions apps/cyberstorm-remix/app/p/dependants/Dependants.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
gap: var(--space--32);
}

@media (max-width: 30rem) {
@media (width <= 30rem) {
.root {
gap: var(--space--16);
}
Expand Down Expand Up @@ -32,8 +32,12 @@
mask-image: var(--gradients);
mask-composite: intersect;

--gradients:
linear-gradient(90deg, transparent 0%, white 70%, transparent 100%),
--gradients: linear-gradient(
90deg,
transparent 0%,
white 70%,
transparent 100%
),
linear-gradient(180deg, white 40%, transparent 95%);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
color: var(--color-highlight);
}

@media (max-width: 60rem) {
@media (width <= 60rem) {
.packageInfo {
flex-direction: column;
gap: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
line-height: normal;
}

@media (max-width: 30rem) {
@media (width <= 30rem) {
.item {
flex-direction: column;
gap: var(--gap--8);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
flex-direction: row-reverse;
}

@media (max-width: 30rem) {
@media (width <= 30rem) {
.donationLink {
flex-direction: column;
gap: var(--gap--16);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
font-size: 0.875rem;
}

@media (max-width: 30rem) {
@media (width <= 30rem) {
.item {
flex-direction: column;
gap: var(--gap--8);
Expand Down
6 changes: 3 additions & 3 deletions packages/cyberstorm-styles/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@

/* e.g --scaling-s --scaling-m --scaling-l */

@media (max-width: calc(40rem - 1px)) {
@media (width <= calc(40rem - 1px)) {
:root {
--scaling: 0.7;
}
}

@media (min-width: 40rem) {
@media (width >= 40rem) {
:root {
--scaling: 0.9;
}
}

@media (min-width: 63.5rem) {
@media (width >= 63.5rem) {
:root {
--scaling: 1;
}
Expand Down
Loading

0 comments on commit 64901ec

Please sign in to comment.