diff --git a/static/painting/css/painting.css b/static/painting/css/painting.css index 89bebb1..935b198 100644 --- a/static/painting/css/painting.css +++ b/static/painting/css/painting.css @@ -131,8 +131,8 @@ html { .tab2-box { position: fixed; - top: 1rem; - padding: 1rem 1rem; + top: 2rem; + padding-left: 2rem; font-size: 1.75rem; color: #FFFFFFD9; } @@ -148,8 +148,8 @@ html { .tab3-box { position: fixed; - top: 1rem; - padding: 1rem 1rem; + top: 2rem; + padding-left: 2rem; font-size: 1.75rem; color: #ffa940; } @@ -164,20 +164,34 @@ html { } .tab4-box { - writing-mode: vertical-lr; - position: fixed; + position: relative;; top: 2rem; - font-size: 1.75rem; - color: #FFFFFFD9; + left: 2rem; + line-height: 2rem; + color: #448288D9; } -#tab4 > .tab4-box > p:last-child { - writing-mode: horizontal-tb; - margin: 0 0; - height: 30vh; - width: 13rem; +#tab4 > .tab4-box > p:nth-child(1) { + width: 7rem; + font-size: 2.5rem; +} + +#tab4 > .tab4-box > p:nth-child(2) { + font-size: 1.5rem; + width: 16rem; +} + +#tab4 > .tab4-box > p:nth-child(3) { font-size: 1.25rem; - line-height: 1.75rem; + width: 14rem; +} + +#tab4 > .tab4-box > p:nth-child(4) { + font-size: 2rem; +} + +#tab4 > .tab4-box > p:nth-child(5) { + font-size: 2rem; } @@ -186,13 +200,59 @@ html { } .tab5-box { + writing-mode: vertical-lr; + position: fixed; + top: 2rem; + font-size: 1.75rem; + color: #FFFFFFD9; +} + +#tab5 > .tab5-box > p:last-child { + writing-mode: horizontal-tb; + margin: 0 0; + height: 30vh; + width: 13rem; + font-size: 1.25rem; + line-height: 1.75rem; +} + +#tab6 { + background-image: url('../img/page6.jpg'); +} + +.tab6-box { + position: relative; + padding: 1rem; + text-align: center; + line-height: 2rem; + color: #613f38c7; +} + +#tab6 > .tab6-box > p:nth-child(1) { + font-size: 2rem; +} + +#tab6 > .tab6-box > p:nth-child(2) { + font-size: 1.25rem; +} + +#tab6 > .tab6-box > p:nth-child(3) { + font-size: 1.5rem; +} + + +#tab7 { + background-image: url('../img/page7.jpg'); +} + +.tab7-box { position: relative; top: 2rem; left: 0.75rem; color: #597ef7; } -#tab5 > .tab5-box > p:nth-child(1) { +#tab7 > .tab7-box > p:nth-child(1) { position: relative; top: -6rem; left: 0.8rem; @@ -200,7 +260,7 @@ html { font-size: 1.75rem; } -#tab5 > .tab5-box > p:nth-child(2) { +#tab7 > .tab7-box > p:nth-child(2) { position: relative; top: 3.2rem; left: 7.8rem; @@ -208,7 +268,7 @@ html { font-size: 3.5rem; } -#tab5 > .tab5-box > p:nth-child(3) { +#tab7 > .tab7-box > p:nth-child(3) { position: relative; top: 8rem; left: 2rem; @@ -216,7 +276,7 @@ html { font-size: 2.5rem; } -#tab5 > .tab5-box > p:nth-child(4) { +#tab7 > .tab7-box > p:nth-child(4) { position: relative; top: -13rem; left: 11.7rem; @@ -224,7 +284,7 @@ html { font-size: 1.75rem; } -#tab5 > .tab5-box > p:nth-child(5) { +#tab7 > .tab7-box > p:nth-child(5) { position: relative; top: -5.6rem; left: 9.7rem; @@ -232,51 +292,52 @@ html { font-size: 2rem; } -#tab5 > .tab5-box > p:nth-child(6) { +#tab7 > .tab7-box > p:nth-child(6) { + position: relative; + top: 3rem; + left: 2rem; + font-size: 1.5rem; + line-height: 3rem; +} + +#tab7 > .tab7-box > p:nth-child(6) > small { + font-size: 3rem; +} + +#tab7 > .tab7-box > p:nth-child(7) { position: relative; top: 2rem; left: 2rem; font-size: 1.5rem; + line-height: 3rem; } -#tab5 > .tab5-box > p:nth-child(6) > small { - font-size: 3rem; -} - -#tab5 > .tab5-box > p:nth-child(7) { - position: relative; - top: 2rem; - left: 2rem; - font-size: 1.5rem; - line-height: 0; -} - -#tab5 > .tab5-box > p:nth-child(7) > small { +#tab7 > .tab7-box > p:nth-child(7) > small { font-size: 3rem; } -#tab6 { - background-image: url('../img/page6.jpg'); +#tab8 { + background-image: url('../img/page8.jpg'); } -#tab6 > .tab6-box { +#tab8 > .tab8-box { position: fixed; bottom: 7%; padding-left: 2rem; - font-size: 1.75rem; + font-size:1.75rem; color: #FFFFFFD9; } -#tab7 { - background-image: url('../img/page7.jpg'); +#tab9 { + background-image: url('../img/page9.jpg'); } -#tab7 > .tab7-box{ +#tab9 > .tab9-box { padding: 2rem 2rem; } -.tab7-box > p { +.tab9-box > p { font-family: 'dongzhu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; diff --git a/static/painting/img/page4.jpg b/static/painting/img/page4.jpg index b4cb88a..3b21682 100644 Binary files a/static/painting/img/page4.jpg and b/static/painting/img/page4.jpg differ diff --git a/static/painting/img/page5.jpg b/static/painting/img/page5.jpg index aa9dd92..b4cb88a 100644 Binary files a/static/painting/img/page5.jpg and b/static/painting/img/page5.jpg differ diff --git a/static/painting/img/page6.jpg b/static/painting/img/page6.jpg index b674226..bc4d971 100644 Binary files a/static/painting/img/page6.jpg and b/static/painting/img/page6.jpg differ diff --git a/static/painting/img/page7.jpg b/static/painting/img/page7.jpg index d5a5159..aa9dd92 100644 Binary files a/static/painting/img/page7.jpg and b/static/painting/img/page7.jpg differ diff --git a/static/painting/img/page8.jpg b/static/painting/img/page8.jpg new file mode 100644 index 0000000..b674226 Binary files /dev/null and b/static/painting/img/page8.jpg differ diff --git a/static/painting/img/page9.jpg b/static/painting/img/page9.jpg new file mode 100644 index 0000000..d5a5159 Binary files /dev/null and b/static/painting/img/page9.jpg differ diff --git a/templates/painting.html b/templates/painting.html index 6b1cfdc..992902f 100644 --- a/templates/painting.html +++ b/templates/painting.html @@ -70,31 +70,47 @@
-

{{ special_post.date }}那天,你写下了

+

其中

+

{{ long_post.title }}

+

{{ long_post.content[:50] }}

+

长似一江春水

+

永不止息 ~

+
+
+
+
+

在{{ special_post.date }}那天,你写下了

{{ special_post.title }}

{{ special_post.content[:50] }}……

-
-
+
+
+

{{ sentiment_post.title }}

+

{{ sentiment_post.content[:50] }}

+

如初春的暖阳,宁静而怡人

+
+
+
+
{% for keyword in blog.top_post_keys[0:5] %} -

{{ keyword[0] }}

+

{{ keyword[0] }}

{% endfor %}

这些都是

专属关键词

-
-
+
+

热爱{% if blog.category == 1 %}生活{% else %}技术{% endif %}的你

一定要继续砥砺前行!

-
-
+
+

{{ custom.yiyan }}