-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathstyle_indv.css
168 lines (142 loc) · 3.07 KB
/
style_indv.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
:root{
--bgpaper: url(background/bgdark.png);
--font-color: #d9d9d9;
--link-color: #8dcfea;
--acc-color: #485058;
--acc-color-darker: #35393d;
--navlink-color: #d9d9d9;
--accsel-color: #729eac;
--tab-color: #485058;
}
[data-theme="dark"] {
--bgpaper: url(background/bglight.png);
--font-color: #424242;
--link-color: #0072AB;
--acc-color: #333333;
--acc-color-darker: #d8d8d8;
--navlink-color: #d9d9d9;
--accsel-color: #6d6d6d;
--tab-color: #bfe7bb;
}
/* 1. Enable smooth scrolling */
html {
scroll-behavior: smooth;
}
/* 2. Make nav sticky */
main > nav {
position: sticky;
top: 2rem;
align-self: start;
}
a {
color: var(--link-color);
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
blockquote {
border-left: 4px solid #dfe2e5;
padding: 0 15px;
color: var(--font-color);
}
blockquote blockquote {
padding-right: 0;
}
/* 3. ScrollSpy active styles (see JS tab for activation) */
.section-nav li.active > a {
color: var(--acc-color);
font-weight: 500;
}
/* Sidebar Navigation */
.section-nav {
padding-left: 0;
}
.section-nav a {
text-decoration: none;
display: block;
padding: .125rem 0;
color: var(--accsel-color);
transition: all 50ms ease-in-out; /* 💡 This small transition makes setting of the active state smooth */
}
.section-nav a:hover,
.section-nav a:focus {
color: #666;
}
/** Poor man's reset **/
* {
box-sizing: border-box;
}
body{
font-family: "Open Sans","Clear Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
background-image: var(--bgpaper);
color: var(--font-color);
line-height: 1.2;
}
ul, ol {
list-style: none;
margin: 0;
padding: 0;
}
li {
margin-left: 1rem;
}
h1 {
font-weight: 300;
}
/** page layout **/
main {
display: grid;
grid-template-columns: 1fr 15em;
max-width: 100em;
width: 90%;
margin: 0 auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
position: relative;
margin-top: 1rem;
margin-bottom: 1rem;
font-weight: bold;
line-height: 1.4;
cursor: text;
}
h1 {
padding-bottom: .3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom-style: none;
}
#myInput {
width: 90%; /* Full-width */
font-size: 16px; /* Increase font-size */
padding: 12px 20px 12px 40px; /* Add some padding */
border: 1px solid #ddd; /* Add a grey border */
margin-bottom: 12px; /* Add some space below the input */
}
#myTable {
border-collapse: collapse; /* Collapse borders */
width: 90%; /* Full-width */
border: 1px solid #ddd; /* Add a grey border */
font-size: 18px; /* Increase font-size */
line-height: 1.6;
}
#myTable th, #myTable td {
text-align: left; /* Left-align text */
padding: 12px; /* Add padding */
}
#myTable tr {
/* Add a bottom border to all table rows */
border-bottom: 1px solid #ddd;
}
#myTable tr.header, #myTable tr:hover {
/* Add a grey background color to the table header and on hover */
background-color: var(--acc-color);
}
#divfeed{
width: 800px;
}