index.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Home - Puppertino Framework</title>
  5. <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/codedgar/Puppertino@latest/dist/css/newfull.css" />
  6. <meta charset="utf-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <meta http-equiv="x-ua-compatible" content="ie=edge" />
  9. <link rel="stylesheet" href="./index-assets/bootstrap-utilities.css">
  10. <link rel="stylesheet" href="./index-assets/bootstrap-grid.min.css">
  11. <meta
  12. name="description"
  13. content="Have you ever thought: Man, I would love a macOS based Framework? Fear not, Puppertino is here!"
  14. />
  15. <link rel="icon" type="image/png" href="landing-images/doggo.png" />
  16. <style type="text/css">
  17. @import url('https://rsms.me/inter/inter.css');
  18. html { font-family: 'Inter', sans-serif; }
  19. @supports (font-variation-settings: normal) {
  20. html { font-family: 'Inter var', sans-serif; }
  21. }
  22. :root {
  23. --text_color: #252525;
  24. --bg_page_color: #f5f5f5;
  25. }
  26. .p-dark-mode, [data-p-theme=darkmode]{
  27. --bg_page_color: #0e0e0e;
  28. --text_color: #f5f5f5;
  29. }
  30. body {
  31. margin: 0px;
  32. --font: -apple-system, "Inter", sans-serif;
  33. background: var(--bg_page_color);
  34. transition: .5s ease;
  35. }
  36. h1,
  37. h2,
  38. h3,
  39. h4,
  40. a,
  41. p {
  42. font-family: -apple-system, "Inter", sans-serif;
  43. color: var(--text_color);
  44. transition: .5s ease;
  45. }
  46. h1{
  47. font-size: 70px;
  48. font-weight: 700;
  49. margin:0;
  50. }
  51. .main-cta{
  52. display: flex;
  53. flex-direction: column;
  54. justify-content: center;
  55. height: 80vh;
  56. background: url('./landing-images/Puppertino_Main_Image.jpg'), rgba(0,0,0,0.3);
  57. background-blend-mode: overlay;
  58. background-repeat: no-repeat;
  59. background-size: cover;
  60. background-position: bottom center;
  61. }
  62. .main-cta h2{
  63. font-weight: 400;
  64. margin-bottom: 20px;
  65. font-size: 30px;
  66. color: #fff;
  67. }
  68. .main-cta img{
  69. margin-top: 100px;
  70. }
  71. .main-cta h1{
  72. color: #fff;
  73. }
  74. .p-link{
  75. text-decoration: none;
  76. }
  77. .mt-20px{
  78. margin-top: 10px;
  79. display: inline-block;
  80. }
  81. .mt-100{
  82. margin-top: 100px;
  83. }
  84. .mb-100{
  85. margin-bottom: 100px;
  86. }
  87. .b-25{
  88. border-radius: 25px;
  89. }
  90. .p-btn{
  91. font-size: 20px;
  92. }
  93. .learn-more-link{
  94. margin:0;
  95. }
  96. sup{
  97. font-size: 1.5rem;
  98. }
  99. .dark-mode-show{
  100. width:100%;
  101. height: 473px;
  102. position: relative;
  103. overflow: hidden;
  104. }
  105. .dark-mode-show::before{
  106. content: '';
  107. background: url('https://images.unsplash.com/photo-1518155317743-a8ff43ea6a5f?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80');
  108. background-size: cover;
  109. background-repeat: no-repeat;
  110. background-position: center;
  111. position: absolute;
  112. top:0;
  113. bottom: 0;
  114. width: 100%;
  115. height: 100%;
  116. }
  117. .dark-mode-show::after{
  118. content: '';
  119. background: url('https://images.unsplash.com/photo-1609699068536-72103600c53e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80');
  120. background-size: cover;
  121. background-repeat: no-repeat;
  122. background-position: center;
  123. position: absolute;
  124. top:0;
  125. bottom: 0;
  126. width: 100%;
  127. height: 100%;
  128. opacity: 0;
  129. transition: .5s ease;
  130. }
  131. .p-dark-mode .dark-mode-show::after{
  132. opacity: 1;
  133. }
  134. .p-dark-mode .p-white-darkmode, [data-p-theme=darkmode] .p-white-darkmode{
  135. color: #fff;
  136. }
  137. #puppertino_speed{
  138. background: url('./landing-images/Fast Loading Puppertino.jpg'), rgba(0,0,0,0.3);
  139. background-blend-mode: overlay;
  140. background-size: cover;
  141. background-repeat: no-repeat;
  142. background-position: center center ;
  143. padding: 0px;
  144. padding: 100px 0px;
  145. }
  146. .puppertino-footer{
  147. background: var(--p-slate-700);
  148. color: #fff;
  149. }
  150. .puppertino-footer p,
  151. .puppertino-footer a{
  152. color: #fff;
  153. }
  154. p sup{
  155. font-size: 10px;
  156. }
  157. .p-form-switch span{
  158. border: 1px solid var(--p-bd-card);
  159. }
  160. .puppertino-footer .footer-links a{
  161. width: fit-content;
  162. margin-top: 5px;
  163. }
  164. @media (max-width: 768px){
  165. h1{
  166. font-size: 34px;
  167. }
  168. .container{
  169. padding: 0;
  170. }
  171. .row{
  172. margin-left:0;
  173. margin-right:0;
  174. }
  175. .dark-mode-show{
  176. height: 273px;
  177. }
  178. .main-cta{
  179. padding: 20px;
  180. height: 70vh;
  181. background-position: bottom right;
  182. }
  183. .mt-100{
  184. margin-top: 50px;
  185. }
  186. .main-cta h2{
  187. font-size: 20px;
  188. }
  189. .main-cta h1{
  190. font-size: 47px;
  191. }
  192. }
  193. @media (min-width: 1919px){
  194. .container{
  195. max-width: 1600px;
  196. }
  197. }
  198. .mw-780{
  199. max-width: 780px;
  200. }
  201. </style>
  202. <!-- Global site tag (gtag.js) - Google Analytics -->
  203. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-176821843-1"></script>
  204. <script>
  205. window.dataLayer = window.dataLayer || [];
  206. function gtag(){dataLayer.push(arguments);}
  207. gtag('js', new Date());
  208. gtag('config', 'UA-176821843-1');
  209. </script>
  210. </head>
  211. <body>
  212. <div class="main-cta">
  213. <div class="container">
  214. <div class="row">
  215. <div class="col-md-10">
  216. <div class="mw-780">
  217. <h1>Puppertino Siberian: <br> Frosted Precision</h1>
  218. <h2>A new era of web design, blending speed and style with Apple's human guidelines.</h2>
  219. <div class="d-block d-md-flex align-items-center text-center">
  220. <a href="https://github.com/codedgar/Puppertino" class="d-block d-md-inline-block p-btn p-prim-col">Download</a>
  221. <a href="examples" class="d-block d-md-inline-block p-link p-silver-100-color p-white-darkmode p-footnote learn-more-link">Read the docs</a>
  222. </div>
  223. </div>
  224. </div>
  225. </div>
  226. </div>
  227. </div>
  228. <div class="container mt-100">
  229. <div class="row align-items-center justify-content-around">
  230. <div class="col-md-5">
  231. <h1>All about Style<sup>(css)</sup> </h1>
  232. <p>Welcome to <strong>Puppertino Siberian</strong>, a CSS framework designed to bridge the gap between the web and native macOS apps, delivering stunning interfaces that blend seamlessly into Apple's design language.
  233. <br><br>
  234. With Puppertino, developers and designers can effortlessly craft pixel-perfect websites and apps that look and feel like native experiences on macOS. Its curated design system simplifies your workflow, allowing you to focus on functionality while giving you the freedom to personalize every element to fit your brand.
  235. </p>
  236. </div>
  237. <div class="col-md-5 mt-4 mt-md-0">
  238. <img class="w-100 b-25" src="https://images.unsplash.com/photo-1606818855637-f637cdb124b4?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80" alt="">
  239. </div>
  240. </div>
  241. </div>
  242. <div class="container mt-100">
  243. <div class="row align-items-center justify-content-around">
  244. <div class="col-md-5">
  245. <img class="w-100 b-25" src="https://images.unsplash.com/photo-1494947665470-20322015e3a8?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80" alt="">
  246. </div>
  247. <div class="col-md-5 mt-4 mt-md-0">
  248. <h1>It's Modular</h1>
  249. <p>
  250. With Puppertino Siberian, you’re in complete control. It’s designed to be fully modular, allowing you to import only the components you need. Don’t need the Layout CSS? Simply leave it out! Customize your app’s design with precision and efficiency, integrating only the styles that matter to your project.
  251. <br><br>
  252. By using only what’s essential, your app will load faster, perform better, and—most importantly—look incredible throughout the process.
  253. </p>
  254. </div>
  255. </div>
  256. </div>
  257. <div class="container mt-100">
  258. <div class="row align-items-center justify-content-around" id="darkmode-enter">
  259. <div class="col-md-5">
  260. <label class="p-form-switch toggles_dark_mode">
  261. <input type="checkbox">
  262. <span></span>
  263. </label>
  264. <h1>Dark Mode?<br> Of course.</h1>
  265. <p>Puppertino comes ready with theming options, offering both dark and light versions using pure CSS. This allows you to seamlessly reuse colors and elements across both themes.
  266. <br><br>
  267. Easily integrate dark mode into your websites and apps with Puppertino's built-in Dark Mode Manager. It includes features like tab synchronization, user preference detection, and more, making it effortless to enhance the user experience across different environments.
  268. </p>
  269. </div>
  270. <div class="col-md-5 mt-4 mt-md-0">
  271. <div class="dark-mode-show b-25"></div>
  272. </div>
  273. </div>
  274. </div>
  275. <div class="container-fluid mt-100 p-0">
  276. <div class="row m-0" id="puppertino_speed">
  277. <div class="col-md-5 offset-md-1">
  278. <h1 class="p-white-color">Your users won't see it coming</h1>
  279. <p class="p-white-color mt-4">Puppertino is built for speed. Like, really fast. Every line of CSS is carefully crafted to ensure maximum efficiency, so your website or app runs as smoothly as a Siberian Husky sprinting through the snow. Puppertino keeps your project fast and sleek, delivering stunning visuals without compromising performance. </p>
  280. </div>
  281. </div>
  282. </div>
  283. <div class="container mt-100 mb-100">
  284. <div class="row align-items-center justify-content-center text-center">
  285. <div class="col-md-7">
  286. <h1>What are you waiting for? Let's get to it!</h1>
  287. <p class="mt-5">Husky references aside, Puppertino is the CSS framework that simplifies bringing that Apple-inspired style to your project. Updated monthly, it’s packed with everything you need to make your website or app look stunning from the get-go.</p>
  288. <div class="d-block d-md-flex align-items-center justify-content-center">
  289. <a href="https://github.com/codedgar/Puppertino" class="d-block d-md-inline-block p-btn p-prim-col">Download</a>
  290. <a href="examples" class="d-block d-md-inline-block p-link p-slate-700-color p-white-darkmode p-footnote learn-more-link">Read the docs</a>
  291. </div>
  292. </div>
  293. </div>
  294. </div>
  295. <div class="container-fluid p-0 m-0">
  296. <div class="row m-0">
  297. <div class="puppertino-footer pt-5">
  298. <div class="container">
  299. <div class="row footer-links justify-content-around">
  300. <div class="col-md-3">
  301. <p><strong>The basics</strong></p>
  302. <a href="examples/getting-started.html" class="d-block">Getting Started</a>
  303. <a href="examples/buttons.html" class="d-block">Buttons</a>
  304. <a href="examples/forms.html" class="d-block">Forms</a>
  305. </div>
  306. <div class="col-md-3">
  307. <p><strong>Interactive Elements</strong></p>
  308. <a href="examples/modals.html" class="d-block">Modals</a>
  309. <a href="examples/tabs.html" class="d-block">Tabs</a>
  310. <a href="examples/actions.html" class="d-block">Actions</a>
  311. <a href="examples/segmented_controls.html" class="d-block">Segmented Controls</a>
  312. </div>
  313. <div class="col-md-3">
  314. <p><strong>Decorative Elements</strong></p>
  315. <a href="examples/layout.html" class="d-block">Layout</a>
  316. <a href="examples/icons.html" class="d-block">Icons</a>
  317. <a href="examples/shadows.html" class="d-block">Shadows & Blur</a>
  318. <a href="examples" class="d-block">View All</a>
  319. </div>
  320. <div class="col-md-3">
  321. <p><strong>Theming</strong></p>
  322. <a href="examples/colors.html" class="d-block">Colors</a>
  323. <a href="examples/dark_mode.html" class="d-block">Dark Mode</a>
  324. <a href="examples/theming.html" class="d-block">Theming</a>
  325. <a href="#" class="d-block">Advanced Theming</a>
  326. </div>
  327. </div>
  328. </div>
  329. <div class="text-center mt-5">
  330. <p>Puppertino is not associated in any way with Apple Inc. <sup>(But could be, hmu Apple)</sup></p>
  331. <p>Created by <a href="//codedgar.com" class="p-blueberry-100-color">Codedgar</a>.</p>
  332. </div>
  333. </div>
  334. </div>
  335. </div>
  336. </body>
  337. <script src="https://cdn.jsdelivr.net/gh/codedgar/Puppertino@latest/src/js/dakmode_manager.js"></script>
  338. <script defer>
  339. document.querySelector('.toggles_dark_mode input').addEventListener('change',function(){
  340. puppertinoThemeMan.toggle();
  341. });
  342. puppertinoThemeMan.init({autoDetect: true});
  343. const isDarkActive = puppertinoThemeMan.isDarkThemeActive();
  344. console.log(isDarkActive);
  345. if(isDarkActive){
  346. document.querySelector('.toggles_dark_mode input').checked = true
  347. }
  348. </script>
  349. </html>