Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Pride Month!" #322

Merged
merged 1 commit into from
Jul 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 30 additions & 80 deletions src/_includes/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,56 +12,6 @@

--disabled: #666;

--rainbow: linear-gradient(90deg,
hsl(0, 100%, 30%),
hsl(30, 100%, 30%),
hsl(60, 100%, 30%),
hsl(90, 100%, 30%),
hsl(120, 100%, 30%),
hsl(150, 100%, 30%),
hsl(180, 100%, 30%),
hsl(210, 100%, 30%),
hsl(240, 100%, 30%),
hsl(270, 100%, 30%),
hsl(300, 100%, 30%),
hsl(330, 100%, 30%),
hsl(360, 100%, 30%)
);

--rainbow-dark: linear-gradient(90deg,
hsl(0, 100%, 20%),
hsl(30, 100%, 20%),
hsl(60, 100%, 20%),
hsl(90, 100%, 20%),
hsl(120, 100%, 20%),
hsl(150, 100%, 20%),
hsl(180, 100%, 20%),
hsl(210, 100%, 20%),
hsl(240, 100%, 20%),
hsl(270, 100%, 20%),
hsl(300, 100%, 20%),
hsl(330, 100%, 20%),
hsl(360, 100%, 20%)
);

--rainbow-light: linear-gradient(90deg,
hsl(0, 100%, 40%),
hsl(30, 100%, 40%),
hsl(60, 100%, 40%),
hsl(90, 100%, 40%),
hsl(120, 100%, 40%),
hsl(150, 100%, 40%),
hsl(180, 100%, 40%),
hsl(210, 100%, 40%),
hsl(240, 100%, 40%),
hsl(270, 100%, 40%),
hsl(300, 100%, 40%),
hsl(330, 100%, 40%),
hsl(360, 100%, 40%)
);



--primary: hsl(350, 66%, 63%);
--link: hsl(214, 46%, 52%);
--info: hsl(274, 32%, 42%);
Expand All @@ -83,7 +33,7 @@
--warn-light: hsl(49, 85%, 79%);
--danger-light: hsl(17, 95%, 80%);

background: var(--background);
background-color: var(--background);
color-scheme: dark;
}

Expand All @@ -96,7 +46,7 @@
--accent: #e0e0e0;
--accent-light: #d0d0d0;

background: var(--background);
background-color: var(--background);
color-scheme: light;
}
}
Expand Down Expand Up @@ -200,15 +150,15 @@ pre {
hyphens: none;
padding: 1em;
margin: 0.5em 0;
background: var(--code);
background-color: var(--code);
color: white;
overflow: auto;
}

code {
word-break: break-all;
color: #f8f8f2;
background: var(--code);
background-color: var(--code);
}

:not(pre)>code {
Expand Down Expand Up @@ -242,20 +192,20 @@ code {

.highlight-line-isdir {
color: #b00808;
background: #222;
background-color: #222;
}

.highlight-line-active {
background: #444;
background: hsla(0, 0%, 27%, 0.8);
background-color: #444;
background-color: hsla(0, 0%, 27%, 0.8);
}

.highlight-line-add {
background: #45844b;
background-color: #45844b;
}

.highlight-line-remove {
background: #902f2f;
background-color: #902f2f;
}

.container {
Expand All @@ -265,7 +215,7 @@ code {
}

.content {
background: var(--background);
background-color: var(--background);
border-radius: 1em;
padding: 1em;
}
Expand All @@ -276,7 +226,7 @@ code {
}

.infobox {
background: var(--accent);
background-color: var(--accent);
padding: 1em;
border-radius: 1em;
}
Expand All @@ -292,7 +242,7 @@ code {
font-family: "Inter", sans-serif;
font-weight: 600;
text-decoration: none;
background: var(--rainbow);
background-color: var(--primary);
border-radius: .365em;
transition: 200ms ease;
background-position-x: 100%;
Expand All @@ -305,49 +255,49 @@ code {
}

.button:hover {
background: var(--rainbow-dark);
background-color: var(--primary-dark);
}

.button.type-link {
background: var(--rainbow);
background-color: var(--link);
}

.button.type-link:hover {
background: var(--rainbow-dark);
background-color: var(--link-dark);
}

.button.type-info {
background: var(--rainbow);
background-color: var(--info);
}

.button.type-info:hover {
background: var(--rainbow-dark);
background-color: var(--info-dark);
}

.button.type-success {
background: var(--rainbow);
background-color: var(--success);
}

.button.type-success:hover {
background: var(--rainbow-dark);
background-color: var(--success-dark);
}

.button.type-warn {
background: var(--warn);
background-color: var(--warn);
color: #000
}

.button.type-warn:hover {
background: var(--warn-dark);
background-color: var(--warn-dark);
color: #000
}

.button.type-danger {
background: var(--danger);
background-color: var(--danger);
}

.button.type-danger:hover {
background: var(--danger-dark);
background-color: var(--danger-dark);
}

.button.size-large {
Expand Down Expand Up @@ -422,7 +372,7 @@ a.direct-link:focus:visited,
flex: 1;
padding: 1em;
text-align: center;
background: var(--accent);
background-color: var(--accent);
}

.card .button {
Expand All @@ -440,28 +390,28 @@ a.direct-link:focus:visited,
}

.notification.type-primary {
background: var(--rainbow);
background-color: var(--primary);
}

.notification.type-link {
background: var(--rainbow);
background-color: var(--link);
}

.notification.type-info {
background: var(--rainbow);
background-color: var(--info);
}

.notification.type-success {
background: var(--rainbow-light);
background-color: var(--success);
}

.notification.type-warn {
background: var(--warn);
background-color: var(--warn);
color: #000
}

.notification.type-danger {
background: var(--danger);
background-color: var(--danger);
}

/* footer */
Expand Down
6 changes: 3 additions & 3 deletions src/_includes/layouts/main.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ templateClass: tmpl-home

<main class="container {{ templateClass }}">
{{ content | safe }}
</main>

<footer>
<footer>
{% include "partials/footer.njk" %}
</footer>
</main>
</footer>
9 changes: 0 additions & 9 deletions src/_includes/partials/footer.njk
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
<div class="notification type-success top">
<div class="center">

<h1>Ha, you have reached the end of the rainbow!</h1>
<h2> Happy Pride Month!</h2>

<img src=/img/lep.svg width=400em>
</div>
</div>
<div class="footer">
<div class="container">
{% include "edit-on-github.njk" %}
Expand Down
Binary file removed src/img/background/prism-background.png
Binary file not shown.
Loading