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 5.4 KiB

8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  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: #DEDEDE;
  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, h3 {
  24. margin: 0.5em 0;
  25. }
  26. abbr[title], acronym[title] {
  27. border-bottom: 1px dotted #555;
  28. text-decoration: none;
  29. }
  30. .understate {
  31. font-weight: normal;
  32. }
  33. #container {
  34. display: flex;
  35. flex: 1;
  36. }
  37. #container > div {
  38. width: 100%;
  39. }
  40. .styled-border {
  41. border-color: #4A4A4A;
  42. border-style: solid;
  43. }
  44. main, header, footer {
  45. background-color: rgba(0, 0, 0, 0.85);
  46. }
  47. header {
  48. border-width: 0 0 1px 0;
  49. }
  50. footer {
  51. padding: 0.5em 0;
  52. font-size: 85%;
  53. text-align: center;
  54. color: #BABABA;
  55. border-width: 1px 0 0;
  56. }
  57. header > div, footer > div {
  58. margin: 0 auto;
  59. }
  60. @media (min-width: 800px) {
  61. main, header > div, footer > div {
  62. max-width: 1000px;
  63. width: 80%;
  64. }
  65. main {
  66. margin: 2em auto;
  67. padding: 0.5em 1.5em;
  68. border-width: 1px;
  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. border-width: 1px 0;
  96. }
  97. footer > div {
  98. padding: 0.5em 1em;
  99. }
  100. header > div > div > div {
  101. display: inline-block;
  102. }
  103. header .left {
  104. margin: 0.5em 1em 0em 1em;
  105. }
  106. header .right {
  107. margin: 0.25em 1em 0.5em 1em;
  108. }
  109. }
  110. header nav {
  111. display: inline-block;
  112. vertical-align: middle;
  113. padding: 0.25em 0;
  114. }
  115. header nav > ul {
  116. display: inline-block;
  117. margin: 0;
  118. padding: 0;
  119. }
  120. header nav > ul > li {
  121. display: inline-block;
  122. }
  123. header nav > ul > li:not(:last-child)::after {
  124. content: " \007c";
  125. color: #777;
  126. }
  127. header .spacer {
  128. height: 32px;
  129. vertical-align: middle;
  130. visibility: hidden;
  131. }
  132. header .sep {
  133. color: #777;
  134. }
  135. footer ul {
  136. margin: 0;
  137. padding: 0;
  138. }
  139. footer ul li {
  140. display: inline-block;
  141. list-style: none;
  142. }
  143. footer ul li:not(:last-child)::after {
  144. content: " \00b7";
  145. }
  146. #corp-masthead {
  147. color: #EAEAEA;
  148. margin-right: 1.5em;
  149. }
  150. #corp-masthead:hover {
  151. color: #BABABA;
  152. text-decoration: none;
  153. }
  154. #corp-masthead img {
  155. height: 32px;
  156. margin-right: 0.25em;
  157. }
  158. #corp-masthead h1 {
  159. display: inline;
  160. font-size: 120%;
  161. font-weight: normal;
  162. }
  163. #corp-masthead > * {
  164. vertical-align: middle;
  165. }
  166. #flashes {
  167. margin-top: 0.5em;
  168. }
  169. #flashes > div {
  170. padding: 0.5em 0.75em;
  171. border-left-width: 4px;
  172. border-left-style: solid;
  173. }
  174. #flashes > .success {
  175. border-color: #33AA22;
  176. background-color: rgba(60, 255, 30, 0.2);
  177. }
  178. #flashes > .error {
  179. border-color: #AA3322;
  180. background-color: rgba(255, 60, 30, 0.2);
  181. }
  182. #flashes .dismiss {
  183. float: right;
  184. margin: 0 0 0.5em 0.5em;
  185. }
  186. #character-portrait {
  187. position: relative;
  188. display: inline-block;
  189. }
  190. #character-portrait img {
  191. height: 32px;
  192. width: 32px;
  193. margin-right: 0.25em;
  194. box-sizing: border-box;
  195. border-width: 1px;
  196. vertical-align: middle;
  197. }
  198. #character-summary {
  199. font-size: 90%;
  200. vertical-align: middle;
  201. }
  202. #character-options {
  203. position: absolute;
  204. margin-top: 1em;
  205. margin-left: -5px;
  206. background-color: rgba(0, 0, 0, 0.8);
  207. border-width: 1px;
  208. }
  209. #character-options::after, #character-options::before {
  210. bottom: 100%;
  211. left: 20px;
  212. border: solid transparent;
  213. content: " ";
  214. height: 0;
  215. width: 0;
  216. position: absolute;
  217. pointer-events: none;
  218. }
  219. #character-options::after {
  220. border-bottom-color: black;
  221. border-width: 10px;
  222. margin-left: -10px;
  223. }
  224. #character-options::before {
  225. border-bottom-color: #4A4A4A;
  226. border-width: 12px;
  227. margin-left: -12px;
  228. }
  229. #style-options {
  230. margin: 4px;
  231. line-height: 0;
  232. }
  233. #style-options > * {
  234. display: inline-block;
  235. padding: 4px;
  236. }
  237. #style-options > * > * {
  238. display: inline-block;
  239. height: 24px;
  240. width: 24px;
  241. margin: 0;
  242. padding: 0;
  243. background-color: transparent;
  244. background-size: contain;
  245. background-position: center;
  246. background-repeat: no-repeat;
  247. font-size: 0;
  248. border: 0;
  249. vertical-align: middle;
  250. }
  251. #style-options .cur {
  252. background-color: rgba(255, 255, 255, 0.3);
  253. }
  254. #style-options > :not(.cur) > * {
  255. cursor: pointer;
  256. }
  257. #error pre {
  258. white-space: pre-wrap;
  259. }
  260. #login-button {
  261. height: 30px;
  262. padding-bottom: 2px;
  263. vertical-align: middle;
  264. }
  265. #logout-form {
  266. margin-bottom: 1em;
  267. }
  268. .sec-null {
  269. color: #F30202;
  270. }
  271. .sec-0_1 {
  272. color: #DC3201;
  273. }
  274. .sec-0_2 {
  275. color: #EB4903;
  276. }
  277. .sec-0_3 {
  278. color: #F66301;
  279. }
  280. .sec-0_4 {
  281. color: #E58000;
  282. }
  283. .sec-0_5 {
  284. color: #F5F501;
  285. }
  286. .sec-0_6 {
  287. color: #96F933;
  288. }
  289. .sec-0_7 {
  290. color: #00FF00;
  291. }
  292. .sec-0_8 {
  293. color: #02F34B;
  294. }
  295. .sec-0_9 {
  296. color: #4BF3C3;
  297. }
  298. .sec-1_0 {
  299. color: #33F9F9;
  300. }