Advertisement
TheiPhoneFan

TIF Custom Font CSS

Feb 5th, 2024
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 15.04 KB | None | 0 0
  1. /* Created by TheiPhoneFan on 2024-02-05 */
  2. /* TheiPhoneFan 6.0.1 2021-2024 */
  3. /* Download Font Here
  4. https://www.dropbox.com/scl/fi/50rk5q1tik7n2re7n9r3r/jpr.ttf?rlkey=p3pd8so2lotzlcnm6fwlwraof&dl=0
  5. */
  6. @font-face {
  7.   font-family: jpr;
  8.   src: url(../theme/jpr.ttf);
  9. }
  10. body {
  11.   background-color:black;
  12. }
  13. .white-bg {
  14.   background-color: #ffffff;
  15. }
  16. .full-bg-body {
  17.   background-image: url('../theme/os-x-leopard-wallpaper.png');
  18.   background-size: cover;
  19.   background-position-x: center;
  20.   background-position-y: center;
  21.   background-attachment: fixed;
  22. }
  23. /* Text */
  24. p {
  25.   font-family: 'jpr', sans-serif;
  26.   font-weight:300;
  27. }
  28.  
  29. strong, b { /* Makes text with <b> & <strong> tags to display bold */
  30.   font-weight:bold;
  31. }
  32.  
  33. p {
  34.   font-size: 25px;
  35.   color: white;
  36.   align-items: center;
  37.   font-family: 'jpr', sans-serif;
  38. }
  39. h1 {
  40.   font-size: 56.25px;
  41.   font-family: 'jpr', sans-serif;
  42.   color: white;
  43.   align-items: center;
  44. }
  45. h2 {
  46.   font-size: 43.75px;
  47.   font-family: 'jpr', sans-serif;
  48.   color: white;
  49. }
  50. h3 {
  51.   font-size: 31.25;
  52.   font-family: 'jpr', sans-serif;
  53.   color: white;
  54.   align-items: center;
  55. }
  56.      
  57. h4 /* I never use this tag */ {
  58.   font-size: 18.75;
  59.   font-family: 'jpr', sans-serif;
  60.   color: white;
  61. }
  62. h5 /* I never use this tag */ {
  63.   font-size: 16.25px;
  64.   font-family: 'jpr', sans-serif;
  65.   color: white;
  66. }
  67. h6 /* I never use this tag */ {
  68.   font-size:12.5;
  69.   font-family: 'jpr', sans-serif;
  70.   color: white;
  71. }
  72. a {
  73.   font-size:25px;
  74.   font-family: 'jpr', sans-serif;
  75.   color: #ffff00;
  76.   align-items: center;
  77.   font-weight:300;
  78.   text-decoration:undeline;
  79. }
  80. a:hover {
  81.   text-decoration:none;
  82. }
  83. li /* List Item in the <ul> tag */ {
  84.   font-size:25px;
  85.   color:white;
  86.   font-family:'jpr', sans-serif;
  87.   font-weight:300;
  88.   margin:10px;
  89. }
  90. figcaption { /* Image Caption */
  91.   color:white;
  92.   font-family: 'jpr', sans-serif;
  93.   font-weight:300;
  94.   font-size:25px;
  95. }
  96.      
  97.      
  98.      
  99.      
  100.      
  101.      
  102.      
  103.      
  104.      
  105. /* Page Elements */
  106. video { /* Videos will have rounded corners. */
  107.   border-radius: 13px;
  108. }
  109. iframe { /* Embedded pages will have round corners, and no border */
  110.   border-radius:16px;
  111.   border-color:transparent;
  112. }
  113. .footer { /* Footer Iframe Styling */
  114.   width: 100%;
  115.   height: 365px;
  116. }
  117. hr { /* Horizontal line used as a divider */
  118.   height:1px;
  119.   border-radius:1px;
  120.   border-width:0;
  121.   color:white;
  122.   background-color:white;
  123.   width:74%;
  124.   margin-top:25px;
  125.   margin-bottom:25px;
  126. }
  127. noscript { /* Text that displays when JavaScript is disabled */
  128.   text-align:center;
  129.   font-size: 25px;
  130.   font-weight: bold;
  131.   color: red;
  132.   background-color:white;
  133.   font-family: 'jpr', sans-serif;
  134. }
  135. .header /* Top section of the page that contains info about the page */ {
  136.   text-align:center;
  137.   background-image: url('./os-x-leopard-wallpaper.png');
  138.   border-radius: 0px 0px 13px 13px;
  139.   background-size: cover;
  140.   background-position-x: center;
  141.   background-position-y: center;
  142. }
  143. @media (max-width: 750px) {
  144.   .header {
  145.     border-radius: 13px 13px 13px 13px;
  146.   }
  147. }
  148. button {
  149.   background-image: url('./aqua.jpeg');
  150.   background-size: cover;
  151.        
  152.   background-position-x: center;
  153.   background-position-y: center;
  154.  
  155.   border: 2px solid #ccc;
  156.   border-radius: 16px;
  157.  
  158.   border-top-color: #8ba2c1;
  159.   border-right-color: #5890bf;
  160.   border-bottom-color: #4f93ca;
  161.   border-left-color: #768fa5;
  162.  
  163.   align-items: center;
  164.  
  165.   text-shadow: #0a0a0a80 1px 2px 2px;
  166.  
  167.   margin-bottom:5px;
  168.   height:40px;
  169.   font-family: 'jpr', sans-serif;
  170.   font-weight:300;
  171. }
  172. button:hover { /* Button will have a "glow" effect when click/hovered on */
  173.   box-shadow: #428cf080 0px 10px 16px;
  174.   transition: 0.3s;
  175. }
  176. button a { /* Links in buttons will not be underlined and will be white */
  177.   text-decoration:none;
  178.   color:white;
  179. }
  180. button b { /* Text in button will have a font weight of 400 */
  181.   font-weight: 400;
  182. }
  183. button img {
  184.     vertical-align: middle;
  185.     border-radius: 5px;
  186.     box-shadow: #0a0a0a80 1px 2px 2px;
  187. }
  188. .infobtn { /* Info buttons below icons will have a font weight of 600. */
  189.   font-weight:600;
  190. }
  191. summary { /* This is text that names a <details> section */
  192.   color: white;
  193.   font-family: 'jpr', sans-serif;
  194.   font-weight:bold;
  195.   font-size:25px;
  196.   cursor: pointer;
  197. }
  198. details {
  199.   padding: 12px 25px;
  200.   cursor: pointer;
  201. }
  202. details hr {
  203.   color:black;
  204.   background-color:black;
  205.   margin-top:5px;
  206.   margin-bottom:5px;
  207. }
  208. @keyframes details-show { /* Adds an animation when the <summary> is clicked on. */
  209.   from {
  210.     opacity:0;
  211.       transform: var(--details-translate, translateY(-0.5em));
  212.     }
  213. }
  214.  
  215. details[open] > *:not(summary) { /* Adds an animation when the <summary> is clicked on. */
  216.   animation: details-show 0.3s ease-in-out;
  217. }
  218.      
  219.      
  220. /* Accordion Content Section */
  221. .accordion /* For Hiding Large Amounts Of Content */  {
  222.   background-color: #ffffff40;
  223.   color: black;
  224.   cursor: pointer;
  225.   padding: 18px;
  226.   width: 100%;
  227.   outline: none;
  228.   font-weight: bold;
  229.   font-family: 'jpr', sans-serif;
  230.   font-size: 20px;
  231.   border-radius: 16px;
  232.   border: 2px solid #ccc;
  233.   border-top-color: #8ba2c1;
  234.   border-right-color: #5890bf;
  235.   border-bottom-color: #4f93ca;
  236.   border-left-color: #768fa5;
  237.   height:65px;
  238. }
  239. .accordion:hover { /* A glow effect will apply when the accordion button is clicked/hovered on */
  240.   box-shadow: #428cf080 0px 10px 16px;
  241. }
  242. .panel /* The <div> section where the content is contained */ {
  243.   padding: 0 18px;
  244.   display: none;
  245.   overflow: hidden;
  246. }
  247. .accordion:after /* When the accordion section is "opened" */ {
  248.   content: '\002B';
  249.   color: black;
  250.   font-weight: bold;
  251.   float: right;
  252.   margin-left: 5px;
  253.     }
  254. .active:after /* When the accordion section is "closed" */  {
  255.   content: "\2212";
  256.   color: black;
  257. }
  258.  
  259.      
  260.      
  261.      
  262.      
  263.      
  264.      
  265.      
  266.      
  267.      
  268. /* Home Page Panels */
  269. .section /* The div for the "panel" where the content is contained */ {
  270.   background-color:#6495ec;
  271.   border-radius:16px;
  272.   width: 400px;
  273.   height: 400px;
  274.   overflow: auto;
  275. }
  276. .margin /* This div spaces the text/content apart */ {
  277.   padding:10px;
  278. }
  279.  
  280.        
  281.        
  282.        
  283.        
  284.        
  285.        
  286.        
  287.        
  288.        
  289.  
  290. /* Spacing */
  291. .myDiv /* Used to align content to the center. */ {
  292.   text-align: center;
  293. }
  294. .mydiv /* Used to add spacing between content and align to the center. */ {
  295.   padding: 10px;
  296.   text-align:center;
  297. }
  298. .changelog-collapsibles /* Used on the "Site Revision History" page to add spacing between content, but it does not align to center. */ {
  299.   padding: 10px;
  300. }
  301. .flex-parent-element /* Soon to be replaced with the "flex-container". */ {
  302.   display: flex;
  303.   width: 100%;
  304. }
  305. .flex-child-element /* Soon to be replaced with the "flex-container". */ {
  306.   flex: 1;
  307.   margin: 10px;
  308. }
  309. .flex-child-element:first-child /* Soon to be replaced with the "flex-container". */ {
  310.   margin-right: 20px;
  311. }
  312. @media (max-width: 7in) /* Soon to be replaced with the "flex-container". */ {
  313.   .flex-parent-element {
  314.     flex-direction: column;
  315.   }
  316. }
  317.    
  318. /* Start flex-container */
  319. .flex-container {
  320.     display: flex;
  321.     align-items-x:center;
  322.     justify-content:center;
  323.     flex-wrap:wrap;
  324. }
  325. .flex-container>div  /* Used to place content side-by-side. */  {
  326.   padding: 10px;
  327.   align-items: center;
  328.   align-content: center;
  329. }
  330. /* End flex-container */
  331.  
  332. /* Start flex-box */
  333. .flex-box { /* Where the .flex-box content is contained */
  334.   display: flex;
  335.   align-items-x: center;
  336.   justify-content: center;
  337. }
  338. @media (max-width: 6in) { /* If the screen with is less than 6 inches (576 px), the content will display in a column. */
  339.   .flex-box {
  340.       flex-direction: column;
  341.   }
  342. }
  343. .flex-box>div  /* Used to place content side-by-side. */  {
  344.   padding: 10px;
  345.   align-items: center;
  346.   align-content: center;
  347. }
  348. /* End flex-box */
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359. /* Top Bar CSS */
  360. .navbar {
  361.   overflow: hidden;
  362.   background-image: url('pinstripes-1x.png');
  363.   border-radius: 13px 13px 0px 0px;
  364.   border: 1px solid #ccc;
  365. }
  366. @media (max-width: 750px) {
  367.   .navbar {
  368.     display: none;
  369.   }
  370. }
  371. .navbar a {
  372.   float: left;
  373.   font-size: 20px;
  374.   color: black;
  375.   text-align: center;
  376.   padding: 14px 16px;
  377.   text-decoration: none;
  378.   font-family: 'jpr', sans-serif;
  379.   font-weight: 300;
  380.   color: gray;
  381.   cursor: pointer;
  382. }
  383. .navbar a img {
  384.   vertical-align: middle;
  385. }
  386. .dropdown {
  387.   float: left;
  388.   overflow: hidden;
  389.   font-weight: 300;
  390. }
  391. .dropdown .dropbtn {
  392.   font-size: 20px;
  393.   border: none;
  394.   outline: none;
  395.   color: white;
  396.   padding: 14px 16px;
  397.   background-color: inherit;
  398.   background-image: none;
  399.   font-family: 'jpr', sans-serif;
  400.   font-weight: 300;
  401.   margin: 0;
  402.   color: gray;
  403.   cursor: pointer;
  404.   border-radius:0px;
  405.   text-shadow: none;
  406.   height:100%;
  407. }
  408. .navbar a:hover, .dropdown:hover, .navbar a:hover, .dropbtn:hover {
  409.   background-color: #eeeeee;
  410.   transition: 0.3s;
  411.   color: #000000;
  412. }
  413. .dropdown-content {
  414.   display: none;
  415.   position: absolute;
  416.   background-image: url('pinstripes-1x.png');
  417.   min-width: 160px;
  418.   z-index: 1;
  419.   border-radius: 16px;
  420.   border: 1px solid #ccc;
  421.   max-width: 100%; /* Added to limit the width to 100% of the screen */
  422.   box-sizing: border-box; /* Added to include padding and border in the width calculation */
  423.   margin-bottom: 1px;
  424. }
  425. .dropdown-content a {
  426.   float: none;
  427.   color: black;
  428.   padding: 12px 16px;
  429.   text-decoration: none;
  430.   display: block;
  431.   max-height: 200px; /* Adjust the value as needed */
  432.   overflow-x: hidden;
  433.   text-align: left;
  434.   cursor: pointer;
  435. }
  436. .dropdown-content a:hover {
  437.   background-color: #eeeeee;
  438. }
  439. .dropdown-content p {
  440.   color: black;
  441.   font-size: 16px;
  442. }
  443.       .dropdown:hover .dropdown-content {
  444.           display: block;
  445.       }
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.      
  455. /* Sidebar CSS */
  456. .sidebar {
  457.   height: 100%;
  458.   width: 310px;
  459.   position: fixed;
  460.   top: 0;
  461.   left: -310px; /* Hide the sidebar off-screen by default */
  462.   background-image: url('pinstripes-1x.png');
  463.   padding-top: 20px;
  464.   transition: left 0.3s; /* Add a smooth transition effect when the sidebar slides in/out */
  465.   overflow-x: auto;
  466.   overflow-y: auto;
  467. }
  468.  
  469. @media (min-width: 750px) {
  470.   .sidebar {
  471.     display: none;
  472.   }
  473. }
  474.  
  475. .site-title {
  476.   text-align: center;
  477. }
  478. @media (min-width: 750px) {
  479.   .site-title {
  480.     display: none;
  481.   }
  482. }
  483.  
  484. /* Define the CSS styles for the links in the sidebar */
  485. .sidebar a {
  486.   padding: 12px 25px;
  487.   text-decoration: none;
  488.   font-size: 20px;
  489.   color: black;
  490.   display: block;
  491.   font-family: 'jpr', sans-serif;
  492.   height:20px;
  493. }
  494.  
  495. /* Change the color of the links when hovered over */
  496. .sidebar a:hover {
  497.   background-color: #eeeeee;
  498.   height:20px;
  499.   border-radius: 10px;
  500. }
  501.  
  502. .sidebar details {
  503.   padding: 12px 25px;
  504.   cursor: pointer;
  505. }
  506. .sidebar details hr {
  507.   color:black;
  508.   background-color:black;
  509.   margin-top:5px;
  510.   margin-bottom:5px;
  511. }
  512. .sidebar summary {
  513.   padding: 3px;
  514.   text-decoration: none;
  515.   font-size: 20px;
  516.   color: black;
  517.   font-weight:300;
  518.   font-family: 'jpr', sans-serif;
  519.   height:20px;
  520. }
  521. .sidebar summary:hover {
  522.   background-color: #eeeeee;
  523.   height:20px;
  524.   border-radius:16px;
  525. }
  526.      
  527. .openbtn {
  528.   position: fixed;
  529.   z-index: 1;
  530.   margin-left: 10px;
  531.   background-color: #333;
  532.   color: white;
  533.   border: none;
  534.   cursor: pointer;
  535.   width: 40px;
  536.   height:40px;
  537.   font-size:20px;
  538.   margin-top:10px;
  539.   font-size: 20px;
  540.   display: flex;
  541.   justify-content: center;
  542.   align-items: center;
  543. }
  544.  
  545. @media (min-width: 750px) {
  546.   .openbtn {
  547.     display: none;
  548.   }
  549. }
  550. .sidebar h3 {
  551.   text-align: center;
  552. }
  553.      
  554.      
  555.      
  556.      
  557.      
  558.      
  559.      
  560.      
  561.      
  562. /* Tabs */
  563. .tab /* Used to place content into tabbed sections */ {
  564.   overflow: hidden;
  565.   border-radius:13px;
  566.   border: 1px solid #ccc;
  567.   background-image: url('../theme/pinstripes-1x.png');
  568.   background-position-x:center;
  569.   background-position-y:center;
  570. }
  571. .tab button /* The buttons used to access different tabs */ {
  572.   background-color: rgba(255, 255, 255, 0.25);
  573.   font-family:'jpr', sans-serif;
  574.   overflow:none;
  575.   outline: none;
  576.   cursor: pointer;
  577.   padding: 14px 16px;
  578.   font-size: 20px;
  579.   border-radius:16px;
  580.   color:black;
  581.   font-weight:700;
  582.   text-shadow: rgba(10, 10, 10, 0.5) 1px 2px 2px;
  583.   margin-bottom:5px;
  584.   margin-top:5px;
  585.   margin-left:5px;
  586.   transition: 0.3s;
  587. }
  588. .tabcontent /* The "div" where the tab content is shown. */ {
  589.   display: none;
  590.   padding: 6px 12px;
  591.   border-top: none;
  592. }
  593.      
  594.      
  595.      
  596.      
  597.      
  598.      
  599.      
  600.      
  601.      
  602.      
  603. /* Slideshow */
  604. {
  605.   box-sizing: border-box
  606. }
  607. body { /* Where the images are displayed */
  608.   font-family: 'jpr' sans-serif;
  609.   margin: 0,
  610. }
  611. .mySlides {
  612.   display: none;
  613. }
  614. .mySlides img, .mySlides1 img, .mySlides2 img, .mySlides3 img, .mySlides4 img, .mySlides5 img, .mySlides6 img, .mySlides7 img, .mySlides8 img, .mySlides9 img, .mySlides10 img, .mySlides11 img, .mySlides12 img, .mySlides13 img, .mySlides14 img, .mySlides15 img, .mySlides16 img, .mySlides17 img, .mySlides18 img, .mySlides19 img, .mySlides20 img { /* Styling for the slideshow image, works for pages with up to 20 slideshows */
  615.   vertical-align: middle;
  616.   border-radius: 16px;
  617. }
  618. .slideshow-container /* Where the images are also displayed */ {
  619.   max-width: 1000px;
  620.   position: relative;
  621.   margin: auto;
  622. }
  623. .prev, .next /* The back/forward slideshow buttons, this stylying is used on both buttons */ {
  624.   cursor: pointer;
  625.   position: absolute;
  626.   top: 50%;
  627.   width: auto;
  628.   padding: 16px;
  629.   margin-top: -22px;
  630.   color: white;
  631.   font-family: 'jpr' sans-serif;
  632.   font-size: 18px;
  633.   transition: 0.6s ease;
  634.   border-radius: 0 3px 3px 0;
  635.   user-select: none;
  636. }
  637. .next /* This is used to keep the buttons seperate */ {
  638.   right: 0;
  639.   border-radius: 3px 0 0 3px;
  640. }
  641. .prev:hover, .next:hover /* This styling is applied when you hover or click on one of the back/forward */ {
  642.   background-color: #6495ED;
  643.   border-radius:16px;
  644.   margin-left:10px;
  645.   margin-right:10px;
  646. }
  647. .text /* This is the caption text */ {
  648.   color: #ffffff;
  649.   font-size: 15px;
  650.   padding: 8px 12px;
  651.   position: absolute;
  652.   bottom: 8px;
  653.   width: 100%;
  654.   text-align: center;
  655.   font-family: 'jpr', sans-serif;
  656.   font-weight:400;
  657. }
  658. .numbertext /* This text displays how far you are through the slideshow */ {
  659.   color: white;
  660.   font-size: 15px;
  661.   padding: 8px 12px;
  662.   position: absolute;
  663.   top: 0;
  664.   font-family: 'jpr', sans-serif;
  665.   font-weight:bold;
  666. }
  667. .dot {
  668.   cursor: pointer;
  669.   height: 15px;
  670.   width: 15px;
  671.   margin: 0 2px;
  672.   background-color: #6495ed;
  673.   border-radius: 50%;
  674.   display: inline-block;
  675.   transition: background-color 0.6s ease;
  676. }
  677.      
  678. .active, .dot:hover {
  679.   background-color: #3261b8;
  680. }
  681.  
  682. .fade /* When the slide is switched, the fade will apply. */ {
  683.   animation-name: fade;
  684.   animation-duration: 1.5s;
  685. }
  686. @keyframes fade /* When the slide is switched, the fade will apply. */ {
  687.   from {
  688.     opacity: .4
  689.   }
  690.   to {
  691.     opacity: 1
  692.   }
  693. }
  694. @media only screen and (max-width: 300px) /* When the width of the device does not fit the slideshow content, this styling will apply. */ {
  695.   .prev, .next, .text {
  696.     font-size: 11px
  697.   }
  698. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement