Skip to content

Commit

Permalink
chore: autoformat with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
trevormunoz committed Sep 1, 2024
1 parent 9203626 commit 4c04594
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 32 deletions.
5 changes: 3 additions & 2 deletions src/components/header.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'variables.css';
@import "variables.css";

header {
width: 100%;
Expand All @@ -10,4 +10,5 @@ header svg {
}
.logo {
padding-top: 2.5rem;
}
}

33 changes: 17 additions & 16 deletions src/components/layout.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import 'site-reset.css';
@import 'typography.css';
@import 'variables.css';
@import 'grid.css';
@import "site-reset.css";
@import "typography.css";
@import "variables.css";
@import "grid.css";

html {
overflow-y: scroll;
Expand Down Expand Up @@ -42,8 +42,8 @@ p *:last-child {
}
ol,
ul {
list-style-position: outside;
list-style-image: none;
list-style-position: outside;
list-style-image: none;
}
ul {
list-style: none;
Expand All @@ -63,7 +63,7 @@ ul {
}
.skip-link:focus {
top: 2rem;
outline: 5px solid rgba(0,0,0,0.1);
outline: 5px solid rgba(0, 0, 0, 0.1);
transform: translateY(0%);
}
.text-hidden {
Expand All @@ -72,14 +72,14 @@ ul {
height: 1px;
display: inline-block;
overflow: hidden;
position: absolute!important;
border: 0!important;
padding: 0!important;
margin: 0!important;
clip: rect(1px,1px,1px,1px);
position: absolute !important;
border: 0 !important;
padding: 0 !important;
margin: 0 !important;
clip: rect(1px, 1px, 1px, 1px);
}
.hidden {
display:none;
display: none;
}
svg:not(:root) {
overflow: hidden;
Expand All @@ -104,7 +104,7 @@ ul.inline-list > li {
display: inline;
}
ul.inline-list > li:before {
content: ', ';
content: ", ";
}
ul.inline-list > li:first-child:before {
content: normal;
Expand All @@ -124,5 +124,6 @@ ul.inline-list > li:first-child:before {
.button:active {
border-bottom: 0;
color: #fff;
background-color: rgba(183,191,16,0.8);
}
background-color: rgba(183, 191, 16, 0.8);
}

39 changes: 25 additions & 14 deletions src/components/variables.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
:root {
--base-content-width: 37rem;
--base-content-spacing: 1.0rem;
--content-spacing-xl: 3.0rem;
--content-spacing-lg: 2.0rem;
--content-spacing-md: 1.5rem;
--content-spacing-sm: 0.5rem;
--content-spacing-xs: 0.25rem;
--font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
--color-main: rgb(183,191,16);
--color-main-dk: rgb(164,171,15);
--color-gray: rgb(126, 126, 126);
--color-gray-lt: rgb(191,191,191);
--color-gray-dk: rgb(63,63,63);
} --header-footer-stack: "Departure Mono", var(--font-stack);
--base-content-width: 37rem;
--base-content-spacing: 1rem;
--content-spacing-xl: 3rem;
--content-spacing-lg: 2rem;
--content-spacing-md: 1.5rem;
--content-spacing-sm: 0.5rem;
--content-spacing-xs: 0.25rem;
--header-footer-stack: "Departure Mono", var(--font-stack);
--font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
sans-serif;
--color-main: rgb(183, 191, 16);
--color-main-dk: rgb(164, 171, 15);
--color-gray: rgb(126, 126, 126);
--color-gray-lt: rgb(191, 191, 191);
--color-gray-dk: rgb(63, 63, 63);
}

@font-face {
font-family: "Departure Mono";
src: url("../fonts/DepartureMono-Regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
}

0 comments on commit 4c04594

Please sign in to comment.