-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
83 lines (77 loc) · 1.27 KB
/
index.css
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
75
76
77
78
79
80
81
82
:root[data-theme="light"] {
--text: #333;
--background: #fdfdfd;
--primary: #2ecc71;
--secondary: #e9e9e9;
--accent: #9b59b6;
}
:root[data-theme="dark"] {
--text: #dfddc1;
--background: #233736;
--primary: #226f54;
--secondary: #87c38f;
--accent: #da2c38;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
width: initial;
min-height: initial;
}
body {
/* padding: 1rem ; */
background-color: var(--background);
color: var(--text);
font-family: "Poppins", sans-serif;
font-weight: 400;
font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Poppins", sans-serif;
font-weight: 700;
font-style: normal;
}
a {
color: var(--background);
}
nav {
position: fixed;
top: 1rem;
right: 1rem;
display: flex;
flex-direction: column;
background-color: var(--background);
z-index: 1;
border-radius: 1rem;
}
button {
background-color: var(--accent);
color: var(--text);
border: none;
padding: 0.5rem 1rem;
}
input {
background-color: var(--background);
color: var(--text);
border: none;
padding: 0.5rem 1rem;
}
img {
max-width: 100%;
height: auto;
}
.image-container img:first-child {
/*Make book image same width and height*/
float: left;
width: 100%;
height: 10rem;
background-size: cover;
}