Modern UI for Cosense
表示例
https://gyazo.com/fe12ec526190d1476c5392c3e43f7558
#UserCSS
code:style.css
body {
--A: #002;
--B: #002;
--body-bg: #002;
--navbar-title-color: #fff;
--navbar-icon-color: #fff;
--search-form-icon-color: #fff;
--tool-color: #fff;
--tool-text-color: #fff;
background-color: #002;
background-image: none;
--search-form-text-color:#fff;
}
.page,
.grid li.page-list-item a,
data-hover-visible .grid li.page-list-item a:hover,
.page-sidebar {
box-shadow: none;
}
.page,
.grid li.relation-label a,
.related-page-list .toolbar .related-page-list-search,
.search-form .form-group input{
border-radius: 0;
}
.navbar {
background-color: #333;
}
.search-form .form-group input {
--search-form-bg: rgba(255, 255, 255, 0);
border: 1px solid #0004;
}
.brand-icon,
.navbar .row .project-home::after {
display: none;
}
.new-button {
background-color: transparent;
}
.new-button .horizontal-line,
.new-button .vertical-line {
background-color: #888;
border-radius: 0;
}
data-hover-visible .new-button:hover {
background-color: #0002;
}
data-hover-visible .new-button:active {
background-color: #0003;
}
.new-button .horizontal-line {
height: 2px;
}
.new-button .vertical-line {
width: 2px;
}
.status-bar > div,
.status-bar > div.page-title {
background-color: transparent;
border-top-right-radius: 0;
border-top: none;
/*color: #444;*/
}
.status-bar > div.page-title {
border-left: 1px solid var(--tool-light-color, #a9aaaf);
}
.status-bar > div:first-child,
.status-bar > div.page-title:first-child {
border-left: none;
}
.status-bar button {
background-color: transparent;
border: none;
}
.footer {
background-color: #333;
width: unset;
right: 4px;
bottom: 4px;
box-shadow: none;
border-radius: 0;
color: #fff;
}
.grid li.expand-stack a,
.grid li.start-2hop-search a,
.grid li.relation-label a,
.grid li.relation-label.links a,
.grid li.relation-label.project-links a,
.related-page-list div.links-2-hop ul.grid:hover .relation-label a {
background-color: transparent;
color: #fff;
}
.dropdown-menu>li>a, .dropdown-menu>li>a:hover{
color:#fff !important;
}
.grid li.relation-label .arrow {
display: none;
}
.grid li.page-list-item a .title {
font-weight: normal;
color: #fff;
}
.infobox:not(:first-child) {
border-top: none;
}
.related-page-list .toolbar .related-page-list-search {
border: 1px solid #fff4;
}
.expandable-menu,
.search-form .form-group input:focus,
.search-form .form-group input.for-mobile,
.infobox .definition-list-item:nth-child(2n+1) {
background-color: transparent;
}
.expandable-menu .page-menu .tool-btn,
.expandable-menu .toggle-button {
color: #fff8;
}
.navbar .row .project-home {
font-weight: normal;
}
.dropdown-menu {
background-color: #333;
box-shadow: none;
border-radius: 0;
color: #fff;
}
.dropdown-menu > li > a:active,
data-hover-visible .dropdown-menu > li > a:hover,
data-focus-visible .dropdown-menu > li > a:focus {
background-color: #0002;
}
.app {
padding-top: 29px;
}
.grid li.page-list-item a .pin {
border-radius: 0;
}
.grid li.page-list-item a .icon img {
width: 100%;
border-radius: 0;
translate: -50% -50%;
z-index: 0;
position: absolute;
left: 50%;
top: 50%;
min-height: 100%;
min-width: 100%;
object-fit: cover;
}
.grid li.page-list-item a .header {
border-top-color: transparent;
position: absolute;
background: transparent;
padding: 0 4px;
width: unset;
margin: 4px 0 0 8px;
bottom: 2px;
left: 2px;
z-index: 1;
border-top: none;
font-weight: normal;
margin:0;
max-width: calc(100% - 4px);
}
.grid li.page-list-item.image a .header{
text-shadow: 0 0 2px black,0 0 2px black,0 0 2px black,0 0 2px black;
}
.grid li.page-list-item a .title {
color: #fff;
font-weight: inherit;
}
.grid li.page-list-item.unread .content .header {
font-weight: bold;
}
.grid li.page-list-item:not(.image) a .title {
color: #fff;
}
.grid li {
aspect-ratio: 1;
}
.grid li.page-list-item a {
border-radius: 0;
}
.grid li.page-list-item a .description {
display: none;
}
.grid li.page-list-item{
--card-bg: var(--user-card-bg, #002800);
}
.grid li.page-list-item a .hover{
display:none;
}
.page-list-item.grid-style-item:hover {
outline: 2px solid #fff;
}
.page-list ul.grid, .related-page-list ul.grid, .related-page-list .links-container {
gap: 12px;
}
.search-form .form-group input:focus, .search-form .form-group input.for-mobile{
color:#fff;
}