Skip to content
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
6 changes: 6 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>JSHeroes Bootcamp</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
</head>
Expand Down
8 changes: 7 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,21 @@ h6 {
--color-accent: #0098ff;
--color-accent-hover: #0b1b44;

--font-family-base: system-ui, sans-serif;
--font-family-display: "Ubuntu", sans-serif;

--drop-shadow: 0 2px 8px 1px rgba(18, 18, 18, 0.3);
--animation-fade: all 0.1s ease-out;
}

body {
font-family: system-ui, sans-serif;
font-family: var(--font-family-base);
color: var(--color-text);
}

h1 {
font-size: 1.67rem;
font-family: var(--font-family-display);
}

header {
Expand Down Expand Up @@ -141,6 +145,7 @@ header {
.button {
border: 0;
font-size: 1.2rem;
font-family: var(--font-family-display);
appearance: none;
background: var(--color-accent);
color: var(--color-background);
Expand Down Expand Up @@ -196,6 +201,7 @@ header {

.title {
display: block;
font-family: var(--font-family-display);
font-weight: 700;
font-size: 1.2rem;
margin-bottom: 0.5rem;
Expand Down