doc.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. :root{
  2. --bg-docs: #f5f5f7;
  3. --color-docs: #1d1d1f;
  4. --route-bg:#e6e6e6;
  5. --white-or-black:#fff;
  6. --p-talk-bg: var(--p-silver-100);
  7. --p-talk-bd: var(--p-silver-300);
  8. }
  9. .dark_theme{
  10. --bg-docs: #0e0e0e;
  11. --color-docs: #e6e6e6;
  12. --route-bg:#040404;
  13. --white-or-black:#212121;
  14. }
  15. .p-dark-mode,[data-p-theme=darkmode] {
  16. --bg-docs: #0e0e0e;
  17. --color-docs: #e6e6e6;
  18. --route-bg:#040404;
  19. --white-or-black:#212121;
  20. --p-talk-bg: var(--route-bg);
  21. --p-talk-bd: #242424;
  22. }
  23. html {
  24. scroll-behavior: smooth;
  25. }
  26. body {
  27. background: var(--bg-docs);
  28. padding: 2% 3%;
  29. margin: 0px;
  30. color: var(--color-docs);
  31. }
  32. h1,
  33. h2,
  34. h3,
  35. input,
  36. p,
  37. a,
  38. code,
  39. li {
  40. font-family: -apple-system, "Inter", sans-serif;
  41. }
  42. h1 {
  43. font-size: 50px;
  44. font-weight: 600;
  45. opacity: .9;
  46. }
  47. a {
  48. color: var(--primary-col-ac);
  49. }
  50. .website-title {
  51. margin-top: 0px;
  52. }
  53. .img-landing {
  54. height: 400px;
  55. display: block;
  56. margin: auto;
  57. max-width: 100%;
  58. }
  59. .talk-about-it {
  60. padding: 1% 2%;
  61. border: 1px solid var(--p-talk-bd);
  62. border-radius: 25px;
  63. background-color: var(--p-talk-bg);
  64. max-width: 1450px;
  65. display: block;
  66. margin: auto;
  67. margin-top: 100px;
  68. }
  69. .talk-about-it h2{
  70. font-weight: 400;
  71. font-size: 2.11rem;
  72. line-height: 115%;
  73. }
  74. .cta {
  75. height: 50vh;
  76. }
  77. .code,
  78. .hljs {
  79. background: #262526;
  80. color: #f3f3f3;
  81. border-radius: 5px;
  82. }
  83. code.code {
  84. padding: 1px 5px;
  85. }
  86. .route {
  87. background: var(--route-bg);
  88. border-radius: 5px;
  89. }
  90. .route > p {
  91. display: inline-block;
  92. }
  93. .a,
  94. .hljs-class,
  95. .hljs-variable,
  96. .hljs-template-variable .hljs-name,
  97. .hljs-selector-id,
  98. .hljs-selector-class,
  99. .hljs-regexp,
  100. .hljs-deletion,
  101. .hljs-attr {
  102. color: #70ff6e;
  103. }
  104. .av,
  105. .hljs-string,
  106. .hljs-symbol,
  107. .hljs-bullet,
  108. .hljs-addition {
  109. color: #6ea4ff;
  110. }
  111. .h,
  112. .hljs-variable,
  113. .hljs-template-variable,
  114. .hljs-name,
  115. .hljs-selector-id,
  116. .hljs-selector-class,
  117. .hljs-regexp,
  118. .hljs-deletion {
  119. color: #ff6e6e;
  120. }
  121. pre {
  122. padding-left: 15px;
  123. overflow: auto;
  124. }
  125. .doc_card {
  126. display: block;
  127. margin: auto;
  128. padding: calc(32% - 40px);
  129. border-radius: 20px;
  130. font-size: 40px;
  131. border: 4px solid;
  132. color: #555;
  133. text-decoration: none;
  134. text-align: center;
  135. margin-top: 50px;
  136. }
  137. .color_base {
  138. display: block;
  139. margin: auto;
  140. }
  141. .h-50 {
  142. padding: 5px 10px;
  143. padding-left: 30px;
  144. height: auto;
  145. }
  146. .h-50 p {
  147. margin: 0;
  148. }
  149. .pad_15_row > div {
  150. margin-top: 15px;
  151. }
  152. .col-w {
  153. color: #fff;
  154. }
  155. .col-b {
  156. color: #000;
  157. }
  158. .center_row {
  159. justify-content: center;
  160. }
  161. .color_base {
  162. cursor: pointer;
  163. }
  164. #textarea_color {
  165. opacity: 0;
  166. }
  167. .copy_correct {
  168. width: 200px;
  169. background: #fff;
  170. border-radius: 3px;
  171. box-shadow: 0px 8px 10px -8px rgba(0, 0, 0, 0.1);
  172. border: 1px solid rgba(0, 0, 0, 0.1);
  173. position: fixed;
  174. right: 5%;
  175. bottom: 0%;
  176. opacity: 0;
  177. pointer-events: none;
  178. transition: all 0.3s;
  179. padding: 20px;
  180. }
  181. .copy_correct.active {
  182. bottom: 5%;
  183. opacity: 1;
  184. }
  185. #color_talk {
  186. border-radius: 5px;
  187. padding: 1px 5px;
  188. color: #fff;
  189. border: 1px solid #e0e0e0;
  190. }
  191. .content_smol{
  192. display: flex;
  193. justify-content: center;
  194. flex-wrap: wrap;
  195. }
  196. .w-100{
  197. width: 100%;
  198. }
  199. .mw-300{
  200. width: 300px;
  201. position: relative;
  202. }
  203. .mw-450{
  204. width: 450px;
  205. position: relative;
  206. background: var(--white-or-black);
  207. }
  208. .p-mobile-tabs {
  209. position: static;
  210. }
  211. .p-mobile-tabs--content{
  212. padding: 10px;
  213. }
  214. .demo_segmented{
  215. --color-segmented:#68b723;
  216. --color-lighter-segment: #d1ff82;
  217. }
  218. .shadow_shower{
  219. display: grid;
  220. grid-gap: 1rem;
  221. grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  222. }
  223. .shadow_shower div{
  224. height: 200px;
  225. background: #fff;
  226. border-radius: 10px;
  227. display: flex;
  228. align-items: center;
  229. justify-content: center;
  230. }
  231. .center_xs{
  232. align-items: center;
  233. }
  234. .lmao_codedgar_b_dumb{
  235. text-decoration: line-through;
  236. opacity: .5;
  237. }
  238. .bit_bit{
  239. display: inline-block;
  240. padding: 5px;
  241. border-radius: 5px;
  242. }
  243. .p-card-text{
  244. height: 60px;
  245. line-height: 20px;
  246. font-size: 20px!important;
  247. }
  248. .sponsored{
  249. max-width: 200px;
  250. }
  251. .card_blur{
  252. height: 200px;
  253. position: relative;
  254. overflow: hidden;
  255. }
  256. .blur_elm{
  257. height: 70%;
  258. width: 70%;
  259. border-radius: 10px;
  260. position: absolute;
  261. bottom: 1%;
  262. left: 1%;
  263. z-index: 1;
  264. display: flex;
  265. align-items: center;
  266. justify-content: center;
  267. }
  268. .blur_img{
  269. height: 70%;
  270. width: 70%;
  271. border-radius: 10px;
  272. background: blue;
  273. position: absolute;
  274. top: 1%;
  275. right: 1%;
  276. background: url('../landing-images/blur_example.jpg');
  277. background-size: cover;
  278. background-repeat: no-repeat;
  279. }
  280. @media (max-width: 768px){
  281. .sponsored{
  282. max-width: 100%;
  283. }
  284. }
  285. .p-docs-alert{
  286. display: flex;
  287. align-items: center;
  288. padding: 20px;
  289. background: #ffca8063;
  290. border-radius: 30px;
  291. margin-top: 20px;
  292. }
  293. .p-docs-alert>div:first-child{
  294. width: 10%;
  295. display: grid;
  296. place-items: center;
  297. }
  298. .p-docs-alert h3,
  299. .p-docs-alert p{
  300. margin: 5px;
  301. }
  302. .d-flex{
  303. display: flex;
  304. flex-wrap: wrap;
  305. }
  306. .align-baseline{
  307. align-items: baseline;
  308. }
  309. .talk-about-it {
  310. background-color: transparent;
  311. border-color: transparent;
  312. margin-top: 30px;
  313. }
  314. .deprecated-code{
  315. border: 2px solid currentColor;
  316. color: var(--p-banana-700);
  317. background: transparent;
  318. }
  319. .flex-1{
  320. flex: 1;
  321. }
  322. .align-bottom{
  323. align-items: end;
  324. }
  325. .mt-4{
  326. margin-top: 30px;
  327. }