mirror of
https://github.com/tanrax/RSSPAPER.git
synced 2025-01-30 16:06:03 -05:00
Update mobile
This commit is contained in:
parent
e182c7bb77
commit
e647ef6704
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.DEFAULT_GOAL := build
|
||||||
|
|
||||||
|
build: ## Check style with black
|
||||||
|
build.templates
|
||||||
|
lein uberjar
|
||||||
|
make rm.statics
|
||||||
|
|
||||||
|
build.templates:
|
||||||
|
make rm.statics
|
||||||
|
zip -r resources/themes/dark/static.zip resources/themes/dark/static/
|
||||||
|
zip -r resources/themes/sepia/static.zip resources/themes/sepia/static/
|
||||||
|
zip -r resources/themes/light/static.zip resources/themes/light/static/
|
||||||
|
|
||||||
|
rm.statics:
|
||||||
|
rm -rf resources/themes/dark/static.zip
|
||||||
|
rm -rf resources/themes/sepia/static.zip
|
||||||
|
rm -rf resources/themes/light/static.zip
|
@ -1,4 +1,4 @@
|
|||||||
(defproject rsspaper "1.1.4"
|
(defproject rsspaper "1.1.5"
|
||||||
:description "RSSpaper"
|
:description "RSSpaper"
|
||||||
:url "https://github.com/tanrax/RSSpaper"
|
:url "https://github.com/tanrax/RSSpaper"
|
||||||
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
||||||
|
Binary file not shown.
@ -1,5 +1,6 @@
|
|||||||
:root {
|
:root {
|
||||||
--height-img: 10rem;
|
--height-img: 10rem;
|
||||||
|
--height-img-mobile: 12rem;
|
||||||
--color__nord-dark: #2e3440;
|
--color__nord-dark: #2e3440;
|
||||||
--color__nord-light: #d8dee9;
|
--color__nord-light: #d8dee9;
|
||||||
--color__nord-medium: #5e81ac;
|
--color__nord-medium: #5e81ac;
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
:root {
|
|
||||||
--height-img-mobile: 18rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
@ -4,6 +4,7 @@
|
|||||||
--color-gray: gray;
|
--color-gray: gray;
|
||||||
--color-background: #f9f7f1;
|
--color-background: #f9f7f1;
|
||||||
--height-img: 10rem;
|
--height-img: 10rem;
|
||||||
|
--height-img-mobile: 12rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -91,4 +92,4 @@ pre {
|
|||||||
.article__random-background {
|
.article__random-background {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
:root {
|
|
||||||
--height-img-mobile: 18rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
@ -5,6 +5,7 @@
|
|||||||
--color-white: #fcead5;
|
--color-white: #fcead5;
|
||||||
--color-background: #e5d5c2;
|
--color-background: #e5d5c2;
|
||||||
--height-img: 10rem;
|
--height-img: 10rem;
|
||||||
|
--height-img-mobile: 12rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -95,4 +96,4 @@ pre {
|
|||||||
.article__random-background {
|
.article__random-background {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.article__header-img > a > img {
|
.article__header-img > a > img {
|
||||||
height: initial;
|
height: var(--height-img-mobile);
|
||||||
object-position: initial;
|
object-position: top;
|
||||||
object-fit: initial;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user