添加的内容 删除的内容
小 (修复信息框位置错位问题) |
小 (为infobox添加响应式布局) |
||
第17行: | 第17行: | ||
height: 32px; |
height: 32px; |
||
} |
} |
||
/* |
|||
.infobox { |
.infobox { |
||
padding-left: 1.4em; |
padding-left: 1.4em; |
||
padding-right: 1.4em; |
padding-right: 1.4em; |
||
} |
|||
*/ |
|||
/* Responsive infobox */ |
|||
table.subinfobox { |
|||
padding: 0; |
|||
border: none; |
|||
margin: -3px; |
|||
width: auto; |
|||
min-width: 100%; |
|||
font-size: 100%; |
|||
clear: none; |
|||
float: none; |
|||
background-color: transparent; |
|||
} |
|||
table.maininfobox { |
|||
max-width: 22em; |
|||
} |
|||
@media screen and (max-width: 400px) { |
|||
table.maininfobox { |
|||
width: 100%; |
|||
} |
|||
} |
} |