forked from yousinix/portfolYOU
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_theme-dark.scss
84 lines (68 loc) · 1.26 KB
/
_theme-dark.scss
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
$dark-100: $dark;
$dark-300: #2c3032;
$dark-600: #242526;
$dark-900: #17191a;
[data-theme="dark"] {
body {
background-color: $dark-900;
color: $text-white;
}
// Code blocks & Syntax highlighting
@import "native.scss";
pre,
code.highlighter-rouge {
@extend .highlight;
border: none;
}
.gist {
filter: invert(90%) hue-rotate(180deg);
}
// Inputs
input {
background-color: $dark-300;
border-color: $dark-100;
color: $dark-900;
&::placeholder {
color: rgba($text-white, 0.64);
}
&:focus {
background-color: $dark-600;
color: $text-white;
}
}
// Cards
.card {
background-color: $dark-600;
}
.card.border {
.card-footer {
background-color: rgba(0, 0, 0, 0.1);
}
}
// Tables
table:not(.highlight) {
td {
border-color: $dark-600;
}
tr:nth-child(even) {
background-color: $dark;
}
}
// Lists
.list-group-item-action {
background-color: $dark-600;
color: $text-white;
&:hover,
&:focus {
background-color: darken($color: $dark-600, $amount: 3);
}
}
// Post
.post footer {
text-decoration: none;
}
// Timeline
.timeline-body .timeline-item:after{
background-color: $dark-900;
}
}