跳转到内容

User:Vanished user 1929210/eggache.css

维基百科,自由的百科全书
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/**
 * User:逆襲的天邪鬼/eggache.css:將控件Bootstrap化
 */

/**
 * 寫代碼怎能不用等寬字型?
 */
pre, code {
	font-family: Monaco, Consolas, monospace;
}

#wpTextbox1, #Wikiplus-Quickedit {
	font-family: Monaco, Consolas, monospace;
	font-size: 13px;
}

/**
 * 給文本框們換個樣子
 */
input,
select,
textarea {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

select {
    height: 34px;
}

textarea {
    color: black;
    padding: 5px;
    line-height: 1.5;
}

#wpTextbox1 {
    padding: 5px !important;
    border: 1px solid #ccc !important;
    border-radius: 0;
}

#wpTextbox1:focus {
    border-color: #ccc;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* 誤傷 */
input[type="search"] {
    -webkit-box-shadow: none;
    box-shadow: none;
    line-height: normal;
}

input[type="search"]:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/**
 * 給按鈕們換個樣子
 */
input[type="button"],
input[type="submit"],
button,
.Wikiplus-Btn {
    color: #333;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    font-size: 14px;
    padding: 6px 12px;
}

input[type="button"]:hover,
input[type="submit"]:hover,
button:hover,
.Wikiplus-Btn:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
}

input[type="button"]:focus,
input[type="submit"]:focus,
button:focus {
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

input[type="button"]:disabled,
input[type="submit"]:disabled,
button:disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: .65;
}

/**
 * 將按鈕設為藍色
 */
#wpSave,
#Wikiplus-Quickedit-Submit,
#mw-watchlist-resetbutton > input {
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
}

#wpSave:hover,
#Wikiplus-Quickedit-Submit:hover,
#mw-watchlist-resetbutton > input:hover {
    background-color: #3071a9;
    border-color: #285e8e;
}

/**
 * 懸浮效果
 */
.wikitable > tbody > tr:hover {
    background-color: #f0f0f0;
}

/**
 * 調整間距
 */
.historysubmit {
    margin: 10px 0;
}

#mw-watchlist-options,
.mw-contributions-table {
    line-height: 2.4;
}

#mw-watchlist-options > legend,
.mw-contributions-table > legend {
    line-height: initial;
}

/**
 * Wikiplus 樣式設定
 */
#Wikiplus-Quickedit-Back {
    margin-left: 15px;
}

#Wikiplus-Quickedit-Back, #Wikiplus-Quickedit-Jump {
    height: 20px;
}

#Wikiplus-Quickedit-Jump {
    margin-bottom: 12px;
}

.Wikiplus-Btn {
    box-shadow: none !important;
    padding: 6px 12px !important;
}

.Wikiplus-InterBox {
    background-color: #f5f5f5 !important;
    border: 1px solid #999 !important;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    padding: 0 !important;
}

.Wikiplus-InterBox-Header {
    font-size: 18px !important;
    /* font-weight: 500; */
    padding: 18px 10px 10px 15px;
    border-bottom: 1px solid #aaa !important;
    width: 975px !important;
}

.Wikiplus-InterBox-Close {
    top: 10px !important;
    right: 5px !important;
    color: #ccc;
    font-weight: 700;
}

.Wikiplus-InterBox-Close:hover {
    color: #777;
}

#Wikiplus-Quickedit-Preview-Output {
    margin: 0 15px 15px !important;
    padding: 15px;
    background-color: #F8FCFF;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#Wikiplus-Quickedit-Preview-Output > hr:first-child,
#Wikiplus-Quickedit-Preview-Output > hr:last-child {
    display: none;
}

#Wikiplus-Quickedit {
    border-radius: 0;
}

#Wikiplus-Quickedit:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #ccc;
}

#Wikiplus-Quickedit-Summary-Input {
    margin: 10px;
    width: 954px !important;
}

#Wikiplus-Quickedit-Summary-Input + br + div {
    margin-left: 10px !important;
}

#Wikiplus-Quickedit-Submit {
    margin: 0 10px 10px 20px;
}

#wpTextbox1, #Wikiplus-Quickedit {
	resize: vertical;
}

/**
 * 因為該死的important,美化失败orz
 */
.ui-dialog {
    background-color: #f5f5f5;
    background-image: none;
    border: 1px solid #999;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    padding: 0;
}

.ui-dialog .ui-widget-header {
    border-radius: 0;
    border: none;
    /* background-image: fucked; */
    font-size: 14px;
}

.ui-dialog .ui-dialog-titlebar {
    /* background-image: fuck; */
    /* padding: fuck; */
}

.ui-dialog .ui-dialog-content {
    padding-top: 1em;
}