Skip to content

维基百科优化_90pa_width by 0xblacktea

Details

Author0xblacktea

LicenseNo License

Categorywikipedia.org

Created

Updated

Size1.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

优化“维基百科”的阅读体验!, 内容宽度设定为浏览器90%宽度

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           维基百科优化
@version        1.0.2
@description    优化“维基百科”的阅读体验!
@author         RunningCheese
@namespace      https://userstyles.world/user/runningcheese
@homepageURL    https://www.runningcheese.com
@supportURL     https://www.runningcheese.com/userstyles
==/UserStyle== */


@-moz-document domain("wikipedia.org") {
    
/*内容隐藏*/
    
#siteNotice, 
#p-navigation, 
#p-participation, 
#p-tb,
#p-coll-print_export, 
#p-wikibase-otherprojects, 
#p-lang-label,
.uls-settings-trigger, 
.after-portlet-lang, 
#siteSub, 
#mw-fr-reviewnotice,
.mw-editsection,
.toctoggle, 
table.ambox{
	display: none;
}
    
    
/* 主体无边框 */
    
#content{ 
	border: none !important;
}
    
    
body{
        margin: 0 auto;
        max-width: 90%;
    }

  #footer {
       margin:-20px !important
    }
    
  #content {
        border-left: 1px solid #a7d7f9;
        border-right: 1px solid #a7d7f9;
        font-family: Proxima Nova;
        font-size: 20px;
        margin: 40px auto;
    }
    
  .hatnote {
        background: #f1f3f5;
        border-left: 4px solid #abc;
        border-radius: 0 4px 4px 0;
        font-size: 1rem;
        margin-bottom: 1rem !important;
        margin-top: 1rem !important;
        padding: .5rem 0;
    }


 #mw-page-base {
  background:none;
 }


#mw-head {
   border-bottom: 1px solid #a7d7f9;
}
}

Reviews

No reviews yet.