Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monochromeのちょっとだけレスポンシブ化 #8

Open
kmuto opened this issue Jul 25, 2017 · 1 comment
Open

monochromeのちょっとだけレスポンシブ化 #8

kmuto opened this issue Jul 25, 2017 · 1 comment

Comments

@kmuto
Copy link

kmuto commented Jul 25, 2017

monochromeテーマを改変して利用していますが、こんな感じのを入れておくとどうでしょう。
スマホ縦置きなどの横幅が不足する画面時に、サイドバーをやめて記事末尾に移動します。

@media screen and (max-width: 600px) {
  div.main {
    margin-left: 0;
  }

  div.sidebar {
    position: relative;
    top: 0;
    left: 0;
  }
}
@tdtds
Copy link
Member

tdtds commented Jul 26, 2017

そうですねぇ、そもそもこういうのは、coreのbase.cssに入れておくべきかも知れません。影響大きいかなぁ。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants