debut projet
This commit is contained in:
52
my-library/src/styles/global.css
Normal file
52
my-library/src/styles/global.css
Normal file
@@ -0,0 +1,52 @@
|
||||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
:root {
|
||||
--bg: #0d0b08;
|
||||
--bg-raised: #111009;
|
||||
--bg-card: #0f0d0a;
|
||||
--gold: #c9a84c;
|
||||
--gold-dim: rgba(201, 168, 76, 0.45);
|
||||
--gold-faint:rgba(201, 168, 76, 0.1);
|
||||
--parchment: #f0e6d0;
|
||||
--text: #e8dcc8;
|
||||
--text-muted:rgba(232, 220, 200, 0.45);
|
||||
--text-dim: rgba(232, 220, 200, 0.25);
|
||||
--rust: #c05a2a;
|
||||
--rust-dim: rgba(192, 90, 42, 0.4);
|
||||
--border: rgba(180, 150, 80, 0.15);
|
||||
--border-hi: rgba(180, 150, 80, 0.3);
|
||||
--font-title:'Cinzel', 'Palatino Linotype', Georgia, serif;
|
||||
--font-body: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
|
||||
}
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
body {
|
||||
background-color: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: var(--font-body);
|
||||
font-size: 18px;
|
||||
line-height: 1.7;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
font-family: var(--font-title);
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
font-family: var(--font-title);
|
||||
border: none;
|
||||
outline: none;
|
||||
background: none;
|
||||
}
|
||||
Reference in New Issue
Block a user