◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“模板:AvgNavigation/CSS”的版本间的差异
(创建页面,内容为“{{#Widget:style|style= .AvgNavigationDiv { display: inline-block; margin: 4px 6px; border: 1px solid #888; max-width: 49%; overflow: hidden; } .…”) |
(hover 效果) |
||
(未显示同一用户的8个中间版本) | |||
第6行: | 第6行: | ||
max-width: 49%; | max-width: 49%; | ||
overflow: hidden; | overflow: hidden; | ||
+ | transition-duration: 0.4s; | ||
} | } | ||
.AvgNavigationImageDiv { | .AvgNavigationImageDiv { | ||
background-color: #292929; | background-color: #292929; | ||
− | height: | + | height: 62px; |
− | width: | + | width: 192px; |
overflow: hidden; | overflow: hidden; | ||
} | } | ||
第18行: | 第19行: | ||
text-align: center; | text-align: center; | ||
margin: 5px 0px 2px 0px; | margin: 5px 0px 2px 0px; | ||
+ | } | ||
+ | |||
+ | .AvgNavigationDiv2 { | ||
+ | display: inline-block; | ||
+ | margin:4px 6px; | ||
+ | border:1px solid #888; | ||
+ | background-color: #e4dcd0; | ||
+ | } | ||
+ | |||
+ | .AvgNavigationImageDiv2 { | ||
+ | height: 65px; | ||
+ | width: 186px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | .AvgNavigationDesDiv2 { | ||
+ | text-align: center; | ||
+ | margin-top: 2px; | ||
+ | color: #9a365a; | ||
+ | } | ||
+ | |||
+ | .AvgNavigationDiv:hover { | ||
+ | box-shadow: 0px 0px 6px 1px #f4c430; | ||
+ | border-color: #f4c430; | ||
} | } | ||
}} | }} |
2021年10月17日 (日) 12:42的最新版本