跳转到内容
打开/关闭搜索
搜索
打开/关闭菜单
6
条目
2
文件
8
用户
881
编辑
ANACHRONISM
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
打开/关闭外观设置菜单
无法加载外观设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
请求账号
查看“︁模板:首页/styles.css”︁的源代码
来自ANACHRONISM
查看
阅读
查看源代码
查看历史
相关页面
模板
讨论
更多操作
更多
工具
链入页面
相关更改
页面信息
←
模板:首页/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
旅人
您可以查看和复制此页面的源代码。
/* TemplateStyles 草案:继承站点/Citizen 字体,不加载外部字体。 */ .anach-home-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(16rem, .82fr); gap: 1.4rem; align-items: stretch; } .anach-home-carousel { position: relative; min-width: 0; width: 100%; height: clamp(32rem, 43vw, 37rem); overflow: hidden; border-top: 4px solid #650b19; background: #dedede; } .anach-home-carousel__slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; } .anach-home-carousel__image, .anach-home-carousel__image > span, .anach-home-carousel__image img { display: block; width: 100%; height: 100%; } .anach-home-carousel__image img { object-fit: cover; object-position: center; } .anach-home-carousel__veil { position: absolute; right: 0; bottom: 0; left: 0; height: 45%; background: linear-gradient(0deg, rgba(18, 8, 11, .18), transparent); pointer-events: none; } .anach-home-carousel__badge { position: absolute; top: 1.2rem; left: 1.3rem; padding: .45rem .65rem; background: rgba(17, 12, 14, .7); color: #f7eeee; font-size: .7rem; letter-spacing: .16em; } .anach-home-carousel__controls { position: absolute; top: 50%; right: 1.1rem; left: 1.1rem; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; } .anach-home-carousel__arrow { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(20, 12, 14, .56); color: #fff; font-size: 1.65rem; line-height: 1; opacity: .46; } .anach-home-carousel__counter { position: absolute; right: 1.2rem; bottom: 1.1rem; padding: .35rem .6rem; background: rgba(17, 12, 14, .7); color: #fff; font-size: .75rem; letter-spacing: .16em; } .anach-home-aside { min-height: 32rem; display: flex; flex-direction: column; justify-content: center; padding: 2.25rem 1.8rem; border-top: 4px solid #8b1e2e; background: #faf8f7; } .anach-home-aside__eyebrow { margin: 0 0 1.2rem; color: #98535c; font-size: .7rem; font-weight: 700; letter-spacing: .17em; line-height: 1.7; } .anach-home-aside h2 { margin: 0; color: #2d2325; font-size: clamp(1.55rem, 2.2vw, 2.125rem); font-weight: 500; line-height: 1.55; } .anach-home-aside__motto { margin: 1rem 0 1.3rem; color: #716568; font-size: .875rem; line-height: 1.8; } .anach-home-aside__divider { width: 2.9rem; height: 2px; margin: 0 0 1.2rem; background: #8b1e2e; } .anach-home-aside__nav p { margin: 0; padding: .75rem 0; border-bottom: 1px solid #e5dfe0; } .anach-home-aside__nav span { display: block; color: #a4616a; font-size: .7rem; letter-spacing: .12em; } .anach-home-aside a { display: block; color: #342a2c; font-size: 1rem; text-decoration: none; } .anach-home-aside a:hover { color: #8b1e2e; } @media (max-width: 850px) { .anach-home-grid { grid-template-columns: 1fr; } .anach-home-carousel, .anach-home-aside { min-height: auto; } .anach-home-carousel { height: clamp(20rem, 70vw, 32rem); } .anach-home-aside { padding: 1.6rem; } } @media (max-width: 520px) { .anach-home-carousel { height: clamp(20rem, 84vw, 27rem); } }
返回
模板:首页/styles.css
。
查看“︁模板:首页/styles.css”︁的源代码
来自ANACHRONISM