This commit is contained in:
Van
2018-12-17 16:25:13 +08:00
parent 8700436fc0
commit 83f3a39cbc
13 changed files with 213 additions and 71 deletions

View File

@@ -16,6 +16,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/*
* icon font
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.2.0.0, Dec 17, 2018
*/
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?oyqnlj');
@@ -108,4 +114,8 @@
.icon__rss:before {
content: "\e901";
}
.icon__more:before {
content: "\e902";
}

View File

@@ -20,7 +20,7 @@
* skin style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.3.1.1, Nov 15, 2018
* @version 0.4.0.0, Dec 17, 2018
*/
/*
* Symphony - A modern community (forum/BBS/SNS/blog) platform written in Java.
@@ -657,6 +657,12 @@ blockquote {
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/*
* icon font
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.2.0.0, Dec 17, 2018
*/
@font-face {
font-family: 'icomoon';
src: url("fonts/icomoon.eot?oyqnlj");
@@ -728,6 +734,9 @@ blockquote {
.icon__rss:before {
content: "\e901"; }
.icon__more:before {
content: "\e902"; }
body {
cursor: url(../images/cursor.cur), url(../images/cursor.cur), auto; }
@@ -884,7 +893,10 @@ a {
.side {
width: 280px;
min-width: 280px;
margin-left: 30px; }
margin-left: 30px;
border-radius: 5px; }
.side::-webkit-scrollbar {
display: none; }
.side__btn {
background-color: transparent;
border: 0;
@@ -1152,9 +1164,18 @@ a {
.b3-solo-list-h5 a {
padding-left: 75px !important; }
.article__relevant {
margin-bottom: 30px; }
.article__relevant .module {
height: 100%;
background-color: rgba(255, 255, 255, 0.8);
margin-bottom: 0; }
@media (max-width: 768px) {
.header__nav {
.mobile__hidden {
display: none; }
.mobile__hidden.fn__none {
display: block; }
.main {
display: block;
margin: 15px;
@@ -1208,12 +1229,15 @@ a {
margin: 0 5px 0 0; }
.header__m a.current {
color: #b94a48; }
.header__m .icon__more,
.header__m .icon__list {
position: absolute;
top: -35px;
right: 15px;
font-size: 20px;
color: #fff; }
.header__m .icon__list {
right: 50px; }
.header__m .module__list {
display: none; }
.header__m .module__list li {
@@ -1227,4 +1251,12 @@ a {
.comments__content {
padding: 15px; }
.content-reset {
font-size: 14px; } }
font-size: 14px; }
.article__relevant {
display: block;
margin-bottom: 0; }
.article__relevant .module {
margin-bottom: 15px; }
.article__near a {
display: block;
float: none; } }

File diff suppressed because one or more lines are too long

View File

@@ -19,7 +19,7 @@
* skin style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.3.1.1, Nov 15, 2018
* @version 0.4.0.0, Dec 17, 2018
*/
@import "../../../scss/reset";
@import "../../../scss/reset-content";
@@ -263,6 +263,11 @@ a {
width: 280px;
min-width: 280px;
margin-left: 30px;
border-radius: 5px;
&::-webkit-scrollbar {
display: none;
}
&__btn {
background-color: transparent;
@@ -637,9 +642,21 @@ a {
}
}
.article__relevant {
margin-bottom: 30px;
.module {
height: 100%;
background-color: rgba(255, 255, 255, 0.8);
margin-bottom: 0;
}
}
@media (max-width: 768px) {
.header__nav {
.mobile__hidden {
display: none;
&.fn__none {
display: block;
}
}
.main {
@@ -727,6 +744,7 @@ a {
color: #b94a48;
}
.icon__more,
.icon__list {
position: absolute;
top: -35px;
@@ -735,6 +753,10 @@ a {
color: #fff;
}
.icon__list {
right: 50px;
}
.module__list {
display: none;
@@ -761,4 +783,17 @@ a {
.content-reset {
font-size: 14px;
}
.article__relevant {
display: block;
margin-bottom: 0;
.module {
margin-bottom: 15px;
}
}
.article__near a {
display: block;
float: none;
}
}

Binary file not shown.

View File

@@ -9,6 +9,7 @@
<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
<glyph unicode="&#xe900;" glyph-name="views" d="M512 768c-282.784 0-512-320-512-320s229.216-320 512-320 512 320 512 320-229.216 320-512 320zM512 256c-106.016 0-192 85.984-192 192s85.984 192 192 192 192-85.984 192-192-85.984-192-192-192zM512 576c-70.688 0-128-57.312-128-128s57.312-128 128-128 128 57.312 128 128-57.312 128-128 128z" />
<glyph unicode="&#xe901;" glyph-name="rss" d="M136.294 209.070c-75.196 0-136.292-61.334-136.292-136.076 0-75.154 61.1-135.802 136.292-135.802 75.466 0 136.494 60.648 136.494 135.802-0.002 74.742-61.024 136.076-136.494 136.076zM0.156 612.070v-196.258c127.784 0 247.958-49.972 338.458-140.512 90.384-90.318 140.282-211.036 140.282-339.3h197.122c-0.002 372.82-303.282 676.070-675.862 676.070zM0.388 960v-196.356c455.782 0 826.756-371.334 826.756-827.644h196.856c0 564.47-459.254 1024-1023.612 1024z" />
<glyph unicode="&#xe902;" glyph-name="more" d="M128 332.8c-70.692 0-128 57.307-128 128s57.307 128 128 128v0c70.692 0 128-57.307 128-128s-57.307-128-128-128v0zM512 332.8c-70.692 0-128 57.307-128 128s57.307 128 128 128v0c70.692 0 128-57.307 128-128s-57.307-128-128-128v0zM896 332.8c-70.692 0-128 57.307-128 128s57.307 128 128 128v0c70.692 0 128-57.307 128-128s-57.307-128-128-128v0z" />
<glyph unicode="&#xe973;" glyph-name="register" d="M384 224c0 151.234 95.874 280.486 230.032 330.2 16.28 36.538 25.968 77.164 25.968 117.8 0 159.058 0 288-192 288s-192-128.942-192-288c0-99.060 57.502-198.104 128-237.832v-52.78c-217.102-17.748-384-124.42-384-253.388h397.306c-8.664 30.53-13.306 62.732-13.306 96zM736 512c-159.058 0-288-128.942-288-288s128.942-288 288-288c159.056 0 288 128.942 288 288s-128.942 288-288 288zM896 192h-128v-128h-64v128h-128v64h128v128h64v-128h128v-64z" />
<glyph unicode="&#xe994;" glyph-name="setting" d="M933.79 349.75c-53.726 93.054-21.416 212.304 72.152 266.488l-100.626 174.292c-28.75-16.854-62.176-26.518-97.846-26.518-107.536 0-194.708 87.746-194.708 195.99h-201.258c0.266-33.41-8.074-67.282-25.958-98.252-53.724-93.056-173.156-124.702-266.862-70.758l-100.624-174.292c28.97-16.472 54.050-40.588 71.886-71.478 53.638-92.908 21.512-211.92-71.708-266.224l100.626-174.292c28.65 16.696 61.916 26.254 97.4 26.254 107.196 0 194.144-87.192 194.7-194.958h201.254c-0.086 33.074 8.272 66.57 25.966 97.218 53.636 92.906 172.776 124.594 266.414 71.012l100.626 174.29c-28.78 16.466-53.692 40.498-71.434 71.228zM512 240.668c-114.508 0-207.336 92.824-207.336 207.334 0 114.508 92.826 207.334 207.336 207.334 114.508 0 207.332-92.826 207.332-207.334-0.002-114.51-92.824-207.334-207.332-207.334z" />
<glyph unicode="&#xe9bc;" glyph-name="category" d="M976 192h-16v208c0 61.756-50.242 112-112 112h-272v128h16c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-160c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h16v-128h-272c-61.756 0-112-50.244-112-112v-208h-16c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-16v192h256v-192h-16c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-16v192h256v-192h-16c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48zM192 0h-128v128h128v-128zM576 0h-128v128h128v-128zM448 704v128h128v-128h-128zM960 0h-128v128h128v-128z" />

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long