My static website generator using poole https://www.xythobuz.de
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. /* Left will inherit from right (so we don't need to duplicate code */
  2. .github-fork-ribbon {
  3. /* The right and left lasses determine the side we attach our banner to */
  4. position: absolute;
  5. /* Add a bit of padding to give some substance outside the "stitching" */
  6. padding: 2px 0;
  7. /* Set the base colour */
  8. background-color: purple; /* green; */ /* orange; */ /* #FF9900; */
  9. /* Set a gradient: transparent black at the top to almost-transparent black at the bottom */
  10. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.15)));
  11. background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.15));
  12. background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.15));
  13. background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.15));
  14. background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.15));
  15. background-image: linear-gradient(top, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.15));
  16. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#000000', EndColorStr='#000000');
  17. /* Add a drop shadow */
  18. -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.5);
  19. box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.5);
  20. z-index: 2;
  21. }
  22. .github-fork-ribbon a,
  23. .github-fork-ribbon a:hover {
  24. /* Set the font */
  25. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  26. font-size: 13px;
  27. font-weight: 700;
  28. color: white;
  29. /* Set the text properties */
  30. text-decoration: none;
  31. text-shadow: 0 -1px rgba(0,0,0,0.5);
  32. text-align: center;
  33. /* Set the geometry. If you fiddle with these you'll also need to tweak the top and right values in #github-fork-ribbon. */
  34. width: 200px;
  35. line-height: 20px;
  36. /* Set the layout properties */
  37. display: inline-block;
  38. padding: 2px 0;
  39. /* Add "stitching" effect */
  40. border-width: 1px 0;
  41. border-style: dotted;
  42. border-color: rgba(255,255,255,0.7);
  43. }
  44. .github-fork-ribbon-wrapper {
  45. width: 150px;
  46. height: 150px;
  47. position: absolute;
  48. overflow: hidden;
  49. top: 0;
  50. z-index: 2;
  51. }
  52. .github-fork-ribbon-wrapper.fixed {
  53. position: fixed;
  54. }
  55. .github-fork-ribbon-wrapper.left {
  56. left: 0;
  57. }
  58. .github-fork-ribbon-wrapper.right {
  59. right: 0;
  60. }
  61. .github-fork-ribbon-wrapper.left-bottom {
  62. position: fixed;
  63. top: inherit;
  64. bottom: 0;
  65. left: 0;
  66. }
  67. .github-fork-ribbon-wrapper.right-bottom {
  68. position: fixed;
  69. top: inherit;
  70. bottom: 0;
  71. right: 0;
  72. }
  73. .github-fork-ribbon-wrapper.right .github-fork-ribbon {
  74. top: 42px;
  75. right: -43px;
  76. /* Rotate the banner 45 degrees */
  77. -webkit-transform: rotate(45deg);
  78. -moz-transform: rotate(45deg);
  79. -o-transform: rotate(45deg);
  80. transform: rotate(45deg);
  81. }
  82. .github-fork-ribbon-wrapper.left .github-fork-ribbon {
  83. top: 42px;
  84. left: -43px;
  85. /* Rotate the banner -45 degrees */
  86. -webkit-transform: rotate(-45deg);
  87. -moz-transform: rotate(-45deg);
  88. -o-transform: rotate(-45deg);
  89. transform: rotate(-45deg);
  90. }
  91. .github-fork-ribbon-wrapper.left-bottom .github-fork-ribbon {
  92. top: 80px;
  93. left: -43px;
  94. /* Rotate the banner -45 degrees */
  95. -webkit-transform: rotate(45deg);
  96. -moz-transform: rotate(45deg);
  97. -o-transform: rotate(45deg);
  98. transform: rotate(45deg);
  99. }
  100. .github-fork-ribbon-wrapper.right-bottom .github-fork-ribbon {
  101. top: 80px;
  102. right: -43px;
  103. /* Rotate the banner -45 degrees */
  104. -webkit-transform: rotate(-45deg);
  105. -moz-transform: rotate(-45deg);
  106. -o-transform: rotate(-45deg);
  107. transform: rotate(-45deg);
  108. }