-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.css
93 lines (78 loc) · 1.68 KB
/
common.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
83
84
85
86
87
88
89
90
91
92
93
/* Site Stylesheet
1. Global Styles
2. Home Page
3. Back Button
4. Image Gallery
5. SimpleLightbox Library
---------------------------------------- */
/* 1. Global Styles
---------------------------------------- */
* {
box-sizing: border-box;
}
body {
margin: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #fafafa;
color: #212121;
line-height: 1.5;
}
input {
padding: 8px;
font: inherit;
}
button {
padding: 8px 12px;
cursor: pointer;
}
/* 2. Home Page
---------------------------------------- */
.title {
text-align: center;
color: #10162f;
}
.tasks {
padding: 0;
list-style-type: none;
display: flex;
justify-content: center;
flex-wrap: wrap;
row-gap: 2rem;
column-gap: 1rem;
}
.tasks li a {
color: #10162f;
text-decoration: none;
font-weight: 700;
padding: 0.625rem 2rem;
background-color: #ffd300;
border-radius: 0.5rem;
transition: background-color 0.2s ease-in;
}
.tasks li a:hover {
background-color: #ffe20d;
}
/* 3. Back Button
---------------------------------------- */
.back-button {
display: flex;
align-items: center;
padding: 0.5rem 2rem 0.5rem 1.5rem;
background-color: #ffd300;
color: #10162f;
text-decoration: none;
font-weight: 700;
border-radius: 0.5rem;
width: fit-content;
transition: background-color 0.2s ease-in;
}
.back-button:hover {
background-color: #ffe20d;
}
/* 4. Image Gallery
---------------------------------------- */
/* 5. SimpleLightbox Library
---------------------------------------- */