annotate mod_http_muc_log/static/style.css @ 5106:630887a50a7d

mod_http_muc_log: Fix error in js when displaying presence is disabled When the form is hidden, attempting to index forms[0] throws an error, however this is harmless since the script is finished by that point.
author Kim Alvefur <zash@zash.se>
date Sun, 04 Dec 2022 22:23:56 +0100
parents d4b0a995e5e3
children 1e10ddbf5c87
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3704
c6563625f60e mod_http_muc_log: More blue links to distinguish them as such (thanks jonas’)
Kim Alvefur <zash@zash.se>
parents: 3703
diff changeset
1 :link,:visited{color:#3465a4;text-decoration:none;}
c6563625f60e mod_http_muc_log: More blue links to distinguish them as such (thanks jonas’)
Kim Alvefur <zash@zash.se>
parents: 3703
diff changeset
2 :link:hover,:visited:hover{color:#6197df;}
1582
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 body{background-color:#eeeeec;margin:1ex 0;padding-bottom:3em;font-family:Arial,Helvetica,sans-serif;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 ul,ol{padding:0;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 li{list-style:none;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 hr{visibility:hidden;clear:both;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 br{clear:both;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 header,footer{margin:1ex 1em;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 footer{font-size:smaller;color:#babdb6;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 nav{font-size:large;margin:1ex 1ex;clear:both;line-height:1.5em;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 footer nav .up{display:none;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 @media screen and (min-width: 460px) {
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 nav {font-size:x-large;margin:1ex 1em;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 }
4198
b1a5c2ee49c4 mod_http_index,muc_log: More CSS tweaks
Kim Alvefur <zash@zash.se>
parents: 4196
diff changeset
15 nav a{padding:1ex}
b1a5c2ee49c4 mod_http_index,muc_log: More CSS tweaks
Kim Alvefur <zash@zash.se>
parents: 4196
diff changeset
16 nav li,nav dt{margin:1ex}
1582
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 nav .up{font-size:smaller;display:block;clear:both;}
3717
4c7d27542161 mod_http_muc_log: Add add an arrow to upwards navigation links (like on next/prev)
Kim Alvefur <zash@zash.se>
parents: 3716
diff changeset
18 nav .up::before{content:"↑ ";}
1582
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 nav .prev{float:left;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 nav .next{float:right;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 nav .next::after{content:" →";}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 nav .prev::before{content:"← ";}
3718
cc6f7e2e4a59 mod_http_muc_log: Add arrow to 'latest' link like on other navigation
Kim Alvefur <zash@zash.se>
parents: 3717
diff changeset
23 nav .last::after{content:" ⇥";}
1582
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 nav :empty::after,nav :empty::before{content:""}
1621
738e9874a374 mod_http_muc_log: Fix alignment of month-tables (Thanks March)
Kim Alvefur <zash@zash.se>
parents: 1606
diff changeset
25 table{display:inline-block; margin:1ex 1em;vertical-align:top;}
1606
2c8b985ebde5 mod_http_muc_log: Switch to a calendar view for selecting dates
Kim Alvefur <zash@zash.se>
parents: 1589
diff changeset
26 th{font-size:x-small}
3580
907ccda3f0d2 mod_http_muc_log: Increase clickable area on dates
Kim Alvefur <zash@zash.se>
parents: 3579
diff changeset
27 td{text-align:right;color:#bababa}
907ccda3f0d2 mod_http_muc_log: Increase clickable area on dates
Kim Alvefur <zash@zash.se>
parents: 3579
diff changeset
28 td > a, td > span{padding:0.4em}
1582
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 .content{background-color:white;padding:1em;list-style-position:inside;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 .time{float:right;font-size:small;opacity:0.2;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31 li:hover .time{opacity:1;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 .description{font-size:smaller;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 .body{white-space:pre-line;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 .body::before,.body::after{content:"";}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 .presence .verb{font-style:normal;color:#30c030;}
8e282eb0c70c mod_http_muc_log: Split out template into a configurable file.
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36 .unavailable .verb{color:#c03030;}
3691
be430d077d1c mod_http_muc_log: Make link to join room more button-looking
Kim Alvefur <zash@zash.se>
parents: 3690
diff changeset
37 .button{display:inline-block}
be430d077d1c mod_http_muc_log: Make link to join room more button-looking
Kim Alvefur <zash@zash.se>
parents: 3690
diff changeset
38 .button>a{color:white;background-color:orange;border-radius:4px}
4963
479d618c9e6d mod_http_muc_log: Show XEP-0444 reactions
Kim Alvefur <zash@zash.se>
parents: 4593
diff changeset
39 .reaction{font-size:smaller;outline:1px solid silver;border-radius:2px}
3485
181561d0aae5 mod_http_muc_log: Add functionality for hiding joins and parts
Kim Alvefur <zash@zash.se>
parents: 2083
diff changeset
40 form{text-align:right}
4592
38f501dca618 mod_http_muc_log: Find edit relations using XEP-0308
Kim Alvefur <zash@zash.se>
parents: 4591
diff changeset
41 li.edited{display:none}
38f501dca618 mod_http_muc_log: Find edit relations using XEP-0308
Kim Alvefur <zash@zash.se>
parents: 4591
diff changeset
42 li:target{outline:1px gray dotted;display:inherit}
4972
b49d72160497 mod_http_muc_log: Move OOB style from attribute to <style> in header
Kim Alvefur <zash@zash.se>
parents: 4963
diff changeset
43 figure img{max-height:9em;max-width:16em}
4073
f6542e51b741 mod_http_muc_log: Add a dark theme when the user asked for that.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3750
diff changeset
44 @media (prefers-color-scheme: dark) {
f6542e51b741 mod_http_muc_log: Add a dark theme when the user asked for that.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3750
diff changeset
45 html{color:#eee}
f6542e51b741 mod_http_muc_log: Add a dark theme when the user asked for that.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3750
diff changeset
46 body{background-color:#161616}
f6542e51b741 mod_http_muc_log: Add a dark theme when the user asked for that.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3750
diff changeset
47 .content{background-color:#1c1c1c}
f6542e51b741 mod_http_muc_log: Add a dark theme when the user asked for that.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3750
diff changeset
48 footer{color:#444}
f6542e51b741 mod_http_muc_log: Add a dark theme when the user asked for that.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3750
diff changeset
49 td{color:#444}
f6542e51b741 mod_http_muc_log: Add a dark theme when the user asked for that.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3750
diff changeset
50 .button>a{background-color:#282828}
f6542e51b741 mod_http_muc_log: Add a dark theme when the user asked for that.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3750
diff changeset
51 }
3485
181561d0aae5 mod_http_muc_log: Add functionality for hiding joins and parts
Kim Alvefur <zash@zash.se>
parents: 2083
diff changeset
52