facebook.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .drop-target.drop-open {
  2. outline: 2px solid;
  3. }
  4. .body {
  5. position: relative;
  6. margin-right: 300px;
  7. }
  8. .page {
  9. max-width: 100%;
  10. width: 1080px;
  11. padding: 0 10px;
  12. box-sizing: border-box;
  13. margin: 0 auto;
  14. }
  15. .navigation {
  16. background: blue;
  17. color: #fff;
  18. margin-right: 300px;
  19. margin-bottom: 30px;
  20. }
  21. .navigation .item a {
  22. padding: 30px 20px;
  23. display: inline-block;
  24. }
  25. .navigation .item a {
  26. color: inherit;
  27. }
  28. .navigation .drop-target.drop-open {
  29. background: #fff;
  30. color: blue;
  31. outline: none;
  32. }
  33. .right-sidebar {
  34. position: fixed;
  35. height: 50%;
  36. width: 300px;
  37. background: #eee;
  38. overflow: auto;
  39. right: 0;
  40. }
  41. .right-sidebar .drop-target.drop-open {
  42. background: blue;
  43. color: #fff;
  44. outline: none;
  45. }
  46. .right-sidebar .item a {
  47. display: block;
  48. padding: 20px;
  49. margin-bottom: 10px;
  50. background: rgba(0, 0, 0, .1);
  51. }
  52. .right-sidebar-top {
  53. top: 0;
  54. }
  55. .right-sidebar-bottom {
  56. top: 50%;
  57. background: #ccc;
  58. }
  59. .scroll-container {
  60. position: relative;
  61. overflow: auto;
  62. background: #eee;
  63. padding: 20px;
  64. margin-bottom: 20px;
  65. margin-right: 20px;
  66. height: 200px;
  67. width: 200px;
  68. }
  69. .absolute-container {
  70. position: absolute;
  71. top: 20px;
  72. right: 300px;
  73. }