User:Irukaza/common.css:修订间差异
跳到导航
跳到搜索
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第8行: | 第8行: | ||
button:hover { | button:hover { | ||
background: #ddd; | background: #ddd; | ||
} | } | ||
input[type='submit']:hover { | input[type='submit']:hover { | ||
background: #ddd; | background: #ddd; | ||
} | } | ||
input[type='button']:hover { | input[type='button']:hover { | ||
background: #ddd; | background: #ddd; | ||
} | } | ||
input:focus { | input:focus { | ||
box-shadow: 0 0 0 2px #0096bfab; | box-shadow: 0 0 0 2px #0096bfab; | ||
box-shadow: 0 0 0 2px var(--focus); | box-shadow: 0 0 0 2px var(--focus); | ||
} | |||
input:not([type='checkbox']):not([type='radio']), | |||
select { | |||
display: block; | |||
} | |||
input { | |||
color: #000; | |||
background-color: #efefef; | |||
font-family: inherit; | |||
font-size: inherit; | |||
margin-right: 6px; | |||
margin-bottom: 6px; | |||
padding: 10px; | |||
border: none; | |||
border-radius: 6px; | |||
outline: none; | |||
} | } |
2021年4月7日 (三) 20:49的版本
button,
input[type='submit'],
input[type='button'] {
padding-right: 30px;
padding-left: 30px;
}
button:hover {
background: #ddd;
}
input[type='submit']:hover {
background: #ddd;
}
input[type='button']:hover {
background: #ddd;
}
input:focus {
box-shadow: 0 0 0 2px #0096bfab;
box-shadow: 0 0 0 2px var(--focus);
}
input:not([type='checkbox']):not([type='radio']),
select {
display: block;
}
input {
color: #000;
background-color: #efefef;
font-family: inherit;
font-size: inherit;
margin-right: 6px;
margin-bottom: 6px;
padding: 10px;
border: none;
border-radius: 6px;
outline: none;
}