diff options
author | YaQ <i_k_o_m_a_7@yahoo.co.jp> | 2017-10-18 05:20:07 +0900 |
---|---|---|
committer | unarist <m.unarist@gmail.com> | 2017-10-18 05:20:07 +0900 |
commit | 6e5471947438fc5883e72b8184663564ffadee28 (patch) | |
tree | 9593a5bbd3a3a7e514cea03faabe2320410a57ac /app/javascript/styles/mastodon/compact_header.scss | |
parent | f3003417c5e109f41912b3595536c6adae81c97b (diff) |
Make theme directory and Rename application.scss (#5336)
* Rename application.scss * Move to 'default' directory * Follow review Move directory, and Rename "mastodon". * Revert rename * undo removal of newline
Diffstat (limited to 'app/javascript/styles/mastodon/compact_header.scss')
-rw-r--r-- | app/javascript/styles/mastodon/compact_header.scss | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/compact_header.scss b/app/javascript/styles/mastodon/compact_header.scss new file mode 100644 index 000000000..90d98cc8c --- /dev/null +++ b/app/javascript/styles/mastodon/compact_header.scss @@ -0,0 +1,34 @@ +.compact-header { + h1 { + font-size: 24px; + line-height: 28px; + color: $ui-primary-color; + font-weight: 500; + margin-bottom: 20px; + padding: 0 10px; + word-wrap: break-word; + + @media screen and (max-width: 740px) { + text-align: center; + padding: 20px 10px 0; + } + + a { + color: inherit; + text-decoration: none; + } + + small { + font-weight: 400; + color: $ui-secondary-color; + } + + img { + display: inline-block; + margin-bottom: -5px; + margin-right: 15px; + width: 36px; + height: 36px; + } + } +} |