mirror of
https://github.com/4cuck/teapawt.git
synced 2026-10-27 14:04:35 +00:00
Serve allow-all robots and dynamic sitemaps, point canonicals at this instance, and stop navbar CSS from crushing the landing profile chips. Co-authored-by: Cursor <[email protected]>
138 lines
2.2 KiB
CSS
138 lines
2.2 KiB
CSS
.nav-icon span {
|
|
font-size: 18px !important;
|
|
display: inline-block;
|
|
line-height: 1;
|
|
user-select: none;
|
|
}
|
|
|
|
.nav-icon span::before {
|
|
margin-right: 0;
|
|
}
|
|
|
|
nav.site-nav,
|
|
nav:not([class]) {
|
|
display: flex;
|
|
align-items: center;
|
|
position: fixed;
|
|
background-color: var(--bg_color);
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 56px;
|
|
z-index: 1000;
|
|
font-size: 16px;
|
|
border-bottom: 1px solid var(--tp-outline-variant);
|
|
|
|
& a,
|
|
& .icon-button button {
|
|
color: var(--fg_nav);
|
|
}
|
|
}
|
|
|
|
.inner-nav {
|
|
margin: auto;
|
|
box-sizing: border-box;
|
|
padding: 0 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-basis: 600px;
|
|
height: 56px;
|
|
}
|
|
|
|
.site-name {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
color: var(--tp-primary);
|
|
|
|
&:hover {
|
|
color: var(--tp-on-primary-container);
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.site-logo {
|
|
display: block;
|
|
width: 40px;
|
|
height: 28px;
|
|
object-fit: contain;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
flex: 1;
|
|
line-height: 56px;
|
|
height: 56px;
|
|
overflow: hidden;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
|
|
&.right {
|
|
text-align: right;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
&.right a {
|
|
color: var(--tp-on-surface-variant);
|
|
font-weight: 500;
|
|
padding: 0;
|
|
border-radius: var(--shape-sm);
|
|
margin: 0;
|
|
transition: color 0.15s ease;
|
|
|
|
&:hover {
|
|
color: var(--tp-primary);
|
|
background-color: var(--bg_hover);
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.lp {
|
|
height: 14px;
|
|
display: inline-block;
|
|
position: relative;
|
|
top: 2px;
|
|
fill: var(--fg_nav);
|
|
|
|
&:hover {
|
|
fill: var(--tp-on-primary-container);
|
|
}
|
|
}
|
|
|
|
.icon-info {
|
|
margin: 0 -3px;
|
|
}
|
|
|
|
.icon-cog {
|
|
font-size: 15px;
|
|
/* padding-left: 0 !important; */
|
|
}
|
|
|
|
.nav-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: var(--shape-sm);
|
|
color: var(--tp-on-surface-variant);
|
|
transition: color 0.15s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-icon:hover {
|
|
color: var(--tp-primary);
|
|
background-color: var(--bg_hover);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-icon.sister-site img {
|
|
display: block;
|
|
width: 22px;
|
|
height: 22px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
image-rendering: pixelated;
|
|
}
|