A corporation manager and dashboard for EVE Online
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

282 lines
4.3 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. #container {
  27. display: flex;
  28. flex: 1;
  29. }
  30. #container > div {
  31. width: 100%;
  32. }
  33. .styled-border {
  34. border-color: #4A4A4A;
  35. border-style: solid;
  36. }
  37. main, header, footer {
  38. background-color: rgba(0, 0, 0, 0.8);
  39. }
  40. main {
  41. border-width: 1px;
  42. }
  43. header {
  44. border-width: 0 0 1px 0;
  45. }
  46. footer {
  47. padding: 0.5em 0;
  48. font-size: 85%;
  49. text-align: center;
  50. color: #BABABA;
  51. border-width: 1px 0 0;
  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. vertical-align: middle;
  98. }
  99. header .spacer {
  100. height: 32px;
  101. vertical-align: middle;
  102. visibility: hidden;
  103. }
  104. header .sep {
  105. color: #777777;
  106. }
  107. footer ul {
  108. margin: 0;
  109. padding: 0;
  110. }
  111. footer ul li {
  112. display: inline-block;
  113. list-style: none;
  114. }
  115. footer ul li:not(:last-child):after {
  116. content: " \00b7";
  117. }
  118. #corp-masthead {
  119. color: #EAEAEA;
  120. }
  121. #corp-masthead:hover {
  122. color: #BABABA;
  123. text-decoration: none;
  124. }
  125. #corp-masthead img {
  126. height: 32px;
  127. margin-right: 0.25em;
  128. }
  129. #corp-masthead h1 {
  130. display: inline;
  131. font-size: 120%;
  132. font-weight: normal;
  133. }
  134. #corp-masthead > * {
  135. vertical-align: middle;
  136. }
  137. #flashes {
  138. margin-top: 0.5em;
  139. }
  140. #flashes > div {
  141. padding: 0.5em 0.75em;
  142. border-left-width: 4px;
  143. border-left-style: solid;
  144. }
  145. #flashes > .success {
  146. border-color: #33AA22;
  147. background-color: rgba(60, 255, 30, 0.2);
  148. }
  149. #flashes > .error {
  150. border-color: #AA3322;
  151. background-color: rgba(255, 60, 30, 0.2);
  152. }
  153. #character-portrait {
  154. height: 32px;
  155. width: 32px;
  156. margin-right: 0.25em;
  157. box-sizing: border-box;
  158. border-width: 1px;
  159. vertical-align: middle;
  160. }
  161. #character-summary {
  162. font-size: 90%;
  163. vertical-align: middle;
  164. }
  165. #character-options {
  166. position: absolute;
  167. margin-top: 1em;
  168. margin-left: -5px;
  169. background-color: rgba(0, 0, 0, 0.8);
  170. border-width: 1px;
  171. }
  172. #character-options:after, #character-options:before {
  173. bottom: 100%;
  174. left: 20px;
  175. border: solid transparent;
  176. content: " ";
  177. height: 0;
  178. width: 0;
  179. position: absolute;
  180. pointer-events: none;
  181. }
  182. #character-options:after {
  183. border-bottom-color: black;
  184. border-width: 10px;
  185. margin-left: -10px;
  186. }
  187. #character-options:before {
  188. border-bottom-color: #4A4A4A;
  189. border-width: 12px;
  190. margin-left: -12px;
  191. }
  192. #style-options {
  193. margin: 4px;
  194. line-height: 0;
  195. }
  196. #style-options > * {
  197. display: inline-block;
  198. padding: 4px;
  199. }
  200. #style-options > * > * {
  201. display: inline-block;
  202. height: 24px;
  203. width: 24px;
  204. margin: 0;
  205. padding: 0;
  206. background-color: transparent;
  207. background-size: contain;
  208. background-position: center;
  209. background-repeat: no-repeat;
  210. font-size: 0;
  211. border: 0;
  212. vertical-align: middle;
  213. }
  214. #style-options .cur {
  215. background-color: rgba(255, 255, 255, 0.3);
  216. }
  217. #style-options > :not(.cur) > * {
  218. cursor: pointer;
  219. }
  220. #error pre {
  221. white-space: pre-wrap;
  222. }
  223. #login-button {
  224. height: 30px;
  225. padding-bottom: 2px;
  226. vertical-align: middle;
  227. }
  228. #logout-form {
  229. margin-bottom: 1em;
  230. }