打开/关闭搜索
搜索
打开/关闭菜单
1K
5.2K
4
8.2K
星砂岛百科
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
本站正在进行早期测试,目前仍存在许多内容的缺失。
查看“︁模板:Mainpage/styles.css”︁的源代码
来自星砂岛百科
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:Mainpage/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:已验证邮箱用户
您没有权限编辑
模板
命名空间内的页面。
该页面已受到保护,不能编辑,因为它被嵌入以下开启“连锁保护”选项的页面:*
星砂岛百科
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
.main-page-wrapper { --color-primary: var(--accent-color-base); } .main-page-wrapper { margin: 0 auto; display: flex; flex-direction: column; gap: 24px; color: inherit; } .glass-panel { background-color: var(--ts-glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--color-border-subtle); border-radius: var(--border-radius--large, 12px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); overflow: hidden; } .panel-title { margin: 0 0 16px 0; color: var(--color-primary); font-size: 1.5em; border-bottom: var(--ts-panel-title-border); padding-bottom: 10px; padding-top: 10px; text-align: center; } .hero-section { display: flex; align-items: center; gap: 30px; padding: 40px; } .hero-text { flex: 1; } .hero-text h1, .hero-text h2 { margin: 0 0 16px 0; color: var(--color-primary); font-size: 2.8em; font-weight: bold; border: none; line-height: normal; } .hero-text p { font-size: 1.1em; line-height: 1.6; margin-bottom: 20px; } .hero-image { flex: 1; max-width: 500px; border-radius: 12px; overflow: hidden; /* box-shadow: 0 8px 25px rgba(0,0,0,0.15); */ } .hero-image p { margin: 0; } .hero-image img { width: 100%; height: auto; display: block; /* border-radius: 12px; */ } .main-page-nav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; } .nav-card { padding: 0; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: stretch; } .nav-card p { margin: 0; display: flex; flex-direction: column; height: 100%; } .nav-card:hover { transform: translateY(-5px); border-color: var(--color-primary); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); } .nav-card a { color: var(--color-primary); font-size: 1.1em; font-weight: 600; text-decoration: none; display: flex; justify-content: center; align-items: center; text-align: center; padding: 10px; width: 100%; box-sizing: border-box; } .nav-card a:first-child { padding-top: 20px; padding-bottom: 5px; } .nav-card span>a { padding-top: 5px; padding-bottom: 20px; } .nav-card img { width: 50px; height: 50px; object-fit: contain; transition: filter 0.3s ease; display: block; } .content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: stretch; } .content-column { display: flex; flex-direction: column; gap: 24px; height: 100%; } .content-column > :last-child { flex-grow: 1; } .content-box { padding: 0px 24px 24px; } .spotlight-content { display: flex; gap: 20px; align-items: center; } .spotlight-img { flex: 0 0 150px; border-radius: 50%; border: 3px solid var(--color-primary); overflow: hidden; } .spotlight-img img { width: 100%; height: auto; display: block; } .spotlight-text { flex: 1; } .news-list { list-style: none; padding: 0; margin: 0; } .news-list li { padding: 12px 0; border-bottom: var(--ts-list-border-dashed); } .news-list li:last-child { border-bottom: none; } .news-date { font-size: 0.85em; color: var(--ts-news-date-color); display: block; margin-bottom: 4px; } .footer-banner { padding: 30px; text-align: center; background: var(--ts-footer-bg); } @media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } .hero-section { flex-direction: column; text-align: center; } .hero-image { max-width: 100%; } .spotlight-content { flex-direction: column; text-align: center; } } .link-list { list-style: none; padding: 0; margin: 0; } .link-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: var(--ts-list-border-dashed); } .link-list li:last-child { border-bottom: none; } .link-meta { font-size: 0.85em; opacity: 0.8; margin-left: auto; text-align: right; } .hero-text .nav-card a { padding: 5px; } .link-list li img { filter: invert(11%) sepia(50%) saturate(3000%) hue-rotate(185deg) brightness(95%) contrast(105%); } html.skin-theme-clientpref-night .link-list li img { filter: invert(86%) sepia(10%) saturate(457%) hue-rotate(162deg) brightness(90%) contrast(88%); } @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .link-list li img { filter: invert(86%) sepia(10%) saturate(457%) hue-rotate(162deg) brightness(90%) contrast(88%); } } .hero-text .nav-card { border-radius: 12px; }
返回
模板:Mainpage/styles.css
。
查看“︁模板:Mainpage/styles.css”︁的源代码
来自星砂岛百科