|
@@ -144,11 +144,15 @@ figcaption h4 {
|
|
|
pre,
|
|
|
code {
|
|
|
font-family: '{{ .Get "mono_font" }}', monospace;
|
|
|
+ color: #c7254e;
|
|
|
+ background-color: #f9f2f4;
|
|
|
}
|
|
|
|
|
|
pre {
|
|
|
margin: 0 0 1rem 0;
|
|
|
overflow: auto;
|
|
|
+ background-color: rgb(248, 248, 248); /* Match default highlight theme. */
|
|
|
+ border-color: rgb(248, 248, 248);
|
|
|
}
|
|
|
|
|
|
hr {
|
|
@@ -557,6 +561,12 @@ article {
|
|
|
padding-right: 0;
|
|
|
}
|
|
|
|
|
|
+.article-style td img,
|
|
|
+.article-style td video {
|
|
|
+ margin-top: 0;
|
|
|
+ margin-bottom: 0;
|
|
|
+}
|
|
|
+
|
|
|
.article-style figure {
|
|
|
margin-top: 60px;
|
|
|
margin-bottom: 60px;
|
|
@@ -1295,3 +1305,111 @@ div.alert a:hover {
|
|
|
background-color: #f44336; /* Material Red500 */
|
|
|
border-color: #ebccd1;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+/*************************************************
|
|
|
+ * Dark themed components
|
|
|
+ **************************************************/
|
|
|
+
|
|
|
+body.dark {
|
|
|
+ background-color: rgb(40, 42, 54);
|
|
|
+ color: rgb(248, 248, 242);
|
|
|
+}
|
|
|
+
|
|
|
+.dark h1,
|
|
|
+.dark h2,
|
|
|
+.dark h3,
|
|
|
+.dark h4,
|
|
|
+.dark h5,
|
|
|
+.dark h6 {
|
|
|
+ color: rgb(152, 166, 173);
|
|
|
+}
|
|
|
+
|
|
|
+.dark pre,
|
|
|
+.dark code {
|
|
|
+ color: rgb(139, 233, 253);
|
|
|
+ background-color: rgb(68, 71, 90);
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+.dark pre {
|
|
|
+ background-color: rgb(68, 71, 90);
|
|
|
+ border-color: rgb(68, 71, 90);
|
|
|
+}
|
|
|
+
|
|
|
+.dark ul.share li a {
|
|
|
+ background-color: {{ .Get "primary" }};
|
|
|
+}
|
|
|
+
|
|
|
+.dark table table {
|
|
|
+ background-color: rgb(40, 42, 54);
|
|
|
+}
|
|
|
+
|
|
|
+/* Table Striped */
|
|
|
+.dark table > tbody > tr:nth-child(odd) > td,
|
|
|
+.dark table > tbody > tr:nth-child(odd) > th {
|
|
|
+ background-color: rgb(50, 52, 64);
|
|
|
+}
|
|
|
+
|
|
|
+/* Table Hover */
|
|
|
+.dark table > tbody > tr:hover > td,
|
|
|
+.dark table > tbody > tr:hover > th {
|
|
|
+ background-color: rgb(60, 62, 74);
|
|
|
+}
|
|
|
+
|
|
|
+.dark .article-title a {
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+
|
|
|
+.dark #profile .portrait-title h2 {
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+
|
|
|
+.dark #profile .portrait-title h3 {
|
|
|
+ color: rgba(255, 255, 255, 0.54);
|
|
|
+}
|
|
|
+
|
|
|
+.dark ul.ul-edu li .description p.institution {
|
|
|
+ color: rgba(255, 255, 255, 0.6);
|
|
|
+}
|
|
|
+
|
|
|
+.dark .pub-icon {
|
|
|
+ color: rgba(255, 255, 255, 0.54);
|
|
|
+}
|
|
|
+
|
|
|
+.dark .talk-metadata {
|
|
|
+ color: rgba(255, 255, 255, 0.54);
|
|
|
+}
|
|
|
+
|
|
|
+.dark .pager li > a, .pager li > span {
|
|
|
+ background-color: rgb(40, 42, 54);
|
|
|
+ border: 1px solid #ddd;
|
|
|
+}
|
|
|
+
|
|
|
+.dark .card {
|
|
|
+ background: rgb(10, 12, 24);
|
|
|
+ box-shadow: 0 2px 4px 0 rgba(255, 255, 255, 0.2);
|
|
|
+}
|
|
|
+
|
|
|
+.dark .card h4 a {
|
|
|
+ color: {{ .Get "primary" }};
|
|
|
+ border-bottom: solid 1px transparent;
|
|
|
+}
|
|
|
+
|
|
|
+.dark .card .card-image.hover-overlay::before {
|
|
|
+ background: #666;
|
|
|
+}
|
|
|
+
|
|
|
+.dark .card .card-image.hover-overlay::after {
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+
|
|
|
+.dark .navbar-default {
|
|
|
+ box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
|
|
|
+ border-color: #070707;
|
|
|
+}
|
|
|
+
|
|
|
+.dark select {
|
|
|
+ background: rgb(40, 42, 54);
|
|
|
+ color: rgb(248, 248, 242);
|
|
|
+}
|