style.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. animation-delay: 2s;
  31. }
  32. @keyframes pulse {
  33. 0% { background-color: #fff }
  34. 50% { background-color: #f00 }
  35. 100% { background-color: #fff }
  36. }
  37. #blockly {
  38. height: 300px;
  39. width: 100%;
  40. border-style: solid;
  41. border-color: #ddd;
  42. border-width: 0 1px 1px 0;
  43. }
  44. /* SVG Plane. */
  45. #plane {
  46. overflow: hidden;
  47. }
  48. #fuselage {
  49. fill: #fff;
  50. stroke: #000;
  51. }
  52. #wing, #tail {
  53. fill: #ddd;
  54. stroke: #444;
  55. }
  56. .crew {
  57. fill: #f44;
  58. stroke: #000;
  59. }
  60. .seat1st {
  61. fill: #88f;
  62. stroke: #000;
  63. }
  64. .seat2nd {
  65. fill: #8b8;
  66. stroke: #000;
  67. }
  68. #seatYes, #seatNo {
  69. font-size: 40pt;
  70. }
  71. text {
  72. font-family: sans-serif;
  73. font-size: 20pt;
  74. fill: #444;
  75. }
  76. html[dir="RTL"] #plane text {
  77. text-anchor: end;
  78. }
  79. /* Slider. */
  80. .sliderTrack {
  81. stroke: #aaa;
  82. stroke-width: 6px;
  83. stroke-linecap: round;
  84. }
  85. .sliderKnob {
  86. fill: #ddd;
  87. stroke: #bbc;
  88. stroke-width: 1px;
  89. stroke-linejoin: round;
  90. }
  91. .sliderKnob:hover {
  92. fill: #eee;
  93. }