generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 430
Expand file tree
/
Copy pathstyle.css
More file actions
42 lines (41 loc) · 870 Bytes
/
style.css
File metadata and controls
42 lines (41 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
:root {
--paper: oklch(7 0 0);
--ink: color-mix(in oklab, var(--color) 5%, black);
--font: 100%/1.5 system-ui;
--space: clamp(6px, 6px + 2vw, 15px);
--line: 1px solid;
--container: 1280px;
}
/* ====== Base Elements ======
General rules for basic HTML elements in any context */
body {
background: var(--paper);
color: var(--ink);
font: var(--font);
}
/* ====== Site Layout ======
Setting the overall rules for page regions
https://www.w3.org/WAI/tutorials/page-structure/regions/
*/
body {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
}
h1 {
text-align: center;
}
fieldset{
padding:var (--space);
max-width:100%;
}
input :invalid
{
border-color:red;
}
footer{
background-image: linear-gradient(to right, grey, lightgreen);
width:var(--container);
position: fixed;
bottom: 0;
text-align: center;
}