style.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. @font-face {
  2. font-family: "JetBrain Mono";
  3. src: url("font/JetBrainsMono-Regular.woff2") format("woff2");
  4. }
  5. @font-face {
  6. font-family: "Covenant";
  7. src: url("font/Halo-Covenant.ttf") format("truetype");
  8. }
  9. .jb-mono {
  10. font-family: "JetBrain Mono",Menlo,Consolas,Monaco,monospace !important;
  11. }
  12. .covenant {
  13. font-family: "Covenant" !important;
  14. }
  15. .hide {
  16. visibility: hidden;
  17. }
  18. .none {
  19. display: none;
  20. }
  21. /* --- Zone --- */
  22. #header {
  23. height: 12vh;
  24. }
  25. #home {
  26. height: 88vh;
  27. position: relative;
  28. }
  29. /* --- Download --- */
  30. #download {
  31. margin-bottom: 1em;
  32. text-align: center;
  33. }
  34. #download span {
  35. width: 60%;
  36. }
  37. /* --- CMD --- */
  38. input.cmd-in {
  39. /* Surcharge les modification de Pico */
  40. box-shadow: none;
  41. border-color: inherit;
  42. padding: 0;
  43. margin: 0;
  44. height: inherit;
  45. }
  46. #cmd {
  47. scrollbar-width: thin;
  48. scrollbar-color: #828282 #101010;
  49. }
  50. #cmd {
  51. width: 100%;
  52. height: 400px;
  53. transition: all .15s linear;
  54. }
  55. #cmd.fullscreen {
  56. z-index: 9998;
  57. width: 100%;
  58. height: 100%;
  59. top: 0 !important;
  60. left: 0 !important;
  61. }
  62. #cmd::-webkit-scrollbar {
  63. width: 8px;
  64. }
  65. #cmd::-webkit-scrollbar-track {
  66. background: #101010;
  67. }
  68. #cmd::-webkit-scrollbar-thumb {
  69. background-color: #828282;
  70. border-radius: 20px;
  71. border: 3px solid #828282;
  72. }
  73. /* --- OS Window --- */
  74. .window {
  75. border: 4px solid #f1f1f1;
  76. border-top-left-radius: 4px;
  77. border-top-right-radius: 4px;
  78. }
  79. .window-toolbar {
  80. padding: 10px;
  81. background: #f1f1f1;
  82. border-top-left-radius: 4px;
  83. border-top-right-radius: 4px;
  84. color: #828282
  85. }
  86. .window-toolbar:after {
  87. content: "";
  88. display: table;
  89. clear: both;
  90. }
  91. .window-toolbar-left {
  92. float: left;
  93. width: 10%;
  94. }
  95. .window-toolbar-center {
  96. float: left;
  97. width: 75%;
  98. text-align: center;
  99. }
  100. .window-toolbar-right {
  101. float: left;
  102. width: 15%;
  103. text-align: right;
  104. }
  105. .window-dot {
  106. margin-top: 4px;
  107. height: 12px;
  108. width: 12px;
  109. background-color: #bbb;
  110. border-radius: 50%;
  111. display: inline-block;
  112. cursor: pointer;
  113. }
  114. #close-fs {
  115. position: absolute;
  116. top: 1em;
  117. right: 1em;
  118. z-index: 9999;
  119. background: #FDD800;
  120. color: black;
  121. border-color: black;
  122. font-weight: bold;
  123. border-radius: 80em;
  124. height: 2.5em;
  125. width: 2.5em;
  126. padding: 0.5em;
  127. }
  128. .secret {
  129. position: absolute;
  130. top: 50%;
  131. left: 50%;
  132. transform: translateY(-50%) translateX(-50%);
  133. font-size: 2em;
  134. opacity: .2;
  135. }
  136. /* --- Pico 8 --- */
  137. #pico {
  138. position: relative;
  139. overflow: hidden;
  140. height: 68vh;
  141. width: 100%;
  142. transition: all .15s linear;
  143. }
  144. #pico iframe {
  145. position: absolute;
  146. top: 0;
  147. left: 0;
  148. width: 100%;
  149. height: 100%;
  150. border: 0;
  151. }
  152. #pico.fullscreen {
  153. z-index: 9998;
  154. width: 100%;
  155. height: 100%;
  156. top: 0 !important;
  157. left: 0 !important;
  158. }