Site Notice

hello, world

Difference between revisions of "MediaWiki:Css-ngnlwiki.cn/blog.css"

From Project-EPB Commons
([InPageEdit] 没有编辑摘要)
([InPageEdit] 没有编辑摘要)
Line 7: Line 7:
 
  **/
 
  **/
 
/** 字体 **/
 
/** 字体 **/
.material-icons {
+
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
  font-family: 'Material Icons';
 
  font-weight: normal;
 
  font-style: normal;
 
  font-size: 24px;
 
  line-height: 1;
 
  letter-spacing: normal;
 
  text-transform: none;
 
  display: inline-block;
 
  white-space: nowrap;
 
  word-wrap: normal;
 
  direction: ltr;
 
  -moz-font-feature-settings: 'liga';
 
  -moz-osx-font-smoothing: grayscale;
 
}
 
 
/** 选区样式 **/
 
/** 选区样式 **/
 
::selection {
 
::selection {

Revision as of 12:37, 3 January 2020

/**
 *『Wjghj Project Static』
 * This _CascadingStyleSheets_ code is from https://common.wjghj.cn
 * ☆CC BY-NC-ND
 *
 * NgnlTheme - Designed by zh.ngnl-team
 **/
/** 字体 **/
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
/** 选区样式 **/
::selection {
  background: rgba(222, 25, 99, 0.7);
  color: #ddd
}
a::selection {
  color: #fff;
  text-shadow: 0 0 3px #fff;
}
/** 背景 **/
body {
  background: #06030c url(https://www.ngnlwiki.cn/wp-content/uploads/2019/12/WikiBackground1.png) 50% -100px / cover no-repeat fixed !important;
}
.content {
  background-color: transparent !important;
  padding-top: 20px;
  padding-bottom: 24px;
}
.content .post,
.content .page {
  background-color: rgba(78,16,38,0.6);
  border: 1px solid rgb(78,16,38);
}
body.page .mythemes-page-header h1 {
  font-size: 2.8em;
}
.content .page {
  padding: 30px;
}
.mythemes-page-header h1,
.post-title,
.post-title a,
.content p,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content ul {
  color: #ffffff !important;
}
aside.mythemes-sidebar div.widget {
  background: linear-gradient(to right,rgba(000,000,000,0.6),rgba(000,000,000,0.6));
  border-radius: 8px;
  border: 3px solid #3530ae;
  padding: 3px;
  width: 100%;
}
aside.mythemes-sidebar div.widget .widget-title {
  font-weight: bold;
  font-size: 20px;
  background: linear-gradient(to right,rgba(000,000,000,0.5), rgba(000,000,000,0.5)),url(https://www.ngnlwiki.cn/wp-content/uploads/2019/12/NgnlTheme.png) center / cover no-repeat fixed !important;
}
/** 评论区 **/
.comments-area {
  background: linear-gradient(to right,rgba(000,000,000,0.6),rgba(000,000,000,0.6)),url(https://www.ngnlwiki.cn/wp-content/uploads/2019/12/PreTheme.png) center / cover no-repeat fixed;
  border-radius: 8px;
  border: 3px solid #3530ae;
  width: 100%;
  margin: 20px 0 0 0;
  padding: 12px;
}
.comments-area p {
  margin: 2px 0 2px 0;
}
/** 首页样式 **/
.home .container {
  width: 90%;
}
.valign-cell-wrapper {
  background:  rgba(78,16,38,0.6) !important;
}
.home .mythemes-blog-identity,
.home .parallax {
  display: none;
}
.home .header-headline {
  font-weight: 700;
  color: #fff !important;
}
.home .header-headline:before {
  content: "";
  display: block;
  background: url(https://www.ngnlwiki.cn/wp-content/uploads/2019/12/6289E2BB-68D0-43C3-887A-2B197CDFC478.png) top left / 340px 80px;
  height: 80px;
  width: 340px;
  margin: 0 auto;
}
.home .header-description {
  color: #fff !important;
}
/** 页眉 **/
.nav-wrapper.container {
  position: relative;
}
.mythemes-blog-logo .custom-logo {
  max-height: 60px !important;
  width: auto;
}
div.nav-wrapper div.not-collapsed-wrapper {
  padding: 0 !important;
}
body:not(.home) div.nav-wrapper div.not-collapsed-wrapper {
  position: absolute;
  right: 0;
  bottom: -45px;
}
div.nav-wrapper div.not-collapsed-wrapper li {
  margin: 0 !important;
  box-shadow: none !important;
}
.mythemes-topper {
  background: #4e1026 !important;
}
.mythemes-page-header {
  background-color: rgba(78,16,38,0.6);
}
.mythemes-blog-identity {
  padding: 20px 0 !important;
  display: flex;
  border-bottom: none !important;
}
.mythemes-blog-title {
  margin: auto 1em;
}
.mythemes-blog-description {
  margin: auto 0 !important;
}
.mythemes-topper a,
.mythemes-page-header nav a,
.mythemes-page-header nav li,
.mythemes-page-header nav li:before {
  color: #ffffff !important;
  text-shadow: none;
}
.nav-wrapper .sub-menu a,
.nav-wrapper .side-nav a {
  color: #252525 !important;
}
/** 页脚 **/
.mythemes-footer-sidebars {
  background: #002a32;
}
.mythemes-footer-sidebars .mythemes-dark-mask {
  background: #13282c;
}
#searchform button {
  background: red !important;
}
/** 评论 **/
.mythemes-comments {
  background-color: rgba(78,16,38,0.6) !important;
  border: 1px solid rgb(78,16,38);
}
.comment cite {
  color: rgb(246, 80, 120) !important;
}
.comment-quote {
  color: #ffffff !important;
}
/** 博客列表 **/
.category .post-content,
.blog .post-content,
.author .post-content {
  max-height: 300px;
  overflow-y: auto
}
.author .author-details span,
.category .found-details span {
  color: #ffffff !important;
}
@media screen and (min-width:1000px) {
  .author .author-details,
  .category .found-details {
    position: absolute;
    right: 20px;
  }
}
/* 光标样式  Powered by: 机智的小鱼君 */
article div.meta ul.post-categories li a,
article div.meta ul.post-categories li a:hover {
  background: rgb(246, 80, 120);
}
body {
  cursor: url("https://vignette.wikia.nocookie.net/no-game-no-life/images/0/00/Cursor-default.png/revision/latest?cb=20190616130235&format=original&path-prefix=zh"), auto !important;
  color: #eaeaea;
}
a:link,
a:visited,
a:hover
a:active,
button,
input[type=submit],
input[type=checkbox],
input[type=radio] {
  cursor: url("https://vignette.wikia.nocookie.net/no-game-no-life/images/5/57/Cursor-pointer.png/revision/latest?cb=20190616130404&format=original&path-prefix=zh"), pointer !important;
}
textarea,
input {
  cursor: url("https://vignette.wikia.nocookie.net/no-game-no-life/images/0/0f/Cursor-text.png/revision/latest?cb=20190616132438&format=original&path-prefix=zh"), text !important;
}
/* 链接样式 */
article a,
aside.mythemes-sidebar div.widget a {
  color: rgb(246, 80, 120);
  text-shadow: 0 -15px 2.5px transparent, 0 15px 2.5px transparent;
  text-decoration: none;
  transition: all .08s linear 0s;
}
.post-content a:hover,
aside.mythemes-sidebar div.widget a:hover {
  text-shadow: 0 0 2.5px #fb3061, 0 0 2.5px #fb3061;
  color: #e53935 !important;
  text-decoration: none;
}
footer aside a,
footer aside a abbr {
  color: #00d6d6 !important;
}
/** 引用段落 **/
.wp-block-quote {
  clear: both;
  border: 1px solid #704051;
  margin: 4px 0px;
  background: rgba(78, 16, 38, 0.7);
  border-radius: 5px;
}
.wp-block-quote:before {
  content: "“";
  color: #704051;
  font-size: 36px;
  font-family: 'Times New Roman',serif;
  font-weight: bold;
  text-align: left;
  padding: 10px;
}
.wp-block-quote cite,
.wp-block-quote p {
  color: #ffffff;
}
.wp-block-quote p {
  font-style: normal !important;
  font-size: 18px !important;
}
/** 表格 **/
.wide-table-outer {
  max-width: 100%;
  overflow-x: auto;
}
/** 卡片 **/
.card .card-content *,
.card .card-reveal *:not(a) {
  color: #252525 !important;
}
.wide-table {
  min-width: 1000px;
}
/** 移动优化 **/
@media screen and (max-width:800px) {
  .row .col {
    width: 100% !important;
  }
}
/** 预格式文本 **/
code {
  padding: 2px 4px;
}
pre code {
  background: none;
  padding: 0;
  margin: 0;
}
.prettyprint ol,
.prettyprint li {
  margin: 0 !important;
}