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 3.0 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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. h1 {
  24. margin-top: 0.5em;
  25. }
  26. #container {
  27. display: flex;
  28. flex: 1;
  29. }
  30. #container > div {
  31. width: 100%;
  32. }
  33. main, header, footer {
  34. background-color: rgba(0, 0, 0, 0.8);
  35. border-color: #4A4A4A;
  36. }
  37. main {
  38. border-width: 1px;
  39. border-style: solid;
  40. }
  41. header {
  42. border-bottom-width: 1px;
  43. border-bottom-style: solid;
  44. }
  45. footer {
  46. padding: 0.5em 0;
  47. font-size: 85%;
  48. text-align: center;
  49. color: #BABABA;
  50. border-top-width: 1px;
  51. border-top-style: solid;
  52. }
  53. header > div, footer > div {
  54. margin: 0 auto;
  55. }
  56. header > div > div {
  57. display: inline-block;
  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. footer > div {
  69. padding: 0.5em 1.5em;
  70. }
  71. header > div > .left {
  72. margin: 0.5em 1.5em 0.5em 0;
  73. }
  74. header > div > .right {
  75. margin: 0.5em 0;
  76. float: right;
  77. }
  78. }
  79. @media (max-width: 799px) {
  80. main {
  81. margin: 1.5em auto;
  82. padding: 0 1em;
  83. }
  84. footer > div {
  85. padding: 0.5em 1em;
  86. }
  87. header > div > div {
  88. margin: 0.5em 1em;
  89. }
  90. header > div > .left {
  91. margin-bottom: 0em;
  92. }
  93. }
  94. header nav {
  95. display: inline-block;
  96. margin-left: 1.5em;
  97. }
  98. header .aligned {
  99. vertical-align: middle;
  100. }
  101. header .spacer {
  102. height: 32px;
  103. visibility: hidden;
  104. }
  105. header .sep {
  106. color: #777777;
  107. }
  108. footer ul {
  109. margin: 0;
  110. padding: 0;
  111. }
  112. footer ul li {
  113. display: inline-block;
  114. list-style: none;
  115. }
  116. footer ul li:not(:last-child):after {
  117. content: " \00b7";
  118. }
  119. #corp-masthead {
  120. height: 32px;
  121. margin-right: 0.25em;
  122. }
  123. #corp-masthead-link:hover {
  124. text-decoration: none;
  125. }
  126. #corp-title {
  127. font-size: 120%;
  128. color: #EAEAEA;
  129. }
  130. #corp-title:hover {
  131. color: #BABABA;
  132. text-decoration: none;
  133. }
  134. #character-portrait {
  135. height: 32px;
  136. margin-right: 0.25em;
  137. box-sizing: border-box;
  138. border-width: 1px;
  139. border-style: solid;
  140. }
  141. #character-summary {
  142. font-size: 90%;
  143. }
  144. #flashes {
  145. margin-top: 0.5em;
  146. }
  147. #flashes > div {
  148. padding: 0.5em 0.75em;
  149. border-left-width: 4px;
  150. border-left-style: solid;
  151. }
  152. #flashes > .success {
  153. border-color: #33AA22;
  154. background-color: rgba(60, 255, 30, 0.2);
  155. }
  156. #flashes > .error {
  157. border-color: #AA3322;
  158. background-color: rgba(255, 60, 30, 0.2);
  159. }
  160. #error pre {
  161. white-space: pre-wrap;
  162. }
  163. #login-button {
  164. height: 30px;
  165. padding-bottom: 2px;
  166. }
  167. #logout-form {
  168. margin-bottom: 1em;
  169. }