annotate default/static/blog.css @ 43:f8798d691acf

blog/articles: fixed comments transition: - as for blog articles, removed max-height workaround in favor of clicked_mh_fix function - changed show to hide in button when comments are expanded - reduced transition time
author Goffi <goffi@goffi.org>
date Thu, 13 Jul 2017 08:41:07 +0200
parents 0c6aa1c81252
children 580670430fa2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
1 /**** articles ****/
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
2
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
3 article.box {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
4 position: relative;
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
5 margin: 2% auto;
33
be1aebaccac0 static/blog.css: removed max-height for comments
Goffi <goffi@goffi.org>
parents: 30
diff changeset
6 border-style: solid none none;
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
7 border-width: 1px;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
8 padding: 2%;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
9 max-height: 7em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
10 overflow: hidden;
42
0c6aa1c81252 blog/item: transition fix
Goffi <goffi@goffi.org>
parents: 35
diff changeset
11 transition: max-height 0.5s;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
12 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
13
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
14 .main_article article.box:not(.clicked) {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
15 border-bottom-right-radius: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
16 border-bottom-left-radius: 0;
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
17 }
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
18
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
19 /* header */
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
20
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
21 header .metadata {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
22 text-align: right;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
23 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
24
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
25 article .author {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
26 font-weight: bold;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
27 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
28
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
29 article .author::after {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
30 content: ", ";
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
31 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
32
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
33
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
34 /* content */
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
35
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
36 article div.content {
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
37 text-align: justify;
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
38 font-size: 0.9em;
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
39 }
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
40
35
581e2cd4bcc2 static/blog.css: keep whitespaces (pre-wrap) for text only content in articles
Goffi <goffi@goffi.org>
parents: 33
diff changeset
41 article div.content.text {
581e2cd4bcc2 static/blog.css: keep whitespaces (pre-wrap) for text only content in articles
Goffi <goffi@goffi.org>
parents: 33
diff changeset
42 white-space: pre-wrap;
581e2cd4bcc2 static/blog.css: keep whitespaces (pre-wrap) for text only content in articles
Goffi <goffi@goffi.org>
parents: 33
diff changeset
43 }
581e2cd4bcc2 static/blog.css: keep whitespaces (pre-wrap) for text only content in articles
Goffi <goffi@goffi.org>
parents: 33
diff changeset
44
581e2cd4bcc2 static/blog.css: keep whitespaces (pre-wrap) for text only content in articles
Goffi <goffi@goffi.org>
parents: 33
diff changeset
45
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
46 article img {
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
47 max-width: 100%;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
48 margin: 0;
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
49 }
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
50
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
51 .expand_box {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
52 display: none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
53 position: absolute;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
54 bottom: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
55 left: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
56 width: 100%;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
57 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
58
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
59 .expand_box::before {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
60 background-image: linear-gradient(to bottom,rgba(0,0,0,0),#ffffff);
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
61 display: block;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
62 content: "";
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
63 width: 100%;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
64 height: 4em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
65 border: none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
66 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
67
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
68 .expand_box p {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
69 background-color: white;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
70 margin: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
71 text-align: center;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
72 font-weight: bold;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
73 font-size: 0.8em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
74 border-style: solid none dotted none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
75 border-width: 1px 0 1px;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
76 border-bottom-color: gray;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
77 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
78
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
79 .main_article .expand_box {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
80 display: initial;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
81 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
82
30
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
83 article.other_lang>div.info {
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
84 display: none;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
85 }
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
86
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
87 article.other_lang.init>* {
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
88 display: none;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
89 }
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
90
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
91 article.other_lang.init>div.info {
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
92 display: initial;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
93 }
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
94
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
95 article.other_lang.init>div.info>p {
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
96 margin: 0;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
97 padding: 0.2em;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
98 text-align: center;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
99 font-style: italic;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
100 }
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
101
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
102 article.other_lang.init {
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
103 border: none;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
104 border-radius: 0;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
105 padding: 0;
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
106 }
69a2e3bf5e17 blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
Goffi <goffi@goffi.org>
parents: 16
diff changeset
107
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
108 /**** comments ****/
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
109
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
110 button.comments_btn {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
111 border: none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
112 font-weight: bold;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
113 display: block;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
114 margin: 0 10% 0 auto;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
115 border-radius: 1em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
116 background: #b8bcc4;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
117 color: #4d4d4d;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
118 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
119
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
120 button.comments_btn:active {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
121 background: #4d4d4d;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
122 color: #b8bcc4;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
123 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
124
43
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
125 button.comments_btn.clicked span.show {
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
126 display: none;
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
127 }
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
128
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
129 button.comments_btn:not(.clicked) span.hide {
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
130 display: none;
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
131 }
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
132
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
133 .comments_panel {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
134 max-height: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
135 opacity: 0;
43
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
136 transition: max-height 1s, opacity 2s;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
137 overflow: hidden;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
138 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
139
43
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
140 .comments_panel.clicked {
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
141 opacity: 1;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
142 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
143
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
144 .comments article {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
145 background-color: #9ca0a8;
33
be1aebaccac0 static/blog.css: removed max-height for comments
Goffi <goffi@goffi.org>
parents: 30
diff changeset
146 border: none;
be1aebaccac0 static/blog.css: removed max-height for comments
Goffi <goffi@goffi.org>
parents: 30
diff changeset
147 max-height: none;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
148 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
149
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
150 .comment_post {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
151 text-align: center;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
152 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
153
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
154 .comment_post input {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
155 display: block;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
156 margin: 0 auto;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
157 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
158
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
159 .comment_post textarea {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
160 border-style: solid;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
161 border-width: 1px 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
162 border-color: black;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
163 max-width: 100%;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
164 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
165
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
166 /**** media queries ****/
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
167
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
168 @media (min-width: 500px) {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
169 article.box {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
170 width: 80%;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
171 border-style: solid solid none solid;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
172 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
173 .comments article.box {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
174 width: 30rem;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
175 margin: 2% auto;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
176 border: none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
177 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
178 .comment_post textarea {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
179 border-width: 1px;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
180 border-radius: 1em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
181 border: solid 1px;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
182 padding: 0.5em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
183 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
184
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
185 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
186
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
187 /**** clicked ****/
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
188
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
189 .main_article article.clicked {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
190 border-bottom-style: solid;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
191 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
192
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
193 .clicked .expand_box {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
194 display: none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
195 }