A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
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.
 
 
 
 
 

258 lines
3.2 KiB

  1. @actionNavColor: #767676;
  2. body {
  3. margin: 0;
  4. padding: 0;
  5. font-size: 100%;
  6. footer {
  7. text-align: center;
  8. padding: 0 2em;
  9. nav {
  10. margin: 3em 0 4em;
  11. color: #444;
  12. a {
  13. text-decoration: none;
  14. + a {
  15. margin-left: 0.8em;
  16. }
  17. &:link, &:visited {
  18. color: #999;
  19. }
  20. &:hover {
  21. color: #666;
  22. }
  23. &.home {
  24. color: #333;
  25. font-weight: bold;
  26. &:hover {
  27. color: #000;
  28. }
  29. }
  30. }
  31. }
  32. }
  33. }
  34. header {
  35. margin: 1em;
  36. h1, h2 {
  37. display: inline;
  38. }
  39. nav {
  40. display: inline;
  41. margin: 0 1em;
  42. line-height: 2.4em;
  43. span, a {
  44. margin: 0 0 0 1em;
  45. }
  46. a {
  47. color: @actionNavColor;
  48. &:hover {
  49. text-decoration: underline;
  50. }
  51. }
  52. }
  53. p {
  54. &.description {
  55. color: #444;
  56. font-size: 1.1em;
  57. margin-top: 0.5em;
  58. line-height: 1.5;
  59. }
  60. &.meta-note {
  61. color: #333;
  62. font-style: italic;
  63. margin-top: 2em;
  64. span {
  65. text-transform: uppercase;
  66. font-variant: small-caps;
  67. font-size: 0.9em;
  68. color: #666;
  69. font-style: normal;
  70. }
  71. }
  72. }
  73. }
  74. hr {
  75. border: 0;
  76. height: 1px;
  77. background: #ccc;
  78. max-width: 40em;
  79. margin: 4em auto;
  80. text-align: center;
  81. }
  82. textarea, textarea:focus {
  83. border: 0;
  84. }
  85. textarea, textarea:focus, input {
  86. outline: 0;
  87. }
  88. textarea {
  89. width: 100%;
  90. resize: none;
  91. &#editor {
  92. position: fixed;
  93. top: 3em;
  94. right: 0;
  95. bottom: 2em;
  96. left: 0;
  97. padding: 2em 2em 0 2em;
  98. font-size: 2em;
  99. box-sizing: border-box;
  100. }
  101. }
  102. #official-writing, #wrapper {
  103. margin: 1em 2em;
  104. ul {
  105. margin: 0;
  106. padding: 0 0 0 1em;
  107. line-height: 1.5;
  108. &.collections, &.posts, &.integrations {
  109. list-style: none;
  110. margin-left: 1em;
  111. li + li {
  112. margin-top: 0.4em;
  113. }
  114. }
  115. &.collections li {
  116. &.collection {
  117. a.title {
  118. font-size: 1.3em;
  119. }
  120. }
  121. }
  122. }
  123. }
  124. .clearfix {
  125. overflow: auto;
  126. }
  127. .half-col, .half, .third {
  128. float: left;
  129. + .half-col {
  130. margin-left: 4em;
  131. }
  132. }
  133. .half {
  134. width: 50%;
  135. }
  136. .third {
  137. width: 33%;
  138. }
  139. code, textarea#embed {
  140. font-family: monospace, monospace;
  141. font-size: 1em;
  142. }
  143. #wrapper {
  144. max-width: 50em;
  145. }
  146. #official-writing, #wrapper {
  147. h2 {
  148. &.minor {
  149. font-size: 1.3em;
  150. }
  151. &.bugfix {
  152. font-size: 1.15em;
  153. }
  154. +.android-version {
  155. margin-top: 0;
  156. font-size: 1.1em;
  157. a {
  158. &:hover {
  159. text-decoration: underline;
  160. }
  161. }
  162. }
  163. }
  164. }
  165. #beta, .content-container {
  166. max-width: 50em;
  167. margin: 0 auto 3em;
  168. font-size: 1.2em;
  169. &.tight {
  170. max-width: 30em;
  171. }
  172. &.snug {
  173. max-width: 40em;
  174. }
  175. .app {
  176. + .app {
  177. margin-top: 1.5em;
  178. }
  179. h2 {
  180. margin-bottom: 0.25em;
  181. }
  182. p {
  183. margin-top: 0.25em;
  184. }
  185. }
  186. h2.intro {
  187. font-weight: normal;
  188. }
  189. p {
  190. line-height: 1.5;
  191. }
  192. li {
  193. margin: 0.3em 0;
  194. }
  195. h2 {
  196. &.light {
  197. font-weight: normal;
  198. }
  199. }
  200. }
  201. #collection-options {
  202. #title, #description {
  203. width: 100%;
  204. box-sizing: border-box;
  205. }
  206. .option {
  207. h2 {
  208. margin-top: 2em;
  209. margin-bottom: 0.5em;
  210. }
  211. label {
  212. &.option-text.disabled {
  213. color: #999;
  214. #domain-alias {
  215. border-color: #ccc;
  216. }
  217. &+p {
  218. color: #555;
  219. }
  220. }
  221. }
  222. label+p, p.describe {
  223. font-size: 0.8em;
  224. margin-top: 0.4em;
  225. margin-left: 1.8em;
  226. }
  227. input.low-profile {
  228. padding: 0.25rem 0.5rem;
  229. margin-left: 0.25rem;
  230. font-size: 0.8em;
  231. }
  232. .fedi-handle {
  233. margin-left: 0.5em;
  234. .transition-duration(0.25s);
  235. }
  236. }
  237. }