Site Notice

hello, world

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

From Project-EPB Commons
([InPageEdit] 没有编辑摘要)
([InPageEdit] 没有编辑摘要)
Line 12: Line 12:
 
   color: #fff;
 
   color: #fff;
 
   text-shadow: 0 0 3px #fff;
 
   text-shadow: 0 0 3px #fff;
 +
}
 +
/** 背景 **/
 +
body:not(.home) {
 +
  background: #06030c url(http://180.76.242.64/blog/wp-content/uploads/2019/12/WikiBackground1.png) 50% -100px / cover no-repeat fixed;
 +
}
 +
body:not(.home) .content {
 +
  background: transparent;
 +
}
 +
body:not(.home) .content .post {
 +
  background-color: rgba(78,16,38,0.6);
 +
}
 +
.post-title,
 +
body:not(.home) .content .post p,
 +
body:not(.home) .content .post h2,
 +
body:not(.home) .content .post ul {
 +
  color: #ffffff !important;
 +
}
 +
aside.mythemes-sidebar div.widget {
 +
  background-color: rgba(78,16,38,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(http://180.76.242.64/blog/wp-content/uploads/2019/12/NgnlTheme.png) center / cover no-repeat fixed !important;
 
}
 
}
 
/** 首页样式 **/
 
/** 首页样式 **/
Line 59: Line 87:
 
}
 
}
 
/* 链接样式 */
 
/* 链接样式 */
article a {
+
article a,
 +
aside.mythemes-sidebar div.widget a {
 
   color: rgb(246, 80, 120);
 
   color: rgb(246, 80, 120);
 
   text-shadow: 0 -15px 2.5px transparent, 0 15px 2.5px transparent;
 
   text-shadow: 0 -15px 2.5px transparent, 0 15px 2.5px transparent;
Line 65: Line 94:
 
   transition: all .08s linear 0s;
 
   transition: all .08s linear 0s;
 
}
 
}
+
.post-content a:hover,
.post-content a:hover {
+
aside.mythemes-sidebar div.widget a:hover {
 
   text-shadow: 0 0 2.5px #fb3061, 0 0 2.5px #fb3061;
 
   text-shadow: 0 0 2.5px #fb3061, 0 0 2.5px #fb3061;
 
   color: #e53935 !important;
 
   color: #e53935 !important;
 
   text-decoration: none;
 
   text-decoration: none;
 
}
 
}

Revision as of 00:22, 16 December 2019

/**
 *『Wjghj Project Static』
 * This _CascadingStyleSheets_ code is from https://common.wjghj.cn
 * CC BY-NC-SA
 **/
/** 选区样式 **/
::selection {
  background: rgba(222, 25, 99, 0.7);
  color: #ddd
}
a::selection {
  color: #fff;
  text-shadow: 0 0 3px #fff;
}
/** 背景 **/
body:not(.home) {
  background: #06030c url(http://180.76.242.64/blog/wp-content/uploads/2019/12/WikiBackground1.png) 50% -100px / cover no-repeat fixed;
}
body:not(.home) .content {
  background: transparent;
}
body:not(.home) .content .post {
  background-color: rgba(78,16,38,0.6);
}
.post-title,
body:not(.home) .content .post p,
body:not(.home) .content .post h2,
body:not(.home) .content .post ul {
  color: #ffffff !important;
}
aside.mythemes-sidebar div.widget {
  background-color: rgba(78,16,38,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(http://180.76.242.64/blog/wp-content/uploads/2019/12/NgnlTheme.png) center / cover no-repeat fixed !important;
}
/** 首页样式 **/
.home .mythemes-blog-identity {
  display: none;
}
.home .header-headline {
  font-weight: 700;
}
.home .header-headline:before {
  content: "";
  display: block;
  background: url(http://180.76.242.64/blog/wp-content/uploads/2019/12/6289E2BB-68D0-43C3-887A-2B197CDFC478.png) top left / 480px 120px;
  height: 120px;
  width: 480px;
  margin: 0 auto;
}
/** 博客列表 **/
.category .post-content,
.blog .post-content,
.author .post-content {
  max-height: 300px;
  overflow-y: auto
}
/* 光标样式  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;
}