logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

0015-style.css-Replace-with-my-own.patch (2598B)


  1. From bbb1b0664c34bd7953f790f7a60e32821f7e9185 Mon Sep 17 00:00:00 2001
  2. From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
  3. Date: Mon, 31 Jul 2017 09:12:55 +0200
  4. Subject: [PATCH 15/22] style.css: Replace with my own
  5. ---
  6. style.css | 100 +++++++++++++++++++++++-------------------------------
  7. 1 file changed, 42 insertions(+), 58 deletions(-)
  8. diff --git a/style.css b/style.css
  9. index d8f9fff..167498a 100644
  10. --- a/style.css
  11. +++ b/style.css
  12. @@ -1,102 +1,86 @@
  13. -body {
  14. - color: #000;
  15. - background-color: #fff;
  16. - font-family: monospace;
  17. -}
  18. +@import '/css/colorscheme.css'; /* This makes it depend on blog.git at the root */
  19. -h1, h2, h3, h4, h5, h6 {
  20. - font-size: 1em;
  21. +html, body {
  22. + background-color: var(--dark-ansi00-soft);
  23. + color: var(--dark-ansi15);
  24. margin: 0;
  25. + padding: 0;
  26. + font-family: sans;
  27. }
  28. -img, h1, h2 {
  29. - vertical-align: middle;
  30. +header h1 {
  31. + display: inline;
  32. + margin: 0 1em;
  33. }
  34. -img {
  35. - border: 0;
  36. +header {
  37. + background-color: var(--dark-ansi00);
  38. + padding: 1ch 2em;
  39. }
  40. -a.d,
  41. -a.h,
  42. -a.i,
  43. -a.line {
  44. - text-decoration: none;
  45. +footer {
  46. + margin: 2ch 2em;
  47. }
  48. -#blob a {
  49. - color: #777;
  50. +main {
  51. + display: table;
  52. + margin: 0 auto;
  53. }
  54. -#blob a:hover {
  55. - color: blue;
  56. +a {
  57. + color: var(--dark-ansi04);
  58. text-decoration: none;
  59. }
  60. -table thead td {
  61. - font-weight: bold;
  62. +h1,h2,h3,h4,h5,h6 { font-family: serif; }
  63. +pre {
  64. + white-space: pre-wrap;
  65. + font-family: monospace;
  66. }
  67. -table td {
  68. - padding: 0 0.4em;
  69. +nav, .line, tr:nth-child(even) {
  70. + background-color: var(--dark-ansi00);
  71. }
  72. -#content table td {
  73. - vertical-align: top;
  74. - white-space: nowrap;
  75. +nav {
  76. + font-size: larger;
  77. + font-weight: bold;
  78. + padding: 0.25rem;
  79. }
  80. -#branches tr:hover td,
  81. -#tags tr:hover td,
  82. -#index tr:hover td,
  83. -#log tr:hover td,
  84. -#files tr:hover td {
  85. - background-color: #eee;
  86. +table thead td {
  87. + font-weight: bold;
  88. }
  89. -#index tr td:nth-child(2),
  90. -#tags tr td:nth-child(3),
  91. -#branches tr td:nth-child(3),
  92. -#log tr td:nth-child(2) {
  93. - white-space: normal;
  94. +table td {
  95. + padding: 0 0.4em;
  96. }
  97. td.num {
  98. text-align: right;
  99. }
  100. -.desc {
  101. - color: #777;
  102. +td:nth-child(1) {
  103. + text-align: right;
  104. + min-width: 8em;
  105. }
  106. -hr {
  107. - border: 0;
  108. - border-top: 1px solid #777;
  109. - height: 1px;
  110. -}
  111. -
  112. -pre {
  113. - font-family: monospace;
  114. +tr td {
  115. + padding: 0.5em 1em;
  116. }
  117. pre a.h {
  118. - color: #00a;
  119. + color: var(--dark-ansi05);
  120. }
  121. .A,
  122. span.i,
  123. pre a.i {
  124. - color: #070;
  125. + color: var(--dark-ansi02);
  126. }
  127. .D,
  128. span.d,
  129. pre a.d {
  130. - color: #e00;
  131. -}
  132. -
  133. -pre a.h:hover,
  134. -pre a.i:hover,
  135. -pre a.d:hover {
  136. - text-decoration: none;
  137. -}
  138. + color: var(--dark-ansi01);
  139. +}
  140. \ No newline at end of file
  141. --
  142. 2.26.2