diff --git a/_includes/head.html b/_includes/head.html
index 44e0c47..8a7ec72 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -10,8 +10,8 @@
-
+
diff --git a/_includes/nav.html b/_includes/nav.html
index bdad185..18d7cf0 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -9,7 +9,23 @@
{% endunless %}
-
清华大学开源软件镜像站
+
+
+
+
+ 清华大学开源软件镜像站
diff --git a/_includes/status-pic.html b/_includes/status-pic.html
new file mode 100644
index 0000000..c6fd098
--- /dev/null
+++ b/_includes/status-pic.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/static/css/_bootstrap-mod.scss b/static/css/_bootstrap-mod.scss
index 3876abd..b994e2f 100644
--- a/static/css/_bootstrap-mod.scss
+++ b/static/css/_bootstrap-mod.scss
@@ -73,6 +73,9 @@ code{
color: $color_secondary;
@include dark{
color: $color_secondary_dark;
+ &:hover {
+ color: #fff;
+ }
}
}
@@ -146,4 +149,27 @@ code{
.popover.left > .arrow:after {
border-left-color: #282828;
}
+ .modal-content {
+ background-color: $color_bg_dark;
+ border: 1px solid rgba(255, 255, 255, .2);
+ }
+ .close {
+ color: $color_secondary_dark;
+ text-shadow: 0 1px 0 $color_bg_dark;
+ &:hover, &:focus{
+ color: #fff;
+ }
+ }
+ .nav-tabs > li > a:hover {
+ background-color: $color_bg_dark;
+ }
+ .nav-tabs > li.active > a,
+ .nav-tabs > li.active > a:hover,
+ .nav-tabs > li.active > a:focus {
+ color: $color_secondary_dark;
+ background-color: $color_bg_dark;
+ }
+ .thumbnail {
+ background-color: $color_bg_dark;
+ }
}
diff --git a/static/css/_structure.scss b/static/css/_structure.scss
index 3121610..90a0ff1 100644
--- a/static/css/_structure.scss
+++ b/static/css/_structure.scss
@@ -57,11 +57,11 @@ a {
padding: 0;
margin: 0;
text-decoration: none;
- -webkit-transition: background-color .4s linear, color .4s linear;
- -moz-transition: background-color .4s linear, color .4s linear;
- -o-transition: background-color .4s linear, color .4s linear;
- -ms-transition: background-color .4s linear, color .4s linear;
- transition: background-color .4s linear, color .4s linear;
+ -webkit-transition: background-color .4s linear, color .4s linear, border-color .4s linear;
+ -moz-transition: background-color .4s linear, color .4s linea, border-color .4s linearr;
+ -o-transition: background-color .4s linear, color .4s linear, border-color .4s linear;
+ -ms-transition: background-color .4s linear, color .4s linear, border-color .4s linear;
+ transition: background-color .4s linear, color .4s linear, border-color .4s linear;
}
a:hover, a:focus {
diff --git a/static/css/style.scss b/static/css/style.scss
index c8a5f1f..8bee3e4 100644
--- a/static/css/style.scss
+++ b/static/css/style.scss
@@ -22,7 +22,7 @@ $color_primary_dark: $color_thu_purple_dark;
$color_primary_light: #d8aff6;
$color_primary_rgb: 92,48,125;
$color_secondary: #384452;
-$color_secondary_dark: #ffffff;
+$color_secondary_dark: #ddd;
$color_link: #088acb;
$color_link_dark: #65A9CB;
$color_link_hover: #62bbe7;
@@ -104,6 +104,11 @@ body {
background-color: #0F3A4C;
}
}
+.sk-wave .sk-rect {
+ @include dark{
+ background-color: $color_secondary_dark;
+ }
+}
#mirrors {
tbody {
diff --git a/static/img/logo-small-dark.png b/static/img/logo-small-dark.png
new file mode 100644
index 0000000..92f2d80
Binary files /dev/null and b/static/img/logo-small-dark.png differ
diff --git a/static/img/logo-small-dark@2x.png b/static/img/logo-small-dark@2x.png
new file mode 100644
index 0000000..eff52e9
Binary files /dev/null and b/static/img/logo-small-dark@2x.png differ
diff --git a/static/img/logo-small-dark@3x.png b/static/img/logo-small-dark@3x.png
new file mode 100644
index 0000000..3da8450
Binary files /dev/null and b/static/img/logo-small-dark@3x.png differ
diff --git a/static/img/logo-small-dark@4x.png b/static/img/logo-small-dark@4x.png
new file mode 100644
index 0000000..3c78435
Binary files /dev/null and b/static/img/logo-small-dark@4x.png differ
diff --git a/status.html b/status.html
index 021c099..0961cb1 100644
--- a/status.html
+++ b/status.html
@@ -12,16 +12,8 @@ permalink: /status/
# 服务器监控
# 网络流量
-
-
-

-
-
-
-
-

-
-
+ {% include status-pic.html name="service_traffic_IPv4" %}
+ {% include status-pic.html name="service_traffic_IPv6" %}
# 磁盘状态
@@ -32,29 +24,13 @@ permalink: /status/
-