-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from RustLangES/development
feat: update global styles and add clickable component
- Loading branch information
Showing
4 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<style> | ||
.clickable { | ||
@apply inline-flex flex-col p-2 shadow-md border-black border-[2px]; | ||
box-shadow: 5px 5px 1px 1px #000; | ||
} | ||
</style> | ||
|
||
<div class="clickable"> | ||
<slot /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,52 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@import url("https://fonts.cdnfonts.com/css/work-sans"); | ||
@import url("https://fonts.cdnfonts.com/css/alfa-slab-one"); | ||
|
||
:root { | ||
--background: #fed7aa; | ||
--orange: #f97316; | ||
--black: #000; | ||
} | ||
|
||
body { | ||
background: var(--background); | ||
box-sizing: border-box; | ||
} | ||
|
||
* { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
h1 { | ||
@apply text-7xl font-normal; | ||
color: var(--orange); | ||
font-family: "Alfa Slab One", sans-serif; | ||
} | ||
|
||
h2 { | ||
@apply text-4xl font-normal; | ||
color: var(--black); | ||
font-family: "Alfa Slab One", sans-serif; | ||
} | ||
|
||
h3 { | ||
@apply text-4xl font-semibold; | ||
color: var(--black); | ||
font-family: "Work Sans", sans-serif; | ||
} | ||
|
||
h4 { | ||
@apply text-3xl font-light; | ||
color: var(--black); | ||
font-family: "Work Sans", sans-serif; | ||
} | ||
|
||
p { | ||
@apply text-lg font-normal; | ||
color: var(--black); | ||
font-family: "Work Sans", sans-serif; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters