summaryrefslogtreecommitdiffstats
path: root/assets/css/main/page.css
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2019-08-10 16:49:07 +0800
committerGitHub <noreply@github.com>2019-08-10 16:49:07 +0800
commit01d183d2be8e56509929842f56bf313f2637f578 (patch)
tree2481998e1fec848058b97b78e6ea8280aa870b68 /assets/css/main/page.css
parente70a3aa7486fd4b759918893476dff1c4e6147ef (diff)
规范代码结构、优化样式、控制台输出版权信息
Diffstat (limited to 'assets/css/main/page.css')
-rw-r--r--assets/css/main/page.css139
1 files changed, 139 insertions, 0 deletions
diff --git a/assets/css/main/page.css b/assets/css/main/page.css
new file mode 100644
index 0000000..e288862
--- /dev/null
+++ b/assets/css/main/page.css
@@ -0,0 +1,139 @@
+@charset 'utf-8';
+/*
+ * Style of Some parts of custom pages
+ * Author: Eltrac
+ * License: MIT
+ */
+/* About Page */
+.about-avatar img {
+ margin: 0 auto;
+ display: block;
+ padding: 2px;
+ border: 3px solid #ddd;
+ border-radius: 100%;
+ height: 200px;
+ width: 200px;
+}
+.about-name {
+ text-align: center;
+ font-size: 35px;
+ margin: 20px 0;
+ margin-bottom: 0;
+}
+.about-social {
+ text-align: center;
+ margin-top: 15px;
+}
+.about-social a {
+ transform: scale(1.2);
+ border-radius: 100%;
+ padding: 5px 10px;
+}
+.about-social a:hover {
+ background: rgb(246,246,246);
+}
+
+/* Tag List */
+.tags-list {
+ margin-left: -30px
+}
+
+.tags-item a {
+ background: rgb(240,240,240);
+ border-radius: 80px;
+ color: rgb(60,60,60);
+ padding: 6px 14px;
+ font-size: 15px;
+ transition: all .2s;
+ margin: 5px 3px;
+}
+.tags-item a:hover {
+ background: rgb(230,230,230);
+}
+.tags-item {
+ position: relative;
+ display: inline-block
+}
+/* Archives */
+.archives-list {
+ list-style-type: none;
+ margin-left: -40px
+}
+.archives-list a {
+ display: block;
+ border-radius: 3px;
+ transition: background .2s;
+ padding: 6px 10px
+}
+.archives-list a:hover {
+ background: #e6e6e6
+}
+.archives-date {
+ color: gray;
+ letter-spacing: 0;
+}
+/* Links */
+.links-box {
+ margin: 10px;
+ margin-left: 0;
+ margin-top: 30px
+}
+.links-box h2 {
+ text-align: Center;
+ border-bottom: 1px solid #e6e6fa;
+ padding-bottom: 20px;
+ font-weight: 700;
+ color: black;
+}
+.links-link {
+ color: black!important;
+}
+.links-link:hover {
+ opacity: 1!important
+}
+.links-item {
+ background: #fff;
+ box-shadow: 0 3px 1px #ccc;
+ -webkit-box-shadow: 0 1px 3px #ccc;
+ -moz-box-shadow: 0 3px 1px #ccc;
+ overflow: hidden;
+ transition: all .2s!important;
+ margin-bottom: 5px;
+ border-radius: 3px
+}
+.links-item:hover {
+ transform: scale(1.05);
+ box-shadow: 0 6px 28px #ccc;
+ -webkit-box-shadow: 0 6px 28px #ccc;
+ -moz-box-shadow: 0 6px 28px #ccc;
+ transform: translateY(-6px)
+}
+.link-box a {
+ color: #000
+}
+.links-title {
+ text-align: center
+}
+.links-title h4 {
+ font-weight: 700;
+ letter-spacing: 2px;
+ white-space: nowrap;
+ font-size: 15px;
+ margin: 14px 0
+}
+.links-container {
+ padding: 6px;
+}
+/* Archive */
+.archive-title {
+ text-align: center
+}
+.arvchive-item-excerpt {
+ color: gray;
+ font-size: 17px;
+ margin-top: 0
+}
+.archive-item-title {
+ font-size: 25px;
+ margin-bottom: 5px
+} \ No newline at end of file