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.
 
 
 
 
 

320 lines
4.8 KiB

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