Add update url

This commit is contained in:
Mars Niermann 2024-10-29 23:20:05 +01:00
parent 2d2d2c6a7f
commit a97b6a0acb

View file

@ -1,12 +1,12 @@
/* ==UserStyle== /* ==UserStyle==
@name Dynasty Reader Catppuccin @name Dynasty Reader Catppuccin
@namespace github.com/catppuccin/userstyles/styles/<port-name> @namespace git.m3.fyi/marsn3/userstyles/src/branch/main/styles/dynasty-scans
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/<port-name> @homepageURL https://git.m3.fyi/marsn3/userstyles/src/branch/main/styles/dynasty-scans
@version 0.0.1 @version 0.0.2
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/<port-name>/catppuccin.user.css @updateURL https://git.m3.fyi/marsn3/userstyles/raw/branch/main/styles/dynasty-scans/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3A<port-name> @supportURL https://git.m3.fyi/marsn3/userstyles/issues/new
@description Soothing pastel theme for <port-name> @description Soothing pastel theme for Dynasty Scans
@author Catppuccin @author Marsn3
@license MIT @license MIT
@preprocessor less @preprocessor less
@ -90,120 +90,134 @@
/* Start styling your website here: */ /* Start styling your website here: */
background-color: @base; background-color: @base;
body { body {
background: @base; background: @base;
} .navbar-inverse .navbar-search .search-query:focus, .navbar-inverse .navbar-search .search-query.focused { }
background: @base; .navbar-inverse .navbar-search .search-query:focus,
text-shadow: none; .navbar-inverse .navbar-search .search-query.focused {
color: @text; background: @base;
text-shadow: none;
color: @text;
} }
.navbar-inverse .navbar-search .search-query { .navbar-inverse .navbar-search .search-query {
background: @surface0; background: @surface0;
color: @text; color: @text;
} }
.nav-pills > .active > a, .nav-pills > .active > a:hover, .nav-pills > .active > a:focus { .nav-pills > .active > a,
color: @base; .nav-pills > .active > a:hover,
background-color: @accent-color; .nav-pills > .active > a:focus {
color: @base;
background-color: @accent-color;
} }
.btn.active { .btn.active {
background-color: @surface0; background-color: @surface0;
color: @text; color: @text;
border-color: @overlay0; border-color: @overlay0;
background-image: none; background-image: none;
} }
.btn { .btn {
background-color: @surface2; background-color: @surface2;
color: @text; color: @text;
border-color: @overlay0; border-color: @overlay0;
background-image: none; background-image: none;
text-shadow: none; text-shadow: none;
} }
i { i {
filter: drop-shadow(0px 1000px 0 @text); filter: drop-shadow(0px 1000px 0 @text);
transform: translateY(-1000px); transform: translateY(-1000px);
} }
#content.container { #content.container {
background: @crust; background: @crust;
} }
body, #main.chapters .chapter .title,#reader .pages-list a { body,
color: @text #main.chapters .chapter .title,
#reader .pages-list a {
color: @text;
} }
#reader .pages-list a:hover { #reader .pages-list a:hover {
background: @accent-color; background: @accent-color;
color: @base; color: @base;
} }
#main.chapters .chapter,.thumbnail .caption { #main.chapters .chapter,
color: @subtext0 .thumbnail .caption {
color: @subtext0;
} }
.label, .badge { .label,
color: @subtext1; .badge {
background-color: @surface0; color: @subtext1;
background-color: @surface0;
} }
a { a {
color:@accent-color; color: @accent-color;
} }
.nav-list > li > a, .nav-list .nav-header { .nav-list > li > a,
text-shadow: none; .nav-list .nav-header {
text-shadow: none;
} }
#content.container { #content.container {
box-shadow:0 0 10px @mantle; box-shadow: 0 0 10px @mantle;
} }
#main.chapters .chapter .title small { #main.chapters .chapter .title small {
color: @subtext1; color: @subtext1;
} }
.thumbnail { .thumbnail {
border-color: @overlay0; border-color: @overlay0;
} }
.pagination ul > li > a, .pagination ul > li > span { .pagination ul > li > a,
background-color: @surface0; .pagination ul > li > span {
border-color: @surface1; background-color: @surface0;
border-color: @surface1;
} }
.pagination ul > .active > a, .pagination ul > .active > span { .pagination ul > .active > a,
color: @base; .pagination ul > .active > span {
background-color: @accent-color; color: @base;
background-color: @accent-color;
} }
a.thumbnail:hover, a.thumbnail:focus { a.thumbnail:hover,
border-color: @accent-color; a.thumbnail:focus {
box-shadow: 0 1px 4px fade(@accent-color,25%); border-color: @accent-color;
box-shadow: 0 1px 4px fade(@accent-color, 25%);
} }
.nav > li > a:hover, .nav > li > a:focus { .nav > li > a:hover,
background-color: @accent-color; .nav > li > a:focus {
color: @base; background-color: @accent-color;
text-shadow: none; color: @base;
text-shadow: none;
} }
#reader .pages-list a.active { #reader .pages-list a.active {
background: fade(@accent-color,80%); background: fade(@accent-color, 80%);
color: @base; color: @base;
} }
select { select {
color: @text; color: @text;
background-color: @surface1; background-color: @surface1;
border-color: @surface2; border-color: @surface2;
} }
#main.topics.index .forum_topic:nth-child(2n+1) { #main.topics.index .forum_topic:nth-child(2n + 1) {
background: @base; background: @base;
} }
#main.topics.index .forum_topic { #main.topics.index .forum_topic {
border-color: @surface1; border-color: @surface1;
} }
.toolbar,#main .posts .forum_post .info { .toolbar,
background: @surface0; #main .posts .forum_post .info {
border-color: @surface2; background: @surface0;
border-color: @surface2;
} }
#main.topics.index .forum_topic .info > span { #main.topics.index .forum_topic .info > span {
background: @surface1; background: @surface1;
color: @text; color: @text;
} }
.caret { .caret {
border-top-color: @text; border-top-color: @text;
} }
.well { .well {
background-color: @mantle; background-color: @mantle;
} }
.well legend { .well legend {
color: @text color: @text;
} }
/* If you need to specify an overwrite specific to a flavor /* If you need to specify an overwrite specific to a flavor
* (e.g. only when the flavor is set to latte), you can use a `when` guard clause. */ * (e.g. only when the flavor is set to latte), you can use a `when` guard clause. */