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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
body {
margin-top: $navbar-height;
padding: none;
}
.container-fluid { max-width: $screen-lg-min; }
// These names are generated by a rails controller
// scss-lint:disable SelectorFormat
.page-contacts,
.page-conversations,
.page-notifications,
.page-people.action-show,
.page-people.action-contacts,
.page-photos,
.page-posts,
.page-profiles.action-edit,
.page-services.action-index,
.page-streams,
.page-tags,
.page-user_applications,
.page-users.action-edit,
.page-users.action-update,
.page-users.action-privacy_settings {
background-color: $main-background;
}
// scss-lint:enable SelectorFormat
// Overflow
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
code,
pre { word-wrap: break-word; }
.tag { word-break: break-all; }
.avatar {
border-radius: 4px;
&.micro {
height: 20px;
width: 20px;
}
&.small {
height: 35px;
width: 35px;
}
&.medium {
height: auto;
max-width: 75px;
width: auto;
}
}
.back-to-top {
background-color: $border-dark-grey;
border-radius: 4px;
bottom: 20px;
color: $white;
display: block;
font-size: 3.5em;
height: 50px;
line-height: 50px;
opacity: 0;
pointer-events: none;
position: fixed;
right: 20px;
text-decoration: none;
transition: opacity ease 400ms;
width: 50px;
z-index: 49;
&:hover,
&:focus,
&:active {
color: $white;
text-decoration: none;
}
&.visible {
opacity: .5;
pointer-events: auto;
&:hover {
opacity: .85;
}
}
}
.noscript {
background-color: rgba($black, .9);
height: 100%;
margin-top: -50px;
position: fixed;
width: 100%;
z-index: 9001;
h3 {
background-color: $white;
margin: 100px;
padding: 50px;
}
}
// general purpose classes
.small-horizontal-spacer {
min-height: 20px;
}
// badge color
.badge-important {
background-color: $red;
}
|