style.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. body {
  2. background-color: #fff;
  3. font-family: sans-serif;
  4. margin-top: 0;
  5. }
  6. h1 {
  7. font-weight: normal;
  8. font-size: 140%;
  9. }
  10. .farSide {
  11. text-align: right;
  12. }
  13. html[dir="RTL"] .farSide {
  14. text-align: left;
  15. }
  16. .tab {
  17. padding: 6px 12px;
  18. text-decoration: none;
  19. color: #000;
  20. }
  21. #selected {
  22. font-weight: bold;
  23. background-color: #ddd;
  24. border-radius: 20px;
  25. }
  26. /* Pulse the language menu once to draw attention to it. */
  27. #languageBorder {
  28. border-radius: 4px;
  29. animation: pulse 2s ease-in-out forwards;
  30. -webkit-animation: pulse 2s ease-in-out forwards;
  31. animation-delay: 2s;
  32. -webkit-animation-delay: 2s;
  33. }
  34. @keyframes pulse {
  35. 0% { background-color: #fff }
  36. 50% { background-color: #f00 }
  37. 100% { background-color: #fff }
  38. }
  39. @-webkit-keyframes pulse {
  40. 0% { background-color: #fff }
  41. 50% { background-color: #f00 }
  42. 100% { background-color: #fff }
  43. }
  44. #blockly {
  45. height: 300px;
  46. width: 100%;
  47. border-style: solid;
  48. border-color: #ddd;
  49. border-width: 0 1px 1px 0;
  50. }
  51. /* SVG Plane. */
  52. #plane {
  53. overflow: hidden;
  54. }
  55. #fuselage {
  56. fill: #fff;
  57. stroke: #000;
  58. }
  59. #wing, #tail {
  60. fill: #ddd;
  61. stroke: #444;
  62. }
  63. .crew {
  64. fill: #f44;
  65. stroke: #000;
  66. }
  67. .seat1st {
  68. fill: #88f;
  69. stroke: #000;
  70. }
  71. .seat2nd {
  72. fill: #8b8;
  73. stroke: #000;
  74. }
  75. #seatYes, #seatNo {
  76. font-size: 40pt;
  77. }
  78. text {
  79. font-family: sans-serif;
  80. font-size: 20pt;
  81. fill: #444;
  82. }
  83. html[dir="RTL"] #plane text {
  84. text-anchor: end;
  85. }
  86. /* Slider. */
  87. .sliderTrack {
  88. stroke: #aaa;
  89. stroke-width: 6px;
  90. stroke-linecap: round;
  91. }
  92. .sliderKnob {
  93. fill: #ddd;
  94. stroke: #bbc;
  95. stroke-width: 1px;
  96. stroke-linejoin: round;
  97. }
  98. .sliderKnob:hover {
  99. fill: #eee;
  100. }