Created
March 25, 2024 08:29
-
-
Save olygood/41b76bd6798c14ff12e032b930a08ee5 to your computer and use it in GitHub Desktop.
globals de nextjs
This file contains hidden or 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
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; | |
//COLORS----------------------------------- | |
:root { | |
--color-red: #ef7b7b; | |
--color-jellow: #fcf3ca; | |
--color-green: #c4eada; | |
/* --color-grey: #919190; */ | |
} | |
//RESET----------------------------------- | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
//format des Tailles de titres------------ | |
h1 { | |
font-size: 2.25rem; | |
line-height: 2.5rem; | |
} | |
h2 { | |
font-size: 1.875rem; | |
line-height: 2.25rem; | |
} | |
h3 { | |
font-size: 1.5rem; | |
line-height: 2rem; | |
} | |
h4 { | |
font-size: 1.25rem; | |
line-height: 1.75rem; | |
} | |
h5 { | |
font-size: 1.125rem; | |
line-height: 1.75rem; | |
} | |
//Fonts----------------------------------- | |
@font-face { | |
font-family: "Raleway-Regular"; | |
src: url("/fonts/raleway/Raleway-Regular.ttf") format("truetype"); | |
} | |
@font-face { | |
font-family: "Raleway-Light"; | |
src: url("/fonts/raleway/Raleway-Light.ttf") format("truetype"); | |
} | |
@font-face { | |
font-family: "Raleway-ExtraLight"; | |
src: url("/fonts/raleway/Raleway-ExtraLight.ttf") format("truetype"); | |
} | |
@font-face { | |
font-family: "Raleway-ThinItalic"; | |
src: url("/fonts/raleway/Raleway-ThinItalic.ttf") format("truetype"); | |
} | |
@font-face { | |
font-family: "Raleway-Thin"; | |
src: url("/fonts/raleway/Raleway-Thin.ttf") format("truetype"); | |
} | |
.text-thinItalic { | |
font-family: "Raleway-ThinItalic", sans-serif; | |
} | |
.text-extraLight { | |
font-family: "Raleway-ExtraLight", sans-serif; | |
} | |
.text-thin { | |
font-family: "Raleway-Thin", sans-serif; | |
} | |
.text-regular { | |
font-family: "Raleway-Regular", sans-serif; | |
} | |
.text-light { | |
font-family: "Raleway-Light", sans-serif; | |
} | |
//---------------------------------------- | |
//SCROLL---------------------------------- | |
html { | |
overflow-y: scroll; | |
} | |
/* html::-webkit-scrollbar { | |
display: none; | |
} */ | |
//CONTAINER-------------------------------- | |
.myUniqueContainer_app { | |
/* border: 1px solid red; */ | |
background-color: #f5f5f5; | |
} | |
.container-index { | |
width: 100%; | |
height: auto; | |
display: flex; | |
flex-direction: column; | |
margin-bottom: 5px; | |
gap: 5px; | |
margin-bottom: 10px; | |
/* border: 1px solid red; */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment