-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (87 loc) · 1.54 KB
/
style.css
File metadata and controls
91 lines (87 loc) · 1.54 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*
===============
Global Styles
===============
*/
:root {
--clr-bcg: #fff;
--clr-font: #282c35;
--clr-primary: #320e79;
--clr-grey: #6b7380;
}
.dark-theme {
--clr-bcg: #030303;
--clr-font: #e7ebf5;
--clr-primary: #3eddf3;
--clr-grey: #b1b3b6;
}
*,
::after,
::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
background: var(--clr-bcg);
color: var(--clr-font);
line-height: 1.5;
font-size: 0.875rem;
transition: all 0.3s linear;
}
/*
===============
Navbar
===============
*/
.nav-center {
width: 90vw;
max-width: 600px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 0;
}
.nav-center span {
font-size: 2.5rem;
text-transform: capitalize;
letter-spacing: 2px;
}
.btn {
background: var(--clr-primary);
color: var(--clr-bcg);
padding: 0.25rem 0.5rem;
border-radius: 5px;
border-color: transparent;
text-transform: capitalize;
transition: all 0.3s linear;
font-weight: bold;
letter-spacing: 2px;
cursor: pointer;
}
.articles {
padding: 5rem 0;
width: 90vw;
max-width: 600px;
margin: 0 auto;
}
.post {
margin-bottom: 3rem;
}
.post h2 {
color: var(--clr-primary);
text-transform: capitalize;
letter-spacing: 2px;
font-size: 1.75rem;
}
.post-info {
margin-bottom: 0.75rem;
font-style: italic;
color: var(--clr-grey);
}
.post-info span {
margin-right: 0.5rem;
}