TheiPhoneFan

Old Theme CSS

Jun 11th, 2024 (edited)
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 11.79 KB | None | 0 0
  1. body {
  2.   background-color: black;
  3. }
  4. .white-bg {
  5.   background-color: #ffffff;
  6. }
  7. .full-bg-body {
  8.   background-image: url('../theme/os-x-leopard-wallpaper.png');
  9.   background-size: cover;
  10.   background-position-x: center;
  11.   background-position-y: center;
  12.   background-attachment: fixed;
  13. }
  14. /* Text */
  15. strong, b { /* Makes text with <b> & <strong> tags to display bold */
  16.   font-weight: bold;
  17. }
  18. p {
  19.   font-size: 20px;
  20.   color: white;
  21.   align-items: center;
  22.   font-family: 'Roboto', sans-serif;
  23.   font-weight: 300;
  24. }
  25. h1 {
  26.   font-size: 45px;
  27.   font-family: 'Roboto', sans-serif;
  28.   color: white;
  29.   align-items: center;
  30. }
  31. h2 {
  32.   font-size: 30px;
  33.   font-family: 'Roboto', sans-serif;
  34.   color: white;
  35. }
  36. h3 {
  37.   font-size: 25px;
  38.   font-family: 'Roboto', sans-serif;
  39.   color: white;
  40.   align-items: center;
  41. }
  42. h4 /* I never use this tag */ {
  43.   font-size: 20px;
  44.   font-family: 'Roboto', sans-serif;
  45.   color: white;
  46. }
  47. h5 /* I never use this tag */ {
  48.   font-size: 15px;
  49.   font-family: 'Roboto', sans-serif;
  50.   color: white;
  51. }
  52. h6 /* I never use this tag */ {
  53.   font-size: 10px;
  54.   font-family: 'Roboto', sans-serif;
  55.   color: white;
  56. }
  57. details {
  58.   padding: 12px 25px;
  59.   cursor: pointer;
  60. }
  61. summary { /* This is text that names a <details> section, similar to h3 */
  62.   color: white;
  63.   font-family: 'Roboto', sans-serif;
  64.   font-weight: bold;
  65.   font-size: 25px;
  66.   cursor: pointer;
  67. }
  68. a {
  69.   font-size: 20px;
  70.   font-family: 'Roboto', sans-serif;
  71.   color: #ffff00;
  72.   align-items: center;
  73.   font-weight: 300;
  74.   text-decoration: undeline;
  75. }
  76. a:hover {
  77.   text-decoration: none;
  78. }
  79. li /* List Item in the <ul> tag */ {
  80.   font-size: 20px;
  81.   color: white;
  82.   font-family: 'Roboto', sans-serif;
  83.   font-weight: 300;
  84.   margin: 10px;
  85. }
  86. figcaption { /* Image Caption */
  87.   color: white;
  88.   font-family: 'Roboto', sans-serif;
  89.   font-weight: 300;
  90.   font-size: 20px;
  91. }
  92.      
  93.      
  94.      
  95.      
  96.      
  97.      
  98.      
  99.      
  100.      
  101. /* Page Elements */
  102. video { /* Videos will have rounded corners. */
  103.   border-radius: 13px;
  104. }
  105. iframe { /* Embedded pages will have round corners, and no border */
  106.   border-radius: 16px;
  107.   border-color: transparent;
  108. }
  109. .footer { /* Footer Iframe Styling */
  110.   width: 100%;
  111.   height: 365px;
  112. }
  113. hr { /* Horizontal line used as a divider */
  114.   height: 1px;
  115.   border-radius: 3px;
  116.   border-width: 0;
  117.   color: white;
  118.   background-color: white;
  119.   width: 95%;
  120.   margin-top: 15px;
  121.   margin-bottom: 15px;
  122. }
  123. noscript { /* Text that displays when JavaScript is disabled */
  124.   text-align: center;
  125.   font-size: 20px;
  126.   font-weight: bold;
  127.   color: red;
  128.   background-color: white;
  129.   font-family: 'Roboto', sans-serif;
  130. }
  131. .header /* Top section of the page that contains info about the page */ {
  132.   background-image: url('./os-x-leopard-wallpaper.png');
  133.   border-radius: 0px 0px 13px 13px;
  134.   background-size: cover;
  135.   background-position-x: center;
  136.   background-position-y: center;
  137.   padding: 10px;
  138.   text-align: left;
  139. }
  140. .twitter-share-button {
  141.   text-align: left;
  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: 'Roboto', 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 {
  189.   cursor: pointer !important;
  190.   text-shadow: rgba(10, 10, 10, 0.5) 1px 2px 2px !important;
  191.   color:white !important;
  192.   height: 35px !important;
  193.   font-size: 25px !important;
  194.   font-family:'Roboto', sans-serif; text-shadow: rgba(10, 10, 10, 0.5) 1px 2px 2px !important;
  195.   color:white !important;
  196. }
  197. .infotext { /* Info buttons below icons will have a font weight of 600. */
  198.   font-weight: 600;
  199. }
  200. .infocptn {
  201.   text-align: center;
  202. }
  203. summary { /* This is text that names a <details> section */
  204.   color: white;
  205.   font-family: 'Roboto', sans-serif;
  206.   font-weight: bold;
  207.   font-size: 20px;
  208.   cursor: pointer;
  209. }
  210. details hr {
  211.   color: black;
  212.   background-color: black;
  213.   margin-top: 5px;
  214.   margin-bottom: 5px;
  215. }
  216. @keyframes details-show { /* Adds an animation when the <summary> is clicked on. */
  217.   from {
  218.     opacity:0;
  219.       transform: var(--details-translate, translateY(-0.5em));
  220.     }
  221. }
  222.  
  223. details[open] > *:not(summary) { /* Adds an animation when the <summary> is clicked on. */
  224.   animation: details-show 0.3s ease-in-out;
  225. }
  226. .topbtn {
  227.   text-align: center;
  228. }
  229. .topbtn img {
  230.   border-radius: 20%;
  231.   width: 40px;
  232. }
  233.  
  234.      
  235.      
  236.      
  237.      
  238.      
  239.      
  240.      
  241.      
  242.      
  243. /* Home Page Panels */
  244. .section /* The div for the "panel" where the content is contained */ {
  245.   background-color: #6495EC;
  246.   border-radius: 16px;
  247.   max-width: 300px;
  248.   height: 300px;
  249.   overflow: auto;
  250.   padding: 10px;
  251. }
  252.  
  253.        
  254.        
  255.        
  256.        
  257.        
  258.        
  259.        
  260.        
  261.        
  262.  
  263. /* Spacing */
  264. .changelog-collapsibles /* Used on the "Site Revision History" page to add spacing between content, but it does not align to center. */ {
  265.   padding: 10px;
  266. }
  267. .flex-parent-element /* Soon to be replaced with the "flex-container". */ {
  268.   display: flex;
  269.   width: 100%;
  270. }
  271. .flex-child-element /* Soon to be replaced with the "flex-container". */ {
  272.   flex: 1;
  273.   margin: 10px;
  274. }
  275. .flex-child-element:first-child /* Soon to be replaced with the "flex-container". */ {
  276.   margin-right: 20px;
  277. }
  278. @media (max-width: 7in) /* Soon to be replaced with the "flex-container". */ {
  279.   .flex-parent-element {
  280.     flex-direction: column;
  281.   }
  282. }
  283.    
  284. /* Start flex-container */
  285. .flex-container {
  286.     display: flex;
  287.     flex-wrap: wrap;
  288. }
  289. .flex-container>div  /* Used to place content side-by-side. */  {
  290.   padding: 10px;
  291. }
  292. /* End flex-container */
  293.  
  294. /* Start flex-box */
  295. .flex-box { /* Where the .flex-box content is contained */
  296.   display: flex;
  297.   justify-content: center;
  298. }
  299. @media (max-width: 6in) { /* If the screen with is less than 6 inches (576 px), the content will display in a column. */
  300.   .flex-box {
  301.       flex-direction: column;
  302.   }
  303. }
  304. .flex-box>div  /* Used to place content side-by-side. */  {
  305.   align-items: center;
  306.   padding: 10px;
  307. }
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318. /* Top Bar CSS */
  319. .navbar {
  320.   overflow: hidden;
  321.   background-image: url('pinstripes-1x.png');
  322.   border-radius: 13px 13px 0px 0px;
  323.   border: 1px solid #ccc;
  324. }
  325. @media (max-width: 749px) {
  326.   .navbar {
  327.     display: none;
  328.   }
  329. }
  330. .navbar a {
  331.   float: left;
  332.   font-size: 16px;
  333.   color: black;
  334.   text-align: center;
  335.   padding: 14px 16px;
  336.   text-decoration: none;
  337.   font-family: 'Roboto', sans-serif;
  338.   font-weight: 300;
  339.   color: gray;
  340.   cursor: pointer;
  341. }
  342. .navbar a img {
  343.   vertical-align: middle;
  344. }
  345. .dropdown {
  346.   float: left;
  347.   overflow: hidden;
  348.   font-weight: 300;
  349. }
  350. .dropdown .dropbtn {
  351.   font-size: 16px;
  352.   border: none;
  353.   outline: none;
  354.   color: white;
  355.   padding: 14px 16px;
  356.   background-color: inherit;
  357.   background-image: none;
  358.   font-family: 'Roboto', sans-serif;
  359.   font-weight: 300;
  360.   margin: 0;
  361.   color: gray;
  362.   cursor: pointer;
  363.   border-radius: 0px;
  364.   text-shadow: none;
  365.   height: 100%;
  366. }
  367. .navbar a:hover, .dropdown:hover, .navbar a:hover, .dropbtn:hover {
  368.   background-color: #eeeeee;
  369.   transition: 0.3s;
  370.   color: #000000;
  371. }
  372. .dropdown-content {
  373.   display: none;
  374.   position: absolute;
  375.   background-image: url('pinstripes-1x.png');
  376.   min-width: 160px;
  377.   z-index: 1;
  378.   border-radius: 16px;
  379.   border: 1px solid #ccc;
  380.   max-width: 100%; /* Added to limit the width to 100% of the screen */
  381.   box-sizing: border-box; /* Added to include padding and border in the width calculation */
  382.   margin-bottom: 1px;
  383. }
  384. .dropdown-content a {
  385.   float: none;
  386.   color: black;
  387.   padding: 12px 16px;
  388.   text-decoration: none;
  389.   display: block;
  390.   max-height: 200px; /* Adjust the value as needed */
  391.   overflow-x: hidden;
  392.   text-align: left;
  393.   cursor: pointer;
  394. }
  395. .dropdown-content a:hover {
  396.   background-color: #eeeeee;
  397. }
  398. .dropdown-content p {
  399.   color: black;
  400.   font-size: 16px;
  401. }
  402. .dropdown:hover .dropdown-content {
  403.   display: block;
  404. }
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.      
  414. /* Sidebar CSS */
  415. .sidebar {
  416.   height: 100%;
  417.   width: 310px;
  418.   position: fixed;
  419.   top: 0;
  420.   left: -310px; /* Hide the sidebar off-screen by default */
  421.   background-image: url('pinstripes-1x.png');
  422.   padding-top: 20px;
  423.   transition: left 0.3s; /* Add a smooth transition effect when the sidebar slides in/out */
  424.   overflow-x: auto;
  425.   overflow-y: auto;
  426. }
  427.  
  428. @media (min-width: 750px) {
  429.   .sidebar {
  430.     display: none;
  431.   }
  432. }
  433.  
  434. .site-title {
  435.   text-align: center;
  436. }
  437. @media (min-width: 750px) {
  438.   .site-title {
  439.     display: none;
  440.   }
  441. }
  442.  
  443. /* Define the CSS styles for the links in the sidebar */
  444. .sidebar a {
  445.   text-decoration: none;
  446.   font-size: 20px;
  447.   color: black;
  448.   display: block;
  449.   font-family: 'Roboto', sans-serif;
  450.   margin-left: 5px;
  451. }
  452.  
  453. /* Change the color of the links when hovered over */
  454. .sidebar a:hover {
  455.   background-color: #eeeeee;
  456.   border-radius: 10px;
  457. }
  458.  
  459. .sidebar p {
  460.   margin: 20px;
  461. }
  462.  
  463. .sidebar h3 {
  464.   margin: 0px;
  465. }
  466.  
  467. .social-icons {
  468.   display: flex;
  469.   justify-content: center;
  470.   margin-top: 1px;
  471.   margin-bottom: 30px;
  472. }
  473.  
  474. .social-icons img {
  475.   width: 40px;
  476. }
  477.  
  478. .social-icons a {
  479.   background-color: transparent !important;
  480. }
  481.  
  482.  
  483. .sidebar details hr {
  484.   color: black;
  485.   background-color: black;
  486.   margin-top: 5px;
  487.   margin-bottom: 5px;
  488. }
  489. .sidebar summary {
  490.   padding: 3px;
  491.   text-decoration: none;
  492.   color: black;
  493.   font-weight: 300;
  494.   font-family: 'Roboto', sans-serif;
  495.   height: 20px;
  496. }
  497. .sidebar summary:hover {
  498.   background-color: #eeeeee;
  499.   height: 20px;
  500.   border-radius: 16px;
  501. }
  502.  
  503. .openbtn {
  504.   position: fixed;
  505.   z-index: 1;
  506.   margin-left: 10px;
  507.   background-color: #333;
  508.   color: white;
  509.   border: none;
  510.   cursor: pointer;
  511.   width: 40px;
  512.   height: 40px;
  513.   font-size: 20px;
  514.   margin-top: 10px;
  515.   font-size: 20px;
  516.   display: flex;
  517.   justify-content: center;
  518.   align-items: center;
  519. }
  520.  
  521. @media (min-width: 750px) {
  522.   .openbtn {
  523.     display: none;
  524.   }
  525. }
  526. .sidebar h3 {
  527.   text-align: center;
  528. }
  529.      
  530.      
  531.      
  532.      
  533.      
  534.      
  535.      
  536.      
  537.      
  538. /* Tabs */
  539. /* Style the tab */
  540. .tab {
  541.   overflow: hidden;
  542.   border: 1px solid #ccc;
  543.   background-color: #f1f1f1;
  544.   background-image: url('../theme/pinstripes-1x.png');
  545.   border-radius: 13px;
  546. }
  547.  
  548. /* Style the buttons inside the tab */
  549. .tab button /* The buttons used to access different tabs */ {
  550.   font-family: 'Roboto', sans-serif;
  551.   cursor: pointer;
  552.   font-size: 20px;
  553.   border-radius: 16px;
  554.   color: white;
  555.   font-weight: 400;
  556.   text-shadow: rgba(10, 10, 10, 0.5) 1px 2px 2px;
  557.   margin: 5px;
  558.   margin-right: 0px;
  559.   transition: 0.3s;
  560.   height: 40px;
  561.   background-image: url('../theme/aqua.jpeg');
  562.   background-size: cover;
  563.   background-position-x: center;
  564.   background-position-y: center;
  565.   border-top-color: #8ba2c1;
  566.   border-right-color: #5890bf;
  567.   border-bottom-color: #4f93ca;
  568.   border-left-color: #768fa5;
  569. }
  570.  
  571. /* Create an active/current tablink class */
  572. .tab button.active {
  573.   font-weight: bold;
  574. }
  575.  
  576. /* Style the tab content */
  577. .tabcontent {
  578.   display: none;
  579. }
  580. /* Created by Jordan's Blog on 2024-06-01 */
  581. /* Theme 6.0.5 2023-2024 */
Add Comment
Please, Sign In to add comment