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.

main.css 6.2 KiB

7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  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. #flashes .dismiss {
  182. float: right;
  183. margin: 0 0 0.5em 0.5em;
  184. }
  185. #character-portrait {
  186. position: relative;
  187. display: inline-block;
  188. }
  189. #character-portrait img {
  190. height: 32px;
  191. width: 32px;
  192. margin-right: 0.25em;
  193. box-sizing: border-box;
  194. border-width: 1px;
  195. vertical-align: middle;
  196. }
  197. #character-summary {
  198. font-size: 90%;
  199. vertical-align: middle;
  200. }
  201. #character-options {
  202. position: absolute;
  203. margin-top: 1em;
  204. margin-left: -5px;
  205. background-color: rgba(0, 0, 0, 0.8);
  206. border-width: 1px;
  207. }
  208. #character-options::after, #character-options::before {
  209. bottom: 100%;
  210. left: 20px;
  211. border: solid transparent;
  212. content: " ";
  213. height: 0;
  214. width: 0;
  215. position: absolute;
  216. pointer-events: none;
  217. }
  218. #character-options::after {
  219. border-bottom-color: black;
  220. border-width: 10px;
  221. margin-left: -10px;
  222. }
  223. #character-options::before {
  224. border-bottom-color: #4A4A4A;
  225. border-width: 12px;
  226. margin-left: -12px;
  227. }
  228. #style-options {
  229. margin: 4px;
  230. line-height: 0;
  231. }
  232. #style-options > * {
  233. display: inline-block;
  234. padding: 4px;
  235. }
  236. #style-options > * > * {
  237. display: inline-block;
  238. height: 24px;
  239. width: 24px;
  240. margin: 0;
  241. padding: 0;
  242. background-color: transparent;
  243. background-size: contain;
  244. background-position: center;
  245. background-repeat: no-repeat;
  246. font-size: 0;
  247. border: 0;
  248. vertical-align: middle;
  249. }
  250. #style-options .cur {
  251. background-color: rgba(255, 255, 255, 0.3);
  252. }
  253. #style-options > :not(.cur) > * {
  254. cursor: pointer;
  255. }
  256. #error pre {
  257. white-space: pre-wrap;
  258. }
  259. #login-button {
  260. height: 30px;
  261. padding-bottom: 2px;
  262. vertical-align: middle;
  263. }
  264. #logout-form {
  265. margin-bottom: 1em;
  266. }
  267. /* ================================ Modules ================================ */
  268. /* ------------------------------- Campaigns ------------------------------- */
  269. #campaigns-select {
  270. display: inline-block;
  271. padding-right: 1em;
  272. background: transparent 100% 50%/contain no-repeat;
  273. border-width: 1px;
  274. }
  275. #campaigns-select select {
  276. max-width: 120px;
  277. padding: 0 0.25em;
  278. font-size: 100%;
  279. color: inherit;
  280. background: transparent;
  281. border: none;
  282. appearance: none;
  283. -webkit-appearance: none;
  284. -moz-appearance: none;
  285. }
  286. /* -------------------------------- Members -------------------------------- */
  287. #members-list {
  288. list-style: none;
  289. margin: 1em 0 0.5em 0;
  290. padding: 0;
  291. column-count: 2;
  292. }
  293. #members-list li {
  294. margin-bottom: 0.5em;
  295. }
  296. #members-list a:hover {
  297. text-decoration: none;
  298. }
  299. #members-list img {
  300. width: 48px;
  301. height: 48px;
  302. vertical-align: middle;
  303. border-width: 1px;
  304. }
  305. #members-list span {
  306. margin-left: 0.5em;
  307. vertical-align: middle;
  308. }
  309. #members-list em {
  310. font-size: 90%;
  311. }
  312. #members-list em::before {
  313. content: ", ";
  314. }