about summary refs log tree commit diff
path: root/useful.css
blob: 141d6437be5ea7f2b96a0d20ec78031c93d4ddf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/* why is this not default? */
.status__display-name {
  unicode-bidi: isolate;
}


/* make single-column masto a little more breathable by adding some space between toots */
.status,
.status__wrapper--filtered {
	border-bottom: 10px solid #191b22;
}


/* hide federated timeline buttons  */
a[href="/web/timelines/public"] {
  display: none;
}


/* hide action bar for faves/boosts in notifications 
(and polls since there's currently no way to distinguish them...) */
.status.muted .status__action-bar {
  display: none !important;
}


/* increase font sizes slightly */
body {
  font-size: 14px; /* was 13px */
}
.status__content {
  font-size: 16px; /* was 15px */
  line-height: 22px; /* was 20px */
}
.status__content__spoiler-link {
  font-size: 12px; /* was 11px */
  /* inherits line-height from status__content */
}
.column-header,
.column-link /* the "Getting started" sidebar */{
  font-size: 17px; /* was 16px */
}
.status__prepend /* "$user boosted" */,
.notification__message /* "$user favourited your toot", etc. */ {
  font-size: 15px; /* was 14px for status__prepend, 15px for notification__message */
}
.compose-form__autosuggest-wrapper label .autosuggest-textarea__textarea,
.composer--spoiler input {
  font-size: 16px; /* was 14px */
}
/* in settings menu */
.admin-wrapper .sidebar {
  font-size: 15px;
}
.admin-wrapper .content h4 {
  font-size: 14px;
}
.simple_form span.hint {
  font-size: 13px; /* was 12px */
}


/* turn action bars into popups */
.status__action-bar {
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: height 0.6s;
  transition-delay: 0.4s;
  height: 0px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.status__action-bar button:first-child {
  margin-left: 8px;
}
.status__action-bar .status__relative-time {
  padding-right: 8px;
}
.status:hover .status__action-bar {
  height: 32px;
}
.status__action-bar,
.detailed-status__action-bar {
    background: #0009;
}


/* https://github.com/psydwannabe/mastodon-snippets/blob/master/CSS/embiggen-emojos.css */
/* Emojos in the "reply" box that appears above the status update text box when 
 * you click the "reply" button on a toot  */
.reply-indicator__content .emojione, 

/* Emojos in toots across the rest of the entire web client */
.status__content .emojione {
	width: 25px;	/* Stock is 20px */
	height: 25px;	/* Stock is 20px */
}

/* Emojos in the "Emoji Mart" (pop-out from emoji button) in compose window */
.emoji-mart-category .emoji-mart-emoji span {
	width: 33px !important; /* stock: 20px; defined inline */
	height: 33px !important; /* stock: 20px; defined inline */
}