Skip to content
This repository was archived by the owner on Sep 14, 2020. It is now read-only.

Commit e3f44e6

Browse files
committed
release 0.2.0
1 parent 3ec17b6 commit e3f44e6

File tree

2 files changed

+40
-4
lines changed

2 files changed

+40
-4
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
## v0.2.0
4+
5+
- Fix update link
6+
- Add compact styling for the Topbar (Room Header & Top Left Button)
7+
8+
## v0.1.0
9+
10+
- Initial pre-release

riot-compact.user.css

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
11
/* ==UserStyle==
22
@name Riot Compact
33
@namespace Riot-Compact
4-
@version 0.1.0
4+
@version 0.2.0
55
@description A Riot Web Compact Theme
66
@author Danny Colin
77
@license MPL 2.0
88
@homepageURL https://github.com/dannycolin/riot-compact
9-
@updateURL https://raw.githubusercontent.com/dannycolin/riot-compact/master/riot-compact.css
9+
@updateURL https://raw.githubusercontent.com/dannycolin/riot-compact/master/riot-compact.user.css
1010
==/UserStyle== */
1111

1212
@-moz-document domain("chat.mozilla.org"), domain("riot.im"), domain("modular.im") {
1313
/* -------------------- */
1414
/* Avatars */
1515
/* -------------------- */
1616

17-
/* Rooms avatar */
17+
/* Avatar image */
18+
.mx_TopLeftMenuButton .mx_BaseAvatar_image,
19+
.mx_RoomHeader .mx_BaseAvatar_image,
1820
.mx_RoomTile .mx_BaseAvatar_image,
1921
.mx_EntityTile .mx_BaseAvatar_image {
2022
width: 16px;
2123
height: 16px;
2224
}
2325
/* Initial letter in generated avatars */
26+
.mx_TopLeftMenuButton .mx_BaseAvatar_initial,
27+
.mx_RoomHeader .mx_BaseAvatar_initial,
2428
.mx_RoomTile .mx_BaseAvatar_initial,
2529
.mx_EntityTile .mx_BaseAvatar_initial {
2630
width: 16px !important;
@@ -50,5 +54,27 @@
5054
height: 24px;
5155
align-items: normal;
5256
}
53-
57+
58+
/* -------------------- */
59+
/* Topbar */
60+
/* -------------------- */
61+
.mx_TopLeftMenuButton,
62+
.mx_RoomHeader {
63+
flex: 0 0 32px;
64+
}
65+
.mx_TopLeftMenuButton,
66+
.mx_RoomHeader_wrapper {
67+
height: 32px;
68+
}
69+
.mx_RoomHeader_name,
70+
.mx_TopLeftMenuButton_name {
71+
font-size: 16px;
72+
}
73+
.mx_RoomHeader_avatar {
74+
margin-top: 12px;
75+
}
76+
.mx_RoomHeader_topic {
77+
margin-top: 2px;
78+
max-height: 1.2em;
79+
}
5480
}

0 commit comments

Comments
 (0)