Skip to content

Commit

Permalink
reduce dot visibility behind text elements in light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
snapsnapturtle committed Nov 10, 2023
1 parent 7806c7e commit c103967
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</div>
</nav>
<br />
<p role="presentation">$ <span class="cursor cursor--blinking">&nbsp;</span></p>
<div role="presentation">$ <span class="cursor cursor--blinking">&nbsp;</span></div>
</body>
<script defer type="module" src="./scripts/vercel-analytics.ts"></script>
<script defer type="module" src="./scripts/vercel-speed-insights.ts"></script>
Expand Down
4 changes: 3 additions & 1 deletion styles/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ body {
font-family: var(--font-family);
}

p {
p, nav {
margin: 1.5rem 0;
background: var(--background-paragraph);
border-radius: 0.25rem;
}

a,
Expand Down
1 change: 0 additions & 1 deletion styles/home.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import url('./common.css');

.contact {
margin-top: 1.5rem;
display: grid;
grid-gap: 0.5rem 0;
grid-template: repeat(4, auto) / auto;
Expand Down
2 changes: 2 additions & 0 deletions styles/variables.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
:root {
--background: rgba(10, 2, 25, 1);
--background-paragraph: none;
--text-primary: rgba(255, 255, 255, 0.8);
--text-link: rgba(255, 255, 255, 1);
--text-secondary: rgba(255, 255, 255, 0.4);
Expand All @@ -22,6 +23,7 @@
@media (prefers-color-scheme: light) {
:root {
--background: rgb(255, 255, 255) radial-gradient(rgba(0, 0, 0, 0.075) 1px, transparent 0px);
--background-paragraph: rgba(255, 255, 255, 0.5);
--text-primary: rgba(0, 0, 0, 0.8);
--text-link: rgb(255, 79, 0);
--text-secondary: rgba(255, 255, 255, 0.4);
Expand Down

0 comments on commit c103967

Please sign in to comment.