hexo-theme-sukax
Version:
Modern, powerful and simple theme for Hexo
1,450 lines (1,203 loc) • 25.7 kB
CSS
/*!
* Hexo Theme Suka | style.css
* Author: SukkaW
* Link: https://github.com/SukkaW/hexo-theme-suka
* License: GPL-3.0
*/
/*
* Global
* Menu
* Icon
* Header
* Timeline
* Main Layout
* Post Entry
* Post
* Post Content: markdown css
* Footer
* Page: Archive
* Page: Tagscloud
* Page: Search
* Page: Link
*/
/**
* =========================================================
* ************ Global ************
* =========================================================
*/
body,
html {
overflow-x: hidden ;
-webkit-font-smoothing: antialiased;
}
/* Override the Spectre.css */
html a:focus,
html .btn:focus {
box-shadow: none ;
}
.card {
/* Remove card border */
border: none;
}
.timeline .timeline-item:last-child::before {
/* Fix timeline */
background: transparent;
}
/* Scrollbar */
html *::-webkit-scrollbar {
width: 6px;
height: 4px;
background: transparent;
}
@media (min-width: 1024px) {
html *::-webkit-scrollbar {
width: 8px;
height: 6px;
}
}
html *::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, .3);
}
.suka-devide-dot::after {
content: " · "
}
/**
* =========================================================
* ************ Menu ************
* =========================================================
*/
.share-menu {
text-align: left;
}
.dropdown a {
cursor: pointer;
}
/**
* =========================================================
* ************ Icon ************
* =========================================================
*/
/*! Spectre.css Icons v0.5.3 | MIT License | github.com/picturepan2/spectre */
.icon {
box-sizing: border-box;
display: inline-block;
font-size: inherit;
font-style: normal;
height: 1em;
position: relative;
text-indent: -9999px;
vertical-align: middle;
width: 1em;
}
.icon::before,
.icon::after {
display: block;
left: 50%;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
}
.icon.icon-2x {
font-size: 1.6rem;
}
.icon.icon-3x {
font-size: 2.4rem;
}
.icon.icon-4x {
font-size: 3.2rem;
}
.accordion .icon,
.btn .icon,
.toast .icon,
.menu .icon {
vertical-align: -10%;
}
.btn-lg .icon {
vertical-align: -15%;
}
.icon-arrow-down::before,
.icon-arrow-left::before,
.icon-arrow-right::before,
.icon-arrow-up::before,
.icon-downward::before,
.icon-back::before,
.icon-forward::before,
.icon-upward::before {
border: .1rem solid currentColor;
border-bottom: 0;
border-right: 0;
content: "";
height: .65em;
width: .65em;
}
.icon-arrow-down::before {
transform: translate(-50%, -75%) rotate(225deg);
}
.icon-arrow-left::before {
transform: translate(-25%, -50%) rotate(-45deg);
}
.icon-arrow-right::before {
transform: translate(-75%, -50%) rotate(135deg);
}
.icon-arrow-up::before {
transform: translate(-50%, -25%) rotate(45deg);
}
.icon-back::after,
.icon-forward::after {
background: currentColor;
content: "";
height: .1rem;
width: .8em;
}
.icon-downward::after,
.icon-upward::after {
background: currentColor;
content: "";
height: .8em;
width: .1rem;
}
.icon-back::after {
left: 55%;
}
.icon-back::before {
transform: translate(-50%, -50%) rotate(-45deg);
}
.icon-downward::after {
top: 45%;
}
.icon-downward::before {
transform: translate(-50%, -50%) rotate(-135deg);
}
.icon-forward::after {
left: 45%;
}
.icon-forward::before {
transform: translate(-50%, -50%) rotate(135deg);
}
.icon-upward::after {
top: 55%;
}
.icon-upward::before {
transform: translate(-50%, -50%) rotate(45deg);
}
/**
* =========================================================
* ************ Header ************
* =========================================================
*/
/* Only show on the screen width smaller than or equal to 960px. */
header {
padding: 3.6rem .4rem 1.8rem;
}
header a {
color: #50596c;
text-decoration: none;
}
header a:hover,
header a:focus,
header a:visited {
text-decoration: none;
color: #50596c;
}
header .divider {
margin-left: auto;
margin-right: auto;
padding: 0;
opacity: .5;
}
.header-title {
font-size: 1.2rem
}
.header-slogan {
font-size: .8rem
}
@media (min-width: 481px) {
header {
padding: 4.8rem .8rem 2.6rem;
}
.header-title {
font-size: 1.4rem
}
}
@media (min-width: 1025px) {
header {
padding: 4.8rem .8rem 3rem;
}
.header-title {
font-size: 1.3rem
}
}
.navbar-link {
padding: .35rem .4rem;
}
.page-title {
font-size: 1.2rem
}
/**
* =========================================================
* ************ Main Layout ************
* =========================================================
*/
/* Responsive */
.main-container {
padding: .4rem;
width: 100%;
margin-left: auto;
margin-right: auto;
}
@media screen and (min-width: 481px) {
.main-container {
max-width: 28.4rem;
padding-right: .5rem;
padding-left: .5rem;
}
}
@media screen and (min-width: 721px) {
.main-container {
max-width: 33.5rem;
padding-right: 1.6rem;
padding-left: 1.6rem;
}
}
@media screen and (min-width: 961px) {
.main-container {
max-width: 41.2rem;
}
}
@media screen and (min-width: 1335px) {
.main-container {
max-width: 42.9rem;
}
}
.post-stream-container {
width: 100%;
}
.pagination .page-item i {
vertical-align: -7.5% ;
}
.pagination .page-item a:hover {
color: #667189;
opacity: .85;
}
/**
* =========================================================
* ************ Post Entry ************
* =========================================================
*/
.post-entry.card {
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12);
margin: .8rem 0;
border-radius: 0;
position: relative;
min-width: 0;
word-wrap: break-word;
background-clip: border-box;
}
.post-entry .post-thumbnail {
width: 100%;
height: 100%;
min-height: 8rem;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
overflow: hidden;
}
@media (min-width: 961px) {
.post-entry .column-body {
order: -1;
}
.post-entry .post-thumbnail {
min-height: 6.5rem;
}
}
.post-entry a.card-title,
.post-entry a.card-title:hover,
.post-entry a.card-title:visited,
.post-entry a.card-title:focus {
color: #50596c;
opacity: 1;
text-decoration: none;
}
.post-entry .post-entry-info {
font-size: .75rem;
line-height: 1.6;
}
.post-entry .author-thumb,
.post-header-info .author-thumb {
width: 24px;
height: 24px;
float: left;
margin-right: 9px;
border-radius: 100%;
}
.post-entry .card-body {
padding-top: .6rem;
font-size: .75rem;
}
.post-entry .text-gray a {
color: #acb3c2 ;
}
.post-entry .text-gray a:hover {
color: #999 ;
}
.post-entry .card-footer {
padding: .4rem .8rem;
}
.post-entry .card-footer:last-child {
padding-bottom: .6rem;
}
/**
* =========================================================
* ************ Post ************
* =========================================================
*/
.post-container {
width: 100%;
margin-left: auto;
margin-right: auto;
padding-right: 0;
padding-left: 0;
}
@media screen and (min-width: 481px) {
.post-container {
padding-right: .5rem;
padding-left: .5rem;
max-width: calc(100vw - .5rem);
}
}
@media screen and (min-width: 721px) {
.post-container {
max-width: 41.4rem;
padding-right: 1rem;
padding-left: 1rem;
}
}
@media screen and (min-width: 961px) {
.post-container {
max-width: 36rem;
}
}
@media screen and (min-width: 1281px) {
.post-container {
max-width: 43rem;
}
}
#post-card.card {
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12);
}
#post-card .card-image {
display: flex;
box-sizing: border-box;
background-size: cover;
flex-grow: 1;
box-orient: horizontal;
box-direction: normal;
flex-direction: row;
align-items: flex-end;
background-repeat: repeat;
background-position: 50% 50%;
background-origin: padding-box;
background-attachment: scroll;
height: 12.36rem;
}
@media screen and (min-width: 481px) {
#post-card .card-image {
height: 13.6rem;
}
}
@media screen and (min-width: 721px) {
#post-card .card-image {
height: 14rem;
}
}
#post-card .card-item-container {
display: flex;
align-items: center;
}
#post-card .card-inner-cell {
width: 100%;
}
#post-card .card-header {
padding: .8rem 1.2rem 2rem;
border-bottom: .05rem solid #ddd;
}
#post-card .post-header-info {
margin-bottom: 0;
font-size: .75rem;
}
#post-card .post-header-info-left {
float: left;
line-height: 1.6;
}
#post-card .post-header-info-right {
float: right;
}
#post-card .post-header-info-right a {
text-decoration: none;
}
/* Post Tag/Category List */
.post-categories-list,
.post-tags-list {
padding: 0;
margin: 0;
font-weight: 400;
letter-spacing: 0;
font-size: .7rem;
line-height: 1.3;
}
a.post-categories-list-item,
a.post-tags-list-item {
display: inline-block;
font-size: .6rem;
border: 1px solid #c2c2c2;
color: #535d72;
border-radius: 3px;
padding: .1rem .3rem;
margin: .2rem .2rem 0 0;
text-align: center;
}
a.post-tags-list-item:hover,
a.post-tags-list-item:visited {
color: #535d72;
text-decoration: none
}
a.post-categories-list-item,
a.post-categories-list-item:hover,
a.post-categories-list-item:visited {
background-color: #c2c2c2;
color: #333 ;
text-decoration: none
}
a.category-link {
color: #acb3c2;
text-decoration: none;
}
/* Post TOC */
#post-toc {
position: relative;
z-index: 0;
max-width: 890px;
margin-right: auto ;
margin-left: auto ;
text-align: right;
line-height: .7rem;
font-size: .625rem;
}
#post-toc>ol {
margin-left: 2rem;
max-width: 8rem;
position: fixed;
z-index: 0;
top: 13.5rem;
display: inline-block;
text-align: left;
}
@media screen and (max-width: 960px) {
#post-toc {
display: none;
}
}
#post-toc ol {
list-style: none;
}
#post-toc .post-toc-child {
margin: .2rem 0 .2rem .5rem
}
#post-card .pagination {
font-size: .7rem;
margin: 0
}
/* Footer Info */
#post-card .post-footer-info {
text-align: center;
}
#post-card .post-license {
margin: 0 0 1rem;
padding: .5rem .8rem;
border-left: 3px solid #F44336;
background-color: #F5F5F5;
list-style: none;
word-break: break-all;
}
#post-card .post-expired-notify {
margin: 0 0 1rem;
padding: .5rem .8rem;
background: #ffffc0;
border-left: 3px solid #fff000;
list-style: none;
}
#post-card .card-footer.post-comment {
padding: 1.5rem;
background-color: #eee;
}
/**
* =========================================================
* ************ Post Content: markdown css ************
* =========================================================
*/
#post-card .card-body {
padding: 1.2rem 0;
margin: 0 auto;
max-width: 92%;
}
#post-content {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
line-height: 1.7;
font-size: .8rem;
word-wrap: break-word;
padding-top: 0;
padding-bottom: 1.8rem;
}
#post-content .octicon {
display: inline-block;
vertical-align: text-top;
fill: currentColor;
}
#post-content a:active,
#post-content a:hover {
outline-width: 0;
}
#post-content code,
#post-content .highlight span,
#post-content .highlight code,
#post-content pre {
font-family: Consolas, "Panic Sans", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Menlo, "Microsoft Yahei", monospace ;
/* Override Spectre.css font-family for zh-CN */
}
#post-content input {
margin: 0;
overflow: visible;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
#post-content [type="checkbox"] {
box-sizing: border-box;
padding: 0;
}
#post-content * {
box-sizing: border-box;
}
#post-content a {
background-color: transparent;
text-decoration: none;
}
#post-content a:hover {
text-decoration: underline;
}
#post-content strong {
font-weight: 600;
}
#post-content hr::before {
display: table;
content: "";
}
#post-content hr::after {
display: table;
clear: both;
content: "";
}
#post-content td,
#post-content th {
padding: 0;
}
/* H1-H6 */
#post-content h1 {
padding-bottom: 0.3em;
font-size: 2em;
border-bottom: 1px solid #eaecef;
}
#post-content h2 {
padding-bottom: 0.3em;
font-size: 1.5em;
border-bottom: 1px solid #eaecef;
}
#post-content h3 {
font-size: 1.25em;
}
#post-content h4 {
font-size: 1em;
}
#post-content h5 {
font-size: 0.875em;
}
#post-content h6 {
font-size: 0.85em;
color: #626569;
}
#post-content p {
margin-top: 0;
margin-bottom: 10px;
}
#post-content ol ol,
#post-content ul ol {
list-style-type: lower-roman;
}
#post-content ul ul ol,
#post-content ul ol ol,
#post-content ol ul ol,
#post-content ol ol ol {
list-style-type: lower-alpha;
}
#post-content dd {
margin-left: 0;
}
#post-content pre {
margin-top: 0;
margin-bottom: 0;
font-size: 12px;
word-wrap: normal;
}
#post-content .octicon {
vertical-align: text-bottom;
}
#post-content::before {
display: table;
content: "";
}
#post-content::after {
display: table;
clear: both;
content: "";
}
#post-content>*:first-child {
margin-top: 0 ;
}
#post-content>*:last-child {
margin-bottom: 0 ;
}
#post-content a:not([href]) {
color: inherit;
text-decoration: none;
}
#post-content .anchor {
float: left;
padding-right: 4px;
margin-left: -20px;
line-height: 1;
}
#post-content .anchor:focus {
outline: none;
}
#post-content p,
#post-content ul,
#post-content ol,
#post-content dl,
#post-content table,
#post-content pre {
margin-top: 0;
margin-bottom: 16px;
}
#post-content hr {
box-sizing: content-box;
height: .1em;
padding: 0;
overflow: hidden;
margin: .8rem 0;
background: transparent;
background-color: #e1e4e8;
border-bottom: 1px solid #dfe2e5;
border: 0;
}
#post-content blockquote {
margin: 16px 0;
padding: 0 1em;
color: #6a737d;
border-left: .25em solid #dfe2e5;
}
#post-content blockquote>:first-child {
margin-top: 0;
}
#post-content blockquote>:last-child {
margin-bottom: 0;
}
#post-content h1,
#post-content h2,
#post-content h3,
#post-content h4,
#post-content h5,
#post-content h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25;
}
#post-content h1 .octicon-link,
#post-content h2 .octicon-link,
#post-content h3 .octicon-link,
#post-content h4 .octicon-link,
#post-content h5 .octicon-link,
#post-content h6 .octicon-link {
color: #1b1f23;
vertical-align: middle;
visibility: hidden;
}
#post-content h1:hover .anchor,
#post-content h2:hover .anchor,
#post-content h3:hover .anchor,
#post-content h4:hover .anchor,
#post-content h5:hover .anchor,
#post-content h6:hover .anchor {
text-decoration: none;
}
#post-content h1:hover .anchor .octicon-link,
#post-content h2:hover .anchor .octicon-link,
#post-content h3:hover .anchor .octicon-link,
#post-content h4:hover .anchor .octicon-link,
#post-content h5:hover .anchor .octicon-link,
#post-content h6:hover .anchor .octicon-link {
visibility: visible;
}
#post-content ul {
list-style: disc;
}
#post-content ol {
list-style: decimal;
}
#post-content ul,
#post-content ol {
padding-left: .5rem;
margin-top: 0;
margin-bottom: 0;
margin-left: .7rem;
}
#post-content>ol,
#post-content>ul {
margin-bottom: 16px;
}
#post-content ul ul,
#post-content ul ol,
#post-content ol ol,
#post-content ol ul {
margin-top: 0;
margin-bottom: 0;
}
#post-content li {
word-wrap: break-word;
}
#post-content li>p {
margin-top: 16px;
}
#post-content li+li {
margin-top: 0.25em;
}
#post-content dl {
padding: 0;
}
#post-content dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: 600;
}
#post-content dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
#post-content table {
border-spacing: 0;
border-collapse: collapse;
display: block;
width: 100%;
overflow: auto;
}
#post-content table th {
font-weight: 600;
}
#post-content table th,
#post-content table td {
padding: 6px 13px;
border: 1px solid #dfe2e5;
}
#post-content table tr {
background-color: #fff;
border-top: 1px solid #c6cbd1;
}
#post-content table tr:not(.highlight) {
background-color: transparent;
}
#post-content table tr:nth-child(2n) {
background-color: #f6f8fa;
}
#post-content img {
max-width: 100%;
border-style: none;
box-sizing: content-box;
background-color: #fff;
}
#post-content img[align=right] {
padding-left: 20px;
}
#post-content img[align=left] {
padding-right: 20px;
}
#post-content code {
margin: 0;
font-size: 80%;
background-color: #eee;
color: inherit;
border-radius: 3px;
}
#post-content pre>code {
padding: 0;
margin: 0;
font-size: 95%;
word-break: normal;
white-space: pre;
border: 0;
}
#post-content>pre:not(.highlight):not(.prettyprint) {
background: #f5f5f5;
padding-left: 1em;
}
#post-content .highlight {
margin-bottom: 16px;
}
#post-content .highlight table {
margin-bottom: 0;
}
#post-content .highlight pre {
margin-bottom: 0;
word-break: normal;
background: transparent ;
}
#post-content .highlight pre,
#post-content pre {
padding-top: 1em;
padding-right: 1em;
padding-bottom: 1em;
overflow: auto;
font-size: 85%;
line-height: 1.45;
border-radius: 3px;
}
#post-content pre code {
display: inline;
max-width: auto;
padding: 0;
margin: 0;
overflow: visible;
line-height: 1.5;
word-wrap: normal;
background-color: transparent;
border: 0;
}
#post-content kbd {
display: inline-block;
padding: 3px 5px;
font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #444d56;
vertical-align: middle;
background-color: #fafbfc;
border: solid 1px #d1d5da;
border-bottom-color: #c6cbd1;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #c6cbd1;
}
#post-content :checked+.radio-label {
position: relative;
z-index: 1;
border-color: #0366d6;
}
#post-content .task-list-item {
list-style-type: none;
}
#post-content .task-list-item+.task-list-item {
margin-top: 3px;
}
#post-content .task-list-item input {
margin: 0 0.2em 0.25em -1.6em;
vertical-align: middle;
}
/* Fix for highlight */
#post-content figure.highlight {
margin: 1rem 0;
}
#post-content figure.highlight tr {
background: transparent ;
}
#post-content figure.highlight pre {
margin: .1rem 0;
padding: 0 0 0 10px;
}
#post-content figure.highlight pre span.line {
padding: 0 10px 0 0;
}
#post-content .highlight td {
padding: 0;
border: none;
}
#post-content .highlight table tr {
border: none;
}
/* Fix for Prettify */
#post-content .prettyprint ol {
margin: 0;
}
/**
* =========================================================
* ************ Footer ************
* =========================================================
*/
footer {
padding: 1.5rem 1.2rem 1.2rem;
font-size: .75rem;
color: #999;
}
.footer-copyright-a,
.footer-copyright-a:visited {
text-decoration: none;
color: #999;
}
.footer-copyright-a:hover,
.footer-copyright-a:focus {
color: #535353;
text-decoration: underline ;
}
.footer-text a {
color: #999;
}
.footer-develop-a,
.footer-develop-a:visited {
color: #6b6b6b;
}
.footer-develop-a:hover,
.footer-develop-a:focus {
color: #535353;
}
.footer-develop-divider {
margin: 0 .3rem;
}
.footer-develop-divider::after {
content: "|"
}
/**
* =========================================================
* ************ Page: Tagscloud ************
* =========================================================
*/
.tagscloud {
margin: 0 3rem 3rem;
padding: 0 1rem;
min-height: 20rem;
}
@media screen and (max-width: 960px) {
.tagscloud {
min-height: 10rem;
margin-left: 1.5rem;
margin-right: 1.5rem;
}
}
@media screen and (max-width: 480px) {
.tagscloud {
min-height: 5rem;
margin-left: .5rem;
margin-right: .5rem;
padding: 0;
}
}
.tagscloud a {
text-decoration: none;
padding: .5rem;
margin: .2rem;
line-height: 2;
white-space: nowrap;
transition: .2s;
opacity: 1;
}
.tagscloud a:hover {
transition: .2s;
opacity: .85;
padding: .75rem;
}
/**
* =========================================================
* ************ Timeline ************
* =========================================================
*/
/*! Spectre.css Experimentals v0.5.3 | MIT License | github.com/picturepan2/spectre */
.timeline .timeline-item {
display: flex;
display: -ms-flexbox;
margin-bottom: 1.2rem;
position: relative;
}
.timeline .timeline-item::before {
background: #e7e9ed;
content: "";
height: 100%;
left: 11px;
position: absolute;
top: 1.2rem;
width: 2px;
}
.timeline .timeline-item .timeline-left {
-ms-flex: 0 0 auto;
flex: 0 0 auto;
}
.timeline .timeline-item .timeline-content {
-ms-flex: 1 1 auto;
flex: 1 1 auto;
padding: 2px 0 2px .8rem;
}
.timeline .timeline-item .timeline-icon {
border-radius: 50%;
color: #fff;
display: block;
height: 1.2rem;
text-align: center;
width: 1.2rem;
}
.timeline .timeline-item .timeline-icon::before {
border: .1rem solid #5755d9;
border-radius: 50%;
content: "";
display: block;
height: .4rem;
left: .4rem;
position: absolute;
top: .4rem;
width: .4rem;
}
.timeline .timeline-item .timeline-icon.icon-lg {
background: #5755d9;
line-height: 1.2rem;
}
.timeline .timeline-item .timeline-icon.icon-lg::before {
content: none;
}
/**
* =========================================================
* ************ Page: Archive ************
* =========================================================
*/
a.timeline-tile-title,
a.timeline-tile-title span,
a.timeline-tile-title:visited {
color: #454d5d;
opacity: .85;
}
a.timeline-tile-title span:hover {
color: #454d5d;
opacity: 1;
}
/**
* =========================================================
* ************ Page: Search ************
* =========================================================
*/
#search-input .form-input:focus {
border-color: rgba(0, 0, 0, .4);
box-shadow: 0 0 0 .08rem rgba(0, 0, 0, .2);
}
#search-input .st-default-search-input {
background: none;
padding: 0 .6rem;
}
#search-output {
min-height: 20rem;
margin-bottom: 2rem;
}
@media screen and (max-width: 960px) {
#search-output {
min-height: 10rem;
}
}
@media screen and (max-width: 480px) {
#search-output {
min-height: 5rem;
}
}
#search-output .tile {
padding-top: .8rem;
padding-bottom: .8rem;
border-top: .05rem solid #e7e9ed;
}
#search-result-info {
padding-top: .5rem;
padding-bottom: .5rem
}
.search-result-title {
margin-bottom: .25rem;
font-size: .85rem
}
.saerch-result-date {
padding-right: .4rem;
color: #444;
}
.search-result-summary {
font-size: .7rem;
line-height: 1rem ;
max-height: 3rem;
overflow: hidden;
margin-bottom: 0;
}
.search-noresult {
padding-top: .5rem;
}
/**
* =========================================================
* ************ Page: Link ************
* =========================================================
*/
.link-container {
padding: .4rem 0;
}
@media (min-width: 960px) {
.link-container {
padding: .8rem 1.2rem 1.2rem;
}
}
.link-list {
padding: 0;
margin: 0 auto;
max-width: 15.8rem;
}
@media screen and (min-width: 680px) {
.link-list {
max-width: 33.2rem;
}
}
@media screen and (min-width: 1024px) {
.link-list {
max-width: 49.8rem;
}
}
@media screen and (min-width: 1340px) {
.link-list {
max-width: 66.4rem;
}
}
.link-item {
margin: .4rem;
box-shadow: 0 1px 1.5px 1px rgba(0, 0, 0, .12);
transition: all .3s;
height: 3.8rem;
width: 15rem;
float: left;
}
.link-item a,
.link-item a:hover,
.link-item a:focus,
.link-item a:visited {
text-decoration: none;
}
.link-item .link-img img {
vertical-align: middle;
height: 3.8rem;
width: 3.8rem;
}
.link-item .link-content {
padding-left: .6rem ;
padding-right: .6rem ;
}
.link-item .link-title {
font-size: .9rem;
color: #50596c;
}
.link-item .link-descr {
font-size: .65rem
}