用户:Chronostasismywife/common.css:修订间差异
来自Limbo Wiki Mirror
小无编辑摘要 |
小无编辑摘要 |
||
| 第91行: | 第91行: | ||
height:500px; | height:500px; | ||
background:grey; | background:grey; | ||
color: white; | |||
text-align: center; | |||
text-decoration: none; | |||
display: inline-block; | |||
font-size: 16px; | |||
cursor: pointer; | |||
transition-duration: 0.4s; | |||
} | } | ||
| 第96行: | 第103行: | ||
.button { | .button { | ||
background-color: grey; | background-color: grey; | ||
color: white; | color: white; | ||
padding: 10px 24px; | padding: 10px 24px; | ||
| 第112行: | 第117行: | ||
color: black; | color: black; | ||
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24); | box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24); | ||
border-right: | border-right:3px inset skyblue; | ||
border-bottom: | border-bottom:3px inset blue; | ||
} | } | ||
2025年2月4日 (二) 21:01的版本
/* 这不对吧师傅我为什么在学这个? */
.ta {
font-family:"Times New Roman",Times,serif;
}
.linxian {
font-family:Arial,Helvetica,sans-serif;
}
/*做图*/
.tu {
background-color: lightgrey;
width: 300px;
/* 内容宽度 */
border: 25px solid green;
/* 边框宽度 */
padding: 25px;
/* 内容到边框的距离 */
margin: 25px;
/* 边框到外部的距离,透明*/
}
/* 梦中情边框 */
.solid {
border-style:solid;
/* 可内嵌br */
}
/* 下划线 */
.under {
text-decoration: underline;
}
/* 可能有用的位置代码 */
.pos_left
{
position:relative;
left:-20px;
}
.pos_right
{
position:relative;
left:20px;
}
/* 提示 */
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: grey;
color: black;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}
/* 暂时用不上的图片透明 */
.img
{
opacity:0.4;
}
.img:hover
{
opacity:1.0;
}
/* 延伸 */
.jianbian
{
width:82px;
height:46px;
color:white;
transition:height 2s;transition:width 2s
}
.jianbian:hover
{
width:300px;
height:500px;
background:grey;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
transition-duration: 0.4s;
}
/* 按钮 */
.button {
background-color: grey;
color: white;
padding: 10px 24px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
transition-duration: 0.4s;
}
.button:hover {
background-color: white;
color: black;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24);
border-right:3px inset skyblue;
border-bottom:3px inset blue;
}
.disabled {
background-color: grey;
border-right:2px inset skyblue;
border-bottom:4px inset blue;
color: white;
padding: 10px 24px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
opacity: 0.6;
cursor: not-allowed;
}
