annotate default/static/blog.css @ 108:98cab6b754d3

css (blog): set a max-width for videos
author Goffi <goffi@goffi.org>
date Wed, 24 Jan 2018 19:15:43 +0100
parents 65d41e16d1e0
children 7a67372ddd7b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
1 /*** articles ***/
16
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%;
101
920f03abba53 css (blog): min-height re-adjustment
Goffi <goffi@goffi.org>
parents: 100
diff changeset
9 min-height: 8em;
100
61bf2ae16577 css (blog): min/max height adjustment, to make tags clickable without expanding the blog item
Goffi <goffi@goffi.org>
parents: 99
diff changeset
10 max-height: 10em;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
11 overflow: hidden;
42
0c6aa1c81252 blog/item: transition fix
Goffi <goffi@goffi.org>
parents: 35
diff changeset
12 transition: max-height 0.5s;
16
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
108
98cab6b754d3 css (blog): set a max-width for videos
Goffi <goffi@goffi.org>
parents: 106
diff changeset
15 article video {
98cab6b754d3 css (blog): set a max-width for videos
Goffi <goffi@goffi.org>
parents: 106
diff changeset
16 max-width: 100%;
98cab6b754d3 css (blog): set a max-width for videos
Goffi <goffi@goffi.org>
parents: 106
diff changeset
17 height: auto;
98cab6b754d3 css (blog): set a max-width for videos
Goffi <goffi@goffi.org>
parents: 106
diff changeset
18
98cab6b754d3 css (blog): set a max-width for videos
Goffi <goffi@goffi.org>
parents: 106
diff changeset
19 }
98cab6b754d3 css (blog): set a max-width for videos
Goffi <goffi@goffi.org>
parents: 106
diff changeset
20
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
21 .main_article article.box:not(.clicked) {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
22 border-bottom-right-radius: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
23 border-bottom-left-radius: 0;
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
24 }
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
25
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
26 /** header **/
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
27
96
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
28 header a {
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
29 color: inherit;
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
30 text-decoration: inherit;
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
31 }
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
32
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
33 header .metadata {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
34 text-align: right;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
35 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
36
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
37 article .author {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
38 font-weight: bold;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
39 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
40
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
41 article .author::after {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
42 content: ", ";
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
43 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
44
96
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
45 /*** labels ***/
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
46
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
47 .labels {
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
48 text-align: right;
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
49 }
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
50
99
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
51 .labels a {
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
52 text-decoration: none;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
53 color: inherit;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
54 }
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
55
96
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
56 .labels span {
99
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
57 font-variant: small-caps;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
58 font-size: 0.8rem;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
59 background-color: #ddd;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
60 border-radius: 0.4em;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
61 padding: 0 0.5em;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
62 transition: all 0.5s;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
63 }
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
64
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
65 .labels a>span {
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
66 cursor: pointer;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
67 }
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
68
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
69 .labels a>span:hover {
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
70 box-shadow: 0px 0px 6px 1px #000;
96
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
71 }
94b5806b9e2f blog/item: various improvments:
Goffi <goffi@goffi.org>
parents: 93
diff changeset
72
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
73
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
74 /** content **/
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
75
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
76 article div.content {
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
77 text-align: justify;
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
78 font-size: 0.9em;
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
79 }
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
80
35
581e2cd4bcc2 static/blog.css: keep whitespaces (pre-wrap) for text only content in articles
Goffi <goffi@goffi.org>
parents: 33
diff changeset
81 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
82 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
83 }
581e2cd4bcc2 static/blog.css: keep whitespaces (pre-wrap) for text only content in articles
Goffi <goffi@goffi.org>
parents: 33
diff changeset
84
581e2cd4bcc2 static/blog.css: keep whitespaces (pre-wrap) for text only content in articles
Goffi <goffi@goffi.org>
parents: 33
diff changeset
85
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
86 article img {
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
87 max-width: 100%;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
88 margin: 0;
0
9a31d2c02f47 SàT templates, initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
89 }
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
90
93
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
91 /** navigation links **/
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
92
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
93 .bottom_links ul {
99
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
94 list-style: none;
93
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
95 display: flex;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
96 padding: 0 2em;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
97 margin: 0;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
98 }
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
99
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
100 .bottom_links li {
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
101 flex: 1;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
102 }
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
103
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
104 .bottom_links li.older_items {
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
105 text-align: right;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
106 }
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
107
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
108 .bottom_links img {
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
109 display: block;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
110 }
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
111
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
112 .bottom_links .older_items img {
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
113 display: block;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
114 margin-left: auto;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
115 margin-right: 0;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
116 }
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
117
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
118 .bottom_links a {
99
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
119 display: inline-block;
106
65d41e16d1e0 css (blog): small adjustment on bottom links margin/padding
Goffi <goffi@goffi.org>
parents: 105
diff changeset
120 margin-top: 1em;
65d41e16d1e0 css (blog): small adjustment on bottom links margin/padding
Goffi <goffi@goffi.org>
parents: 105
diff changeset
121 padding: 0.2em;
99
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
122 text-decoration: None;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
123 color: inherit;
609c66552ba0 blog/item: handle new tags_http_uri variable to make tags clickable
Goffi <goffi@goffi.org>
parents: 96
diff changeset
124 font-variant: small-caps;
104
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
125 background: rgba(200,200,200,0.6);
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
126 border-radius: 0.5em;
93
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
127 }
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
128
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
129 .bottom_links a:hover {
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
130 background-color: #ddd;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
131 }
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
132
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
133 /** reduce/expand buttons **/
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
134
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
135 .expand_box {
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
136 cursor: pointer;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
137 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
138
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
139 .box_top {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
140 position: absolute;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
141 top: 0;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
142 left: 0;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
143 width: 100%;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
144 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
145
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
146 .box_bottom {
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
147 position: absolute;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
148 bottom: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
149 left: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
150 width: 100%;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
151 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
152
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
153 .expand_box.box_bottom::before {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
154 /* we do a gradient to show that text can be expanded */
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
155 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
156 display: block;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
157 content: "";
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
158 width: 100%;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
159 height: 4em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
160 border: none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
161 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
162
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
163 .expand_box p {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
164 background-color: white;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
165 margin: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
166 text-align: center;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
167 font-weight: bold;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
168 font-size: 0.8em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
169 border-style: solid none dotted none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
170 border-width: 1px 0 1px;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
171 border-bottom-color: gray;
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
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
174 article .expand_box .hide {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
175 /* when not clicked, we only display .show */
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
176 display: none;
16
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
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
179 article .expand_box.box_top {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
180 /* top expand box only show a reduce button
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
181 * so it should be displayed only when article is .clicked */
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
182 display: none;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
183 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
184
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
185 /** other language **/
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
186
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
187 /* we hide everything just to display a message informing that
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
188 * the item is in an other language, and asking to click
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
189 * to display it */
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
190
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
191 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
192 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
193 }
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
194
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
195 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
196 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
197 }
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
198
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
199 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
200 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
201 }
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
202
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
203 article.other_lang.init>div.expand_box.box_top {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
204 /* as we need to have the message clickable, we cheat and use
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
205 * expand box on the whole surface but fully transparent */
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
206 display: initial;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
207 height: 100%;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
208 opacity: 0;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
209 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
210
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
211 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
212 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
213 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
214 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
215 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
216 }
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
217
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
218 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
219 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
220 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
221 padding: 0;
104
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
222 min-height: 0;
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
223 }
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
224
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
225 /*** comments ***/
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
226
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
227 button.comments_btn {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
228 border: none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
229 font-weight: bold;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
230 display: block;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
231 margin: 0 10% 0 auto;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
232 border-radius: 1em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
233 background: #b8bcc4;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
234 color: #4d4d4d;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
235 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
236
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
237 button.comments_btn:active {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
238 background: #4d4d4d;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
239 color: #b8bcc4;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
240 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
241
43
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
242 button.comments_btn.clicked span.show {
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
243 display: none;
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
244 }
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
245
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
246 button.comments_btn:not(.clicked) span.hide {
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
247 display: none;
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
248 }
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
249
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
250 .comments_panel {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
251 max-height: 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
252 opacity: 0;
43
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
253 transition: max-height 1s, opacity 2s;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
254 overflow: hidden;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
255 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
256
43
f8798d691acf blog/articles: fixed comments transition:
Goffi <goffi@goffi.org>
parents: 42
diff changeset
257 .comments_panel.clicked {
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
258 opacity: 1;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
259 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
260
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
261 .comments article {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
262 background-color: #9ca0a8;
33
be1aebaccac0 static/blog.css: removed max-height for comments
Goffi <goffi@goffi.org>
parents: 30
diff changeset
263 border: none;
be1aebaccac0 static/blog.css: removed max-height for comments
Goffi <goffi@goffi.org>
parents: 30
diff changeset
264 max-height: none;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
265 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
266
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
267 .comment_post {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
268 text-align: center;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
269 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
270
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
271 .comment_post input {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
272 display: block;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
273 margin: 0 auto;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
274 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
275
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
276 .comment_post textarea {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
277 border-style: solid;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
278 border-width: 1px 0;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
279 border-color: black;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
280 max-width: 100%;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
281 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
282
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
283 .comments_panel article .expand_box {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
284 /* no expand box in comments */
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
285 display: none;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
286 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
287
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
288 /*** media queries ***/
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
289
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
290 @media (min-width: 500px) {
104
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
291 /*** general ***/
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
292
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
293 #main_area {
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
294 background-image: var(--bg-img);
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
295 background-repeat: no-repeat;
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
296 background-size: cover;
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
297 }
b12de12e2e5b css (blog): add a background image if --bg-img custom property is set (in dynamic style)
Goffi <goffi@goffi.org>
parents: 101
diff changeset
298
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
299 article.box {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
300 width: 80%;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
301 border-style: solid solid none solid;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
302 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
303 .comments article.box {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
304 width: 30rem;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
305 margin: 2% auto;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
306 border: none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
307 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
308 .comment_post textarea {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
309 border-width: 1px;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
310 border-radius: 1em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
311 border: solid 1px;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
312 padding: 0.5em;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
313 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
314
93
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
315 .bottom_links ul {
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
316 padding: 0 6em;
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
317 }
650f3456f80d blog/articles: added simple pagination
Goffi <goffi@goffi.org>
parents: 44
diff changeset
318
105
490114e3d9e2 css (blog): set background to footer to make it visible is an image is in background
Goffi <goffi@goffi.org>
parents: 104
diff changeset
319 footer span {
490114e3d9e2 css (blog): set background to footer to make it visible is an image is in background
Goffi <goffi@goffi.org>
parents: 104
diff changeset
320 background: rgba(200,200,200,0.6);
490114e3d9e2 css (blog): set background to footer to make it visible is an image is in background
Goffi <goffi@goffi.org>
parents: 104
diff changeset
321 border-radius: 0.5em 0.5em 0 0;
490114e3d9e2 css (blog): set background to footer to make it visible is an image is in background
Goffi <goffi@goffi.org>
parents: 104
diff changeset
322 padding: 0 0.5em;
490114e3d9e2 css (blog): set background to footer to make it visible is an image is in background
Goffi <goffi@goffi.org>
parents: 104
diff changeset
323 }
490114e3d9e2 css (blog): set background to footer to make it visible is an image is in background
Goffi <goffi@goffi.org>
parents: 104
diff changeset
324
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
325 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
326
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
327 /*** clicked ***/
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
328
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
329 .main_article article.clicked {
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
330 border-bottom-style: solid;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
331 }
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
332
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
333 .main_article article.clicked .expand_box.box_top {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
334 display: initial;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
335 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
336
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
337 .main_article article.clicked .expand_box {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
338 opacity: 0;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
339 transition: opacity 0.5s;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
340 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
341
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
342 .main_article article.clicked .expand_box p {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
343 background-color: transparent;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
344 border: none;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
345 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
346
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
347 .main_article article.clicked .expand_box:hover {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
348 opacity: 1;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
349 color: grey;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
350 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
351
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
352 .main_article article.clicked .expand_box::before {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
353 background-image: none;
16
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
354 display: none;
8cdcbe0d7dee blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents: 1
diff changeset
355 }
44
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
356
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
357 .main_article article.clicked .expand_box .hide {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
358 display: inline;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
359 }
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
360
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
361 .main_article article.clicked .expand_box .show {
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
362 display: none;
580670430fa2 blog/item: expand/reduce improvments:
Goffi <goffi@goffi.org>
parents: 43
diff changeset
363 }