style.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. * {
  2. box-sizing: border-box;
  3. }
  4. body {
  5. margin: 0;
  6. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial,
  7. sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  8. font-size: calc(14px + 0.5vmin);
  9. background-color: #ebebeb;
  10. }
  11. #header {
  12. padding: 1em;
  13. background-color: #500076;
  14. }
  15. #header h1 {
  16. max-width: 640px;
  17. margin: 0 auto;
  18. font-weight: 600;
  19. }
  20. #header a {
  21. color: white;
  22. text-decoration: none;
  23. }
  24. #content {
  25. padding: 2em 1em 1em;
  26. }
  27. #footer {
  28. padding: 1em;
  29. text-align: center;
  30. }
  31. hr {
  32. border-top: #c5c5c5 0.2vmin solid;
  33. margin-top: 4vmin;
  34. margin-bottom: 5vmin;
  35. }
  36. a {
  37. color: black;
  38. text-decoration: underline;
  39. }
  40. h2 {
  41. max-width: 640px;
  42. margin: 0 auto;
  43. }
  44. h3 {
  45. max-width: 640px;
  46. margin: 0 auto;
  47. font-size: calc(16px + 1vmin);
  48. font-weight: 500;
  49. }
  50. .simpleText {
  51. max-width: 640px;
  52. margin: 1em auto 2em;
  53. }
  54. .columnContainer {
  55. position: relative;
  56. }
  57. .columnLeft {
  58. float: left;
  59. width: 100%;
  60. }
  61. .columnRight {
  62. float: left;
  63. width: 100%;
  64. margin-bottom: 4vmin;
  65. }
  66. @media screen and (min-width: 80em) {
  67. .columnLeft {
  68. width: 50%;
  69. }
  70. .columnRight {
  71. width: 50%;
  72. }
  73. }
  74. .questionBox {
  75. max-width: 640px;
  76. min-height: 5em;
  77. margin: 1em auto;
  78. }
  79. .description {
  80. margin: 1.5em auto;
  81. display: flex;
  82. justify-content: center;
  83. }
  84. .descText,
  85. .descTextMono {
  86. flex-grow: 1;
  87. max-width: 640px;
  88. }
  89. .descText {
  90. width: calc(100% - 30vmin);
  91. }
  92. .descText p {
  93. margin: 0 0 1em;
  94. }
  95. .descTextMono {
  96. align-self: center;
  97. }
  98. .descTextMono p {
  99. margin: 0;
  100. }
  101. .descImg {
  102. line-height: 0;
  103. }
  104. .descImg img {
  105. width: 15vmin;
  106. height: 15vmin;
  107. }
  108. .axisDesc {
  109. }
  110. .axisDescLeft,
  111. .axisDescRight {
  112. width: 50%;
  113. display: inline-block;
  114. position: relative;
  115. top: 4vmin;
  116. z-index: 4;
  117. font-size: 2.5vmin;
  118. }
  119. .axisDescLeft {
  120. text-align: left;
  121. }
  122. .axisDescRight {
  123. text-align: right;
  124. }
  125. .axisDescLeft p {
  126. margin: 0;
  127. margin-left: 16vmin;
  128. }
  129. .axisDescRight p {
  130. margin: 0;
  131. margin-right: 16vmin;
  132. }
  133. .axisNeutral {
  134. background-color: #ebebeb;
  135. color: black;
  136. text-align: center;
  137. z-index: 1;
  138. position: relative;
  139. }
  140. .axisConstructivism {
  141. background-color: #a425b6;
  142. text-align: right;
  143. }
  144. .axisEssentialism {
  145. background-color: #34b634;
  146. text-align: left;
  147. }
  148. .axisInternationalism {
  149. background-color: #3e6ffd;
  150. text-align: right;
  151. }
  152. .axisNationalism {
  153. background-color: #ff8500;
  154. text-align: left;
  155. }
  156. .axisCommunism {
  157. background-color: #cc0000;
  158. text-align: right;
  159. }
  160. .axisCapitalism {
  161. background-color: #ffb800;
  162. text-align: left;
  163. }
  164. .axisProgressism {
  165. background-color: #850083;
  166. text-align: right;
  167. }
  168. .axisConservatism {
  169. background-color: #970000;
  170. text-align: left;
  171. }
  172. .axisEcology {
  173. background-color: #a0e90d;
  174. text-align: right;
  175. }
  176. .axisProductivism {
  177. background-color: #4deae9;
  178. text-align: left;
  179. }
  180. .axisLiberal {
  181. background-color: #14bee1;
  182. text-align: right;
  183. }
  184. .axisAuthoritarism {
  185. background-color: #e6cc27;
  186. text-align: left;
  187. }
  188. .axisRegulation {
  189. background-color: #269b32;
  190. text-align: right;
  191. }
  192. .axisLaissez {
  193. background-color: #6608c0;
  194. text-align: left;
  195. }
  196. .axisRevo {
  197. background-color: #eb1a66;
  198. text-align: right;
  199. }
  200. .axisRefo {
  201. background-color: #0ee4c8;
  202. text-align: left;
  203. }
  204. .bonusList {
  205. text-align: center;
  206. }
  207. .bonus {
  208. width: 15vmin;
  209. height: 15vmin;
  210. }
  211. .navButtons {
  212. margin: 0 auto 1em;
  213. text-align: center;
  214. max-width: 400px;
  215. }
  216. .buttonQuestion,
  217. .button {
  218. text-align: center;
  219. margin: 0.5em 0;
  220. padding: 0.5em 1.5em;
  221. display: inline-block;
  222. border: none;
  223. border-radius: 3px;
  224. text-decoration: none;
  225. font-size: 18px;
  226. }
  227. .button:hover {
  228. background-color: white;
  229. color: #500076;
  230. }
  231. .button {
  232. background-color: #500076;
  233. color: white;
  234. }
  235. .buttonQuestion,
  236. #back_button,
  237. #back_button_off {
  238. color: white;
  239. width: 100%;
  240. }
  241. .buttonLink {
  242. background-color: #500076;
  243. color: white;
  244. }
  245. .buttonLink:hover {
  246. color: #500076;
  247. }
  248. .buttonLinkGood {
  249. background-color: #0eb31a;
  250. color: white;
  251. }
  252. .buttonLinkGood:hover {
  253. background-color: #0eb31a;
  254. color: white;
  255. }
  256. .flagDecoration {
  257. text-align: center;
  258. }
  259. .flagDecoration canvas {
  260. border: solid 1px grey;
  261. max-width: 70vmin;
  262. }
  263. .generatedResultsDecorations {
  264. text-align: center;
  265. }
  266. .generatedResultsDecorations canvas {
  267. border: solid 1px grey;
  268. max-width: 800px;
  269. width: 100%;
  270. }
  271. #slogan {
  272. margin: 1em 0;
  273. font-size: calc(14px + 2vmin);
  274. }
  275. .urlToCopyContainer {
  276. width: 100%;
  277. text-align: center;
  278. }
  279. .urlToCopy {
  280. max-width: 400px;
  281. background-color: white;
  282. display: inline-block;
  283. padding: 0.5em;
  284. margin: 1em 0 0;
  285. z-index: 6;
  286. border-radius: 3px;
  287. word-break: break-all;
  288. }
  289. .scale {
  290. font-family: Segoe UI, sans-serif;
  291. display: flex;
  292. width: 100%;
  293. margin-bottom: 1em;
  294. }
  295. .scale .left,
  296. .scale .right {
  297. width: 15vmin;
  298. height: 15vmin;
  299. position: relative;
  300. }
  301. .scale .left img,
  302. .scale .right img {
  303. position: absolute;
  304. top: 0;
  305. width: 15vmin;
  306. z-index: 2;
  307. }
  308. .scale .left img {
  309. left: 2vmin;
  310. }
  311. .scale .right img {
  312. right: 2vmin;
  313. }
  314. .scale .axis {
  315. flex-grow: 1;
  316. }
  317. .scale .axis .label {
  318. display: flex;
  319. font-size: 2.5vmin;
  320. height: 5vmin;
  321. align-items: center;
  322. }
  323. .scale .axis .label .left-label,
  324. .scale .axis .label .right-label {
  325. width: 50%;
  326. margin: 0 0.5em;
  327. }
  328. .scale .axis .label .right-label {
  329. text-align: right;
  330. }
  331. .scale .axis .axis-bar {
  332. display: flex;
  333. box-shadow: 0vmin 0vmin 0.4vmin #222;
  334. height: 5vmin;
  335. }
  336. .scale .axis .axis-bar .axis-left,
  337. .scale .axis .axis-bar .axis-center,
  338. .scale .axis .axis-bar .axis-right {
  339. font-size: 3.2vmin;
  340. }
  341. .scale .axis .axis-bar .axis-left,
  342. .scale .axis .axis-bar .axis-right {
  343. color: white;
  344. }
  345. .scale .axis .axis-bar .axis-left span,
  346. .scale .axis .axis-bar .axis-right span {
  347. padding: 0 1.1vmin;
  348. }
  349. .scale .axis .axis-bar .axis-left span,
  350. .scale .axis .axis-bar .axis-center span,
  351. .scale .axis .axis-bar .axis-right span {
  352. vertical-align: middle;
  353. }
  354. .scale .axis .axis-bar .axis-left {
  355. text-align: right;
  356. }
  357. .scale .axis .axis-bar .axis-center {
  358. text-align: center;
  359. flex-grow: 1;
  360. }
  361. .scale .axis .axis-bar .axis-right {
  362. }