main.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. @font-face {
  2. font-family: league-spartan;
  3. src: url("/static/leaguespartan-bold.ttf");
  4. }
  5. body {
  6. font-family: "Arial", "Helvetica", sans-serif;
  7. }
  8. .linklist {
  9. padding: 1em 2em;
  10. }
  11. .user {
  12. padding: 0em 1em;
  13. }
  14. .addlink {
  15. padding: 0em 1em;
  16. }
  17. .login {
  18. padding: 0em 1em;
  19. }
  20. .user a {
  21. text-decoration: none;
  22. }
  23. .private {
  24. background-color: #ddd;
  25. }
  26. .link {
  27. padding: 0.4em 1em;
  28. }
  29. .link .text {
  30. padding-right: 1em;
  31. display: block;
  32. }
  33. .link .url {
  34. padding-left: 0.5em;
  35. }
  36. .link .url a {
  37. color: #999;
  38. font-size: small;
  39. }
  40. a {
  41. color: #8800aaff;
  42. }
  43. .taglist { display: flex; }
  44. .tag {
  45. color: #555;
  46. padding-right: 0.4em;
  47. }
  48. .tag::before {
  49. color: #8800aaff;
  50. content: "#";
  51. }
  52. .link .datetime a {
  53. color: #999;
  54. font-size: small;
  55. text-decoration: none;
  56. }
  57. .header {
  58. display: flex;
  59. align-items: center;
  60. border-bottom: solid black;
  61. padding: 0.2em 2em;
  62. margin: 0em 1em;
  63. justify-content: space-between;
  64. }
  65. .header .left {
  66. align-items: center;
  67. display: flex;
  68. }
  69. .header .right {
  70. align-items: center;
  71. display: flex;
  72. justify-content: flex-end;
  73. }
  74. .logo {
  75. padding: 0.5em;
  76. }
  77. .sitename {
  78. padding-left: 0.5em;
  79. font-size: large;
  80. font-family: league-spartan;
  81. text-transform: uppercase;
  82. letter-spacing: 0.2em;
  83. }
  84. .sitename a {
  85. color: #000;
  86. text-decoration: none;
  87. }
  88. .loginform {
  89. padding: 2em;
  90. display: flex;
  91. justify-content: center;
  92. }
  93. .config-pane {
  94. display: flex;
  95. justify-content: center;
  96. }
  97. .config {
  98. margin: 2em;
  99. padding: 2em;
  100. border: solid black 1px;
  101. }
  102. .invite {
  103. font-size: small;
  104. color: #444;
  105. }
  106. label {
  107. display: inline-block;
  108. width: 6em;
  109. text-align: right;
  110. padding-right: 0.6em;
  111. }
  112. input[type="text"] {
  113. width: 40em;
  114. }
  115. input[type="password"] {
  116. width: 40em;
  117. }
  118. input[type="submit"] {
  119. width: 10em;
  120. }
  121. form > div {
  122. padding: 0.2em;
  123. }
  124. .submit {
  125. text-align: center;
  126. }
  127. .msgpage {
  128. padding: 4em;
  129. display: flex;
  130. justify-content: center;
  131. align-items: center;
  132. }
  133. .msgpage h1 {
  134. font-family: league-spartan;
  135. text-transform: uppercase;
  136. letter-spacing: 0.2em;
  137. }
  138. .pagination {
  139. border-top: solid black;
  140. display: flex;
  141. justify-content: space-around;
  142. font-size: large;
  143. padding: 0.2em 2em;
  144. margin: 0em 1em;
  145. }
  146. .deletelink {
  147. cursor: pointer;
  148. }
  149. .deleteconfirm {
  150. padding-left: 1em;
  151. font-size: small;
  152. }
  153. a.yesdelete {
  154. color: #f00 !important;
  155. }
  156. .errorpane {
  157. display: flex;
  158. justify-content: center;
  159. }
  160. .error {
  161. width: 50%;
  162. }
  163. .error p {
  164. margin-left: 2em;
  165. }
  166. .columns {
  167. display: grid;
  168. grid-template-columns: 60% 40%;
  169. }
  170. .tags {
  171. padding: 2em;
  172. word-spacing: 1em;
  173. }
  174. .tag_container {
  175. display: flex;
  176. flex-wrap: wrap;
  177. }
  178. .tag_container span {
  179. display: block;
  180. text-indent: -1em;
  181. margin-left: 1em;
  182. padding-left: 0.3em;
  183. }
  184. .search {
  185. padding: 0em 2em;
  186. }
  187. #search_text {
  188. width: 20em;
  189. }