跳转到内容
打开/关闭菜单
  • 173 条目
  • 16 文件
  • 3 用户
  • 2838 编辑
Novark
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:议会席位/styles.css

来自Novark
.nv-parliament { clear: both; max-width: 40rem; margin: 1.5rem auto; padding: 1rem; border: 1px solid #b7ad9f; border-radius: .5rem; }
.nv-parliament__title { font-weight: bold; text-align: center; font-size: 1.15em; }
.nv-parliament__session { text-align: center; margin: .3rem 0 1rem; }
.nv-parliament__chamber { position: relative; width: 100%; height: 0; padding-bottom: 50%; margin-bottom: 1rem; }
.nv-parliament__seat { position: absolute; display: block; width: 1.7%; height: 3.4%; border-radius: 50%; transform: translate(-50%, -50%); }
.nv-parliament__legend { width: 100%; margin: 0; }
.nv-parliament__legend th:first-child { text-align: left; }
.nv-parliament__legend td { text-align: right; }
.nv-parliament__key { display: inline-block; width: .8em; height: .8em; border-radius: 50%; margin-right: .5em; }
.nv-parliament__note { font-size: .85em; margin-bottom: 0; }
.nv-parliament__party--1 { background-color: #326ba8; }
.nv-parliament__party--2 { background-color: #727883; }
.nv-parliament__party--3 { background-color: #b4474f; }
.nv-parliament__party--4 { background-color: #458ca0; }
.nv-parliament__party--5 { background-color: #5e8c4a; }
.nv-parliament__party--6 { background-color: #8563ad; }
.nv-parliament__party--7 { background-color: #bd733c; }
.nv-parliament__party--8 { background-color: #b05d8b; }
.nv-parliament__party--9 { background-color: #499b80; }
.nv-parliament__party--10 { background-color: #7072a4; }
.nv-parliament__party--11 { background-color: #b18a29; }
.nv-parliament__party--12 { background-color: #8d5d48; }
@media print { .nv-parliament { break-inside: avoid; } }