A corporation manager and dashboard for EVE Online
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.
 
 
 
 
 

349 lines
5.5 KiB

  1. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~ Calefaction Main CSS ~~~~~~~~~~~~~~~~~~~~~~~~~ */
  2. /* =============================== Universal =============================== */
  3. @import url(//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700);
  4. body {
  5. display: flex;
  6. min-height: 100vh;
  7. flex-direction: column;
  8. margin: 0;
  9. font-family: "Open Sans", sans-serif;
  10. line-height: 1.3;
  11. color: #EAEAEA;
  12. background-color: black;
  13. background-size: cover;
  14. background-position: center;
  15. background-attachment: fixed;
  16. }
  17. a {
  18. color: #78CEFF;
  19. text-decoration: none;
  20. }
  21. a:hover {
  22. color: #68BEDD;
  23. text-decoration: underline;
  24. }
  25. h2 {
  26. margin: 0.5em 0;
  27. }
  28. .understate {
  29. font-weight: normal;
  30. }
  31. #container {
  32. display: flex;
  33. flex: 1;
  34. }
  35. #container > div {
  36. width: 100%;
  37. }
  38. .styled-border {
  39. border-color: #4A4A4A;
  40. border-style: solid;
  41. }
  42. main, header, footer {
  43. background-color: rgba(0, 0, 0, 0.8);
  44. }
  45. main {
  46. border-width: 1px;
  47. }
  48. header {
  49. border-width: 0 0 1px 0;
  50. }
  51. footer {
  52. padding: 0.5em 0;
  53. font-size: 85%;
  54. text-align: center;
  55. color: #BABABA;
  56. border-width: 1px 0 0;
  57. }
  58. header > div, footer > div {
  59. margin: 0 auto;
  60. }
  61. @media (min-width: 800px) {
  62. main, header > div, footer > div {
  63. max-width: 1000px;
  64. width: 80%;
  65. }
  66. main {
  67. margin: 2em auto;
  68. padding: 0.5em 1.5em;
  69. }
  70. header > div {
  71. display: table;
  72. }
  73. footer > div {
  74. padding: 0.5em 1.5em;
  75. }
  76. header > div > div {
  77. display: table-row;
  78. }
  79. header > div > div > div {
  80. display: table-cell;
  81. }
  82. header .left {
  83. padding: 0.5em 1.5em 0.5em 0;
  84. }
  85. header .right {
  86. padding: 0.5em 0;
  87. text-align: right;
  88. white-space: nowrap;
  89. }
  90. }
  91. @media (max-width: 799px) {
  92. main {
  93. margin: 1.5em auto;
  94. padding: 0 1em;
  95. }
  96. footer > div {
  97. padding: 0.5em 1em;
  98. }
  99. header > div > div > div {
  100. display: inline-block;
  101. }
  102. header .left {
  103. margin: 0.5em 1em 0em 1em;
  104. }
  105. header .right {
  106. margin: 0.25em 1em 0.5em 1em;
  107. }
  108. }
  109. header nav {
  110. display: inline-block;
  111. vertical-align: middle;
  112. padding: 0.25em 0;
  113. }
  114. header nav > ul {
  115. display: inline-block;
  116. margin: 0;
  117. padding: 0;
  118. }
  119. header nav > ul > li {
  120. display: inline-block;
  121. }
  122. header nav > ul > li:not(:last-child):after {
  123. content: " \007c";
  124. color: #777;
  125. }
  126. header .spacer {
  127. height: 32px;
  128. vertical-align: middle;
  129. visibility: hidden;
  130. }
  131. header .sep {
  132. color: #777777;
  133. }
  134. footer ul {
  135. margin: 0;
  136. padding: 0;
  137. }
  138. footer ul li {
  139. display: inline-block;
  140. list-style: none;
  141. }
  142. footer ul li:not(:last-child):after {
  143. content: " \00b7";
  144. }
  145. #corp-masthead {
  146. color: #EAEAEA;
  147. margin-right: 1.5em;
  148. }
  149. #corp-masthead:hover {
  150. color: #BABABA;
  151. text-decoration: none;
  152. }
  153. #corp-masthead img {
  154. height: 32px;
  155. margin-right: 0.25em;
  156. }
  157. #corp-masthead h1 {
  158. display: inline;
  159. font-size: 120%;
  160. font-weight: normal;
  161. }
  162. #corp-masthead > * {
  163. vertical-align: middle;
  164. }
  165. #flashes {
  166. margin-top: 0.5em;
  167. }
  168. #flashes > div {
  169. padding: 0.5em 0.75em;
  170. border-left-width: 4px;
  171. border-left-style: solid;
  172. }
  173. #flashes > .success {
  174. border-color: #33AA22;
  175. background-color: rgba(60, 255, 30, 0.2);
  176. }
  177. #flashes > .error {
  178. border-color: #AA3322;
  179. background-color: rgba(255, 60, 30, 0.2);
  180. }
  181. #character-portrait {
  182. position: relative;
  183. display: inline-block;
  184. }
  185. #character-portrait img {
  186. height: 32px;
  187. width: 32px;
  188. margin-right: 0.25em;
  189. box-sizing: border-box;
  190. border-width: 1px;
  191. vertical-align: middle;
  192. }
  193. #character-summary {
  194. font-size: 90%;
  195. vertical-align: middle;
  196. }
  197. #character-options {
  198. position: absolute;
  199. margin-top: 1em;
  200. margin-left: -5px;
  201. background-color: rgba(0, 0, 0, 0.8);
  202. border-width: 1px;
  203. }
  204. #character-options:after, #character-options:before {
  205. bottom: 100%;
  206. left: 20px;
  207. border: solid transparent;
  208. content: " ";
  209. height: 0;
  210. width: 0;
  211. position: absolute;
  212. pointer-events: none;
  213. }
  214. #character-options:after {
  215. border-bottom-color: black;
  216. border-width: 10px;
  217. margin-left: -10px;
  218. }
  219. #character-options:before {
  220. border-bottom-color: #4A4A4A;
  221. border-width: 12px;
  222. margin-left: -12px;
  223. }
  224. #style-options {
  225. margin: 4px;
  226. line-height: 0;
  227. }
  228. #style-options > * {
  229. display: inline-block;
  230. padding: 4px;
  231. }
  232. #style-options > * > * {
  233. display: inline-block;
  234. height: 24px;
  235. width: 24px;
  236. margin: 0;
  237. padding: 0;
  238. background-color: transparent;
  239. background-size: contain;
  240. background-position: center;
  241. background-repeat: no-repeat;
  242. font-size: 0;
  243. border: 0;
  244. vertical-align: middle;
  245. }
  246. #style-options .cur {
  247. background-color: rgba(255, 255, 255, 0.3);
  248. }
  249. #style-options > :not(.cur) > * {
  250. cursor: pointer;
  251. }
  252. #error pre {
  253. white-space: pre-wrap;
  254. }
  255. #login-button {
  256. height: 30px;
  257. padding-bottom: 2px;
  258. vertical-align: middle;
  259. }
  260. #logout-form {
  261. margin-bottom: 1em;
  262. }
  263. /* ================================ Modules ================================ */
  264. /* -------------------------------- Members -------------------------------- */
  265. #members-list {
  266. list-style: none;
  267. margin: 1em 0 0.5em 0;
  268. padding: 0;
  269. column-count: 2;
  270. }
  271. #members-list > li {
  272. margin-bottom: 0.5em;
  273. }
  274. #members-list > li > img {
  275. width: 48px;
  276. height: 48px;
  277. vertical-align: middle;
  278. border-width: 1px;
  279. }
  280. #members-list > li > span {
  281. margin-left: 0.5em;
  282. vertical-align: middle;
  283. }