Skip to main content
deleted 59 characters in body
Source Link
user
  • 259
  • 1
  • 7

Here's the CSS for the adaptive StackExchange layout that works for screens from 1024px

html, body { min-width: 1000px; }

.topbar .topbar-wrapper, #system-message, #header, #content, .footerwrap, #footer #footer-sites
{ max-width: 1060px; width: auto; }

#sidebar { max-width: 300px; width: calc(100% - 760px); }

.topbar .topbar-links { right: -8px; margin-right: 8px; }

What'sIt doesn't change the problem to use it?appearance for big screens, but adapts the sidebar size for small ones.

I suggest the StackExchange team use it officially. All you'll have to do to support this code in future is write adaptive side menu blocks that look ok from 240px to 300px. AdsThe ads (images) can be scaled via width: 100%, that shouldn't bother anyone since they will be reduced inmax to 80% of their initial size and only for 2% of users. And that's the only way to make the site usage comfortable for these users anyway.

EDIT: I'm getting downvoted. Perhaps And I suggest you didn't understood that this is not some layout code taken from somewhere, but the actually working CSS for the StackExchange websites that can be used over the existing layoutuser with a horizontal scrollbar, use this code right now (e.g. via Stylish). It doesn't change the appearance for big screens, but adapts the sidebar size for small ones.

Here's the CSS for the adaptive StackExchange layout that works for screens from 1024px

html, body { min-width: 1000px; }

.topbar .topbar-wrapper, #system-message, #header, #content, .footerwrap, #footer #footer-sites
{ max-width: 1060px; width: auto; }

#sidebar { max-width: 300px; width: calc(100% - 760px); }

.topbar .topbar-links { right: -8px; margin-right: 8px; }

What's the problem to use it?

All you'll have to do is write adaptive side menu blocks that look ok from 240px to 300px. Ads can be scaled via width: 100%, that shouldn't bother anyone since they will be reduced in size only for 2%. And that's the only way to make site usage comfortable for these users anyway.

EDIT: I'm getting downvoted. Perhaps you didn't understood that this is not some layout code taken from somewhere, but the actually working CSS for the StackExchange websites that can be used over the existing layout right now (e.g. via Stylish). It doesn't change the appearance for big screens, but adapts the sidebar size for small ones.

Here's the CSS for the adaptive StackExchange layout that works for screens from 1024px

html, body { min-width: 1000px; }

.topbar .topbar-wrapper, #system-message, #header, #content, .footerwrap, #footer #footer-sites
{ max-width: 1060px; width: auto; }

#sidebar { max-width: 300px; width: calc(100% - 760px); }

.topbar .topbar-links { right: -8px; margin-right: 8px; }

It doesn't change the appearance for big screens, but adapts the sidebar size for small ones.

I suggest the StackExchange team use it officially. All you'll have to do to support this code in future is write adaptive side menu blocks that look ok from 240px to 300px. The ads (images) can be scaled via width: 100%, that shouldn't bother anyone since they will be reduced max to 80% of their initial size and only for 2% of users. And that's the only way to make the site usage comfortable for these users anyway.

And I suggest you, user with a horizontal scrollbar, use this code right now via Stylish.

fix topbar padding
Source Link
user
  • 259
  • 1
  • 7

Here's the CSS for the adaptive StackExchange layout that works for screens from 1024px

html, body { min-width: 1000px; }

.topbar .topbar-wrapper, #system-message, #header, #content, .footerwrap, #footer #footer-sites
{ max-width: 1060px; width: auto; }

#sidebar { max-width: 300px; width: calc(100% - 760px); } 

.topbar .topbar-links { right: -8px; margin-right: 8px; }

What's the problem to use it?

All you'll have to do is write adaptive side menu blocks that look ok from 240px to 300px. Ads can be scaled via width: 100%, that shouldn't bother anyone since they will be reduced in size only for 2%. And that's the only way to make site usage comfortable for these users anyway.

EDIT: I'm getting downvotesdownvoted. Perhaps you didn't understood that this is not some layout code taken from somewhere, but the actually working CSS for the StackExchange websites that can be used over the existing layout right now (e.g. via Stylish). It doesn't change the appearance for big screens, but adapts the sidebar size for small ones.

Here's the CSS for the adaptive StackExchange layout that works for screens from 1024px

html, body { min-width: 1000px; }

.topbar .topbar-wrapper, #system-message, #header, #content, .footerwrap, #footer #footer-sites
{ max-width: 1060px; width: auto; }

#sidebar { max-width: 300px; width: calc(100% - 760px); }

What's the problem to use it?

All you'll have to do is write adaptive side menu blocks that look ok from 240px to 300px. Ads can be scaled via width: 100%, that shouldn't bother anyone since they will be reduced in size only for 2%. And that's the only way to make site usage comfortable for these users anyway.

EDIT: I'm getting downvotes. Perhaps you didn't understood that this is not some layout code taken from somewhere, but the actually working CSS for the StackExchange websites that can be used over the existing layout right now (e.g. via Stylish). It doesn't change the appearance for big screens, but adapts the sidebar size for small ones.

Here's the CSS for the adaptive StackExchange layout that works for screens from 1024px

html, body { min-width: 1000px; }

.topbar .topbar-wrapper, #system-message, #header, #content, .footerwrap, #footer #footer-sites
{ max-width: 1060px; width: auto; }

#sidebar { max-width: 300px; width: calc(100% - 760px); } 

.topbar .topbar-links { right: -8px; margin-right: 8px; }

What's the problem to use it?

All you'll have to do is write adaptive side menu blocks that look ok from 240px to 300px. Ads can be scaled via width: 100%, that shouldn't bother anyone since they will be reduced in size only for 2%. And that's the only way to make site usage comfortable for these users anyway.

EDIT: I'm getting downvoted. Perhaps you didn't understood that this is not some layout code taken from somewhere, but the actually working CSS for the StackExchange websites that can be used over the existing layout right now (e.g. via Stylish). It doesn't change the appearance for big screens, but adapts the sidebar size for small ones.

added 256 characters in body
Source Link
user
  • 259
  • 1
  • 7

Here's simplethe CSS for the adaptive StackExchange layout that works for screens from 1024px

html, body { min-width: 1000px; }

.topbar .topbar-wrapper, #system-message, #header, #content, .footerwrap, #footer #footer-sites
{ max-width: 1060px; width: auto; }

#sidebar { max-width: 300px; width: calc(100% - 760px); }

What's the problem to use it?

All you'll have to do is write adaptive side menu blocks that look ok from 240px to 300px. Ads can be scaled via width: 100%, that shouldn't bother anyone since they will be reduced in size only for 2%. And that's the only way to make site usage comfortable for these users anyway.

EDIT: I'm getting downvotes. Perhaps you didn't understood that this is not some layout code taken from somewhere, but the actually working CSS for the StackExchange websites that can be used over the existing layout right now (e.g. via Stylish). It doesn't change the appearance for big screens, but adapts the sidebar size for small ones.

Here's simple CSS for adaptive layout that works for screens from 1024px

html, body { min-width: 1000px; }

.topbar .topbar-wrapper, #system-message, #header, #content, .footerwrap, #footer #footer-sites
{ max-width: 1060px; width: auto; }

#sidebar { max-width: 300px; width: calc(100% - 760px); }

What's the problem to use it?

All you'll have to do is write adaptive side menu blocks that look ok from 240px to 300px. Ads can be scaled via width: 100%, that shouldn't bother anyone since they will be reduced in size only for 2%. And that's the only way to make site usage comfortable for these users anyway.

Here's the CSS for the adaptive StackExchange layout that works for screens from 1024px

html, body { min-width: 1000px; }

.topbar .topbar-wrapper, #system-message, #header, #content, .footerwrap, #footer #footer-sites
{ max-width: 1060px; width: auto; }

#sidebar { max-width: 300px; width: calc(100% - 760px); }

What's the problem to use it?

All you'll have to do is write adaptive side menu blocks that look ok from 240px to 300px. Ads can be scaled via width: 100%, that shouldn't bother anyone since they will be reduced in size only for 2%. And that's the only way to make site usage comfortable for these users anyway.

EDIT: I'm getting downvotes. Perhaps you didn't understood that this is not some layout code taken from somewhere, but the actually working CSS for the StackExchange websites that can be used over the existing layout right now (e.g. via Stylish). It doesn't change the appearance for big screens, but adapts the sidebar size for small ones.

added 287 characters in body
Source Link
user
  • 259
  • 1
  • 7
Loading
Source Link
user
  • 259
  • 1
  • 7
Loading