KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.fluid.css 1.7KB

11 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*
  2. * Title: openSUSE.org stylesheet (Bento-Theme)
  3. * Author: Robert Lihm <rlihm@opensuse.org>
  4. * Copyright (c) 2009 AUTHORS.txt (http://www.opensuse.org)
  5. * Licensed under the MIT (MIT-LICENSE.txt) license.
  6. */
  7. @import url("reset.css"); /* reset default browser settings */
  8. @import url("grid.css"); /* add fluid 960 Grid System */
  9. @import url("base.css"); /* Basic CSS - Common styles */
  10. @import url("base.fluid.fix.css"); /* Fixes for Bento with fluid 960gs */
  11. .container_16 {
  12. max-width: 1600px;
  13. margin-left: calc(50% - 800px);
  14. }
  15. @media only screen and (max-width: 1750px) {
  16. .container_16 {
  17. margin-left: 4%;
  18. }
  19. }
  20. @media only screen and (max-width: 870px) {
  21. #content {
  22. width: 96%;
  23. margin-left: 2%;
  24. margin-right: 2%;
  25. }
  26. #header-home {
  27. display: none;
  28. }
  29. #global-navigation {
  30. padding: 0;
  31. }
  32. }
  33. .responsive-item b {
  34. margin-left: 2px;
  35. }
  36. .responsive-item > div:first-child {
  37. text-align: center;
  38. }
  39. @media only screen and (min-width: 541px) {
  40. .responsive-item {
  41. margin: 15px;
  42. }
  43. .responsive-item > div {
  44. display: inline-block;
  45. vertical-align: middle;
  46. }
  47. .responsive-item > div:first-child a {
  48. display: inline-block;
  49. }
  50. /* 128px */
  51. .responsive-item.thumb-128 > div:last-child {
  52. max-width: calc(100% - 165px);
  53. }
  54. .responsive-item.thumb-128 > div:first-child img {
  55. padding: 1px;
  56. }
  57. /* 150px */
  58. .responsive-item.thumb-150 > div:last-child {
  59. max-width: calc(100% - 185px);
  60. }
  61. }
  62. @media only screen and (max-width: 540px) {
  63. .responsive-item {
  64. text-align: center;
  65. margin-bottom: 25px;
  66. }
  67. .responsive-item.last {
  68. margin-bottom: 0px;
  69. }
  70. .responsive-item p {
  71. margin: 0px;
  72. }
  73. .responsive-item > div:last-child {
  74. margin-top: 5px;
  75. }
  76. }