2017-04-12 23:01:59 +09:00
|
|
|
body {
|
2017-09-01 23:13:31 +09:00
|
|
|
font-family: 'mastodon-font-sans-serif', sans-serif;
|
2017-07-11 22:27:59 +09:00
|
|
|
background: $ui-base-color;
|
2017-04-12 23:01:59 +09:00
|
|
|
background-size: cover;
|
|
|
|
background-attachment: fixed;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
font-weight: 400;
|
2017-05-08 22:57:49 +09:00
|
|
|
color: $primary-text-color;
|
2017-09-02 04:01:23 +09:00
|
|
|
padding-bottom: 20px;
|
2017-04-12 23:01:59 +09:00
|
|
|
text-rendering: optimizelegibility;
|
|
|
|
font-feature-settings: "kern";
|
|
|
|
text-size-adjust: none;
|
2017-07-07 04:26:07 +09:00
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
2017-04-12 23:01:59 +09:00
|
|
|
|
2017-09-01 23:13:31 +09:00
|
|
|
&.system-font {
|
|
|
|
// system-ui => standard property (Chrome/Android WebView 56+, Opera 43+, Safari 11+)
|
|
|
|
// -apple-system => Safari <11 specific
|
|
|
|
// BlinkMacSystemFont => Chrome <56 on macOS specific
|
|
|
|
// Segoe UI => Windows 7/8/10
|
|
|
|
// Oxygen => KDE
|
|
|
|
// Ubuntu => Unity/Ubuntu
|
|
|
|
// Cantarell => GNOME
|
|
|
|
// Fira Sans => Firefox OS
|
|
|
|
// Droid Sans => Older Androids (<4.0)
|
|
|
|
// Helvetica Neue => Older macOS <10.11
|
|
|
|
// mastodon-font-sans-serif => web-font (Roboto) fallback and newer Androids (>=4.0)
|
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", mastodon-font-sans-serif, sans-serif;
|
2017-08-25 02:28:49 +09:00
|
|
|
}
|
|
|
|
|
2017-04-12 23:01:59 +09:00
|
|
|
&.app-body {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2017-05-08 22:57:49 +09:00
|
|
|
background: $ui-base-color;
|
2017-04-12 23:01:59 +09:00
|
|
|
}
|
|
|
|
|
2017-07-11 22:27:59 +09:00
|
|
|
&.about-body {
|
|
|
|
background: darken($ui-base-color, 8%);
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-04-12 23:01:59 +09:00
|
|
|
&.embed {
|
|
|
|
background: transparent;
|
|
|
|
margin: 0;
|
2017-09-09 23:23:44 +09:00
|
|
|
padding-bottom: 0;
|
2017-04-12 23:01:59 +09:00
|
|
|
|
|
|
|
.container {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.admin {
|
2017-05-08 22:57:49 +09:00
|
|
|
background: darken($ui-base-color, 4%);
|
2017-04-12 23:01:59 +09:00
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-09-25 11:04:04 +09:00
|
|
|
|
|
|
|
&.error {
|
|
|
|
text-align: center;
|
|
|
|
color: $ui-primary-color;
|
|
|
|
padding: 20px;
|
|
|
|
|
|
|
|
.dialog img {
|
|
|
|
display: block;
|
|
|
|
margin: 20px auto;
|
|
|
|
margin-top: 50px;
|
|
|
|
max-width: 600px;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog h1 {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
}
|
2017-04-12 23:01:59 +09:00
|
|
|
}
|
|
|
|
|
2017-05-26 04:15:41 +09:00
|
|
|
button {
|
|
|
|
font-family: inherit;
|
2017-05-27 07:53:25 +09:00
|
|
|
cursor: pointer;
|
2017-05-26 04:15:41 +09:00
|
|
|
|
2017-05-27 07:53:25 +09:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2017-04-12 23:01:59 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.app-holder {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|