forked from rizalalfadlil/css-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (72 loc) · 1.1 KB
/
Copy pathstyle.css
File metadata and controls
74 lines (72 loc) · 1.1 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
:root {
--gap: 10px;
--radius: 0;
}
body {
font-family: "quicksand";
height: 100vh;
}
.box {
margin-top: var(--gap);
border: 1px solid black;
padding: 16px;
border-radius: var(--radius);
box-shadow: 2px 2px;
}
.container {
gap: var(--gap);
width: 100%;
}
main {
gap: var(--gap);
}
.card {
.image {
border-radius: var(--radius);
border: 1px solid black;
width: 100%;
aspect-ratio: 1/1;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-image: url(https://placehold.co/1x1);
}
}
header {
height: 10%;
padding: 0 2% !important;
ul {
gap: 20px;
}
}
footer {
padding: 20px !important;
}
ul {
list-style-type: none;
list-style-position: outside;
padding-left: 0;
}
ol {
padding-left: 0;
list-style-position: inside;
}
.right {
width: 20%;
}
.left {
width: 20%;
gap: var(--gap);
span {
display: flex;
align-items: center;
gap: var(--gap);
border-radius: var(--radius);
height: fit-content;
padding: 10px;
border: 1px solid black;
}
}
footer {
height: 10%;
}