Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.80 KB | None | 0 0
  1. /*GLOBAL CODING*/
  2. *{
  3.     box-sizing: border-box;
  4.     margin: 0;
  5.     padding: 0;
  6.     }
  7.  
  8. body{
  9.    color: #2C2C2C;
  10. }
  11.  
  12.  
  13. p{
  14.     font-family: font-family: 'Lora', serif;
  15. }
  16.  
  17. header{
  18.     margin-top: 30px;
  19. }
  20.  
  21. header img{
  22.     width: 90%;
  23.     display: block;
  24.     margin-left: auto;
  25.     margin-right: auto;
  26. }
  27.  
  28. #headerSub{
  29.     width: 100%;
  30.     height: 700px;
  31.     background-color: aqua;
  32.     position: fixed;
  33.     z-index: 1;
  34.     visibility: hidden;
  35. }
  36.  
  37. #headerSub:hover {
  38.     visibility: visible;
  39. }
  40.  
  41. a{
  42.     text-decoration: none;
  43.     color: #2C2C2C;
  44. }
  45.  
  46. footer{
  47.     position: absolute;
  48.     bottom: 2%;
  49.     left:25%;
  50.     text-align: center;
  51.    
  52.     visibility: hidden;
  53. }
  54.  
  55. footer p{
  56.     font-size: 3em;
  57. }
  58.  
  59. /*HOME PAGE CODING*/
  60. h2{
  61.     font-family: Gill Sans, sans-serif;
  62.     font-size: 2em;
  63.     color: #2C2C2C;
  64.     margin-top: 10px;
  65. }
  66.  
  67. h2:hover{
  68.     font-size: 3em;
  69.     color:#9CE1FF;
  70. }
  71.  
  72.     /*changes individual link colors*/
  73. #book1 a:hover{ color:#45C6FF;}
  74. #book2 a:hover{ color:#FF5045;}
  75. #book3 a:hover{ color:#CFCFCF;}
  76. #book4 a:hover{ color:#E045FF;}
  77. #book5 a:hover{ color:#9145FF;}
  78.  
  79. .bookTitles{
  80.     margin-top: 80px;
  81.     margin-left: 9%;
  82. }
  83.  
  84. .slide img{
  85.     width: 100%;
  86.     margin-top: 40px;
  87.     /*visibility: hidden;*/
  88. }
  89.  
  90.  
  91.     /*animations*/
  92. .first{
  93.     animation: first 30s infinite;
  94.     position: absolute;
  95. }
  96.  
  97. @keyframes first{
  98.     0% {opacity:1;}
  99.     15% {opacity:1;}
  100.     20% {opacity:0;}
  101.     38% {opacity:0;}
  102.     40% {opacity:0;}
  103.     60% {opacity:0;}
  104.     80% {opacity:0;}
  105.     100% {opacity:0;}
  106. }
  107.  
  108. .second{
  109.     animation: second 30s infinite;
  110.     position: absolute;
  111. }
  112.  
  113. @keyframes second{
  114.     0% {opacity:0;}
  115.     18% {opacity:0;}
  116.     20% {opacity:1;}
  117.     35% {opacity:1;}
  118.     40% {opacity:0;}
  119.     60% {opacity:0;}
  120.     80% {opacity:0;}
  121.     100% {opacity:0;}
  122. }
  123.  
  124. .third{
  125.     animation: third 30s infinite;
  126.     position: absolute;
  127. }
  128.  
  129. @keyframes third{
  130.     0% {opacity:0;}
  131.     18% {opacity:0;}
  132.     20% {opacity:0;}
  133.     38% {opacity:0;}
  134.     40% {opacity:1;}
  135.     58% {opacity:1;}
  136.     60% {opacity:0;}
  137.     80% {opacity:0;}
  138.     100% {opacity:0;}
  139. }
  140.  
  141. .fourth{
  142.     animation: fourth 30s infinite;
  143.     position: absolute;
  144. }
  145.  
  146. @keyframes fourth{
  147.     0% {opacity:0;}
  148.     18% {opacity:0;}
  149.     20% {opacity:0;}
  150.     38% {opacity:0;}
  151.     40% {opacity:0;}
  152.     58% {opacity:0;}
  153.     60% {opacity:1;}
  154.     78% {opacity:1;}
  155.     80% {opacity:0;}
  156.     100% {opacity:0;}
  157. }
  158.  
  159. .fifth{
  160.     animation: fifth 30s infinite;
  161.     position: absolute;
  162. }
  163.  
  164. @keyframes fifth{
  165.     0% {opacity:0;}
  166.     18% {opacity:0;}
  167.     20% {opacity:0;}
  168.     38% {opacity:0;}
  169.     40% {opacity:0;}
  170.     58% {opacity:0;}
  171.     60% {opacity:0;}
  172.     78% {opacity:0;}
  173.     80% {opacity:1;}
  174.     98% {opacity:1;}
  175.     100% {opacity:0;}
  176. }
  177.  
  178.  
  179.  
  180. /*BOOK PAGES CODING*/
  181. .bookFull img{
  182.     width: 100%;
  183. }
  184.  
  185. #selectionReview a{color: #OOOOOO;}
  186.  
  187. h3{
  188.     font-family: Gill Sans, sans-serif;
  189.     font-size: 2.3em;
  190.     position: absolute;
  191.     margin-top: 31px;
  192.     margin-left: 10px;
  193.     color: #2C2C2C;
  194. }
  195.  
  196. h4{
  197.     font-size: 1.6em;
  198.     margin-left: 10px;
  199.     font-family: Gill Sans, sans-serif;
  200.     letter-spacing: 2px;
  201.     color:#414141;
  202. }
  203.  
  204. p{
  205.     font-size:.9em;
  206.     width: 90%;
  207.     display:block;
  208.     margin-left: auto;
  209.     margin-right: auto;
  210.     margin-top: 5px;
  211. }
  212.  
  213. .buyButton{
  214.     width: 70%;
  215.     height: 50px;
  216.     background-color: #414141;
  217.    
  218.     position: absolute;
  219.     top: 770px;
  220.     left:14%;
  221.     border: solid;
  222.     border-color: #2C2C2C;
  223.     font-size: 1.8em;
  224.     font-family: Gill Sans, sans-serif;
  225.     text-align: center;
  226.    
  227.     text-shadow: 2px 2px 8px #2C2C2C;
  228. }
  229.  
  230. .buyButton a{ color:white;}
  231. .buyButton a:hover {color: #414141;}
  232. .buyButton:hover {background-color: #2C2C2C;}
  233.  
  234.  
  235.     /*page coloring*/
  236.         /*elite page*/
  237. #titleColor1Main {color:#26A7E0;}
  238. #titleColor1 {color:#45C6FF;}
  239. #titleColor1 a{color:#45C6FF;}
  240. #selectionReview1 a{color: #45C6FF;}
  241. #button1 {background-color: #45C6FF;}
  242. #button1{border-color: #26A7E0; text-shadow: 2px 2px 8px #26A7E0;}
  243. #button1 a:hover{color:#26A7E0;}
  244.  
  245.         /*elite page*/
  246. #titleColor2Main {color:#CF1307;}
  247. #titleColor2 {color:#FF5045;}
  248. #titleColor2 a{color:#FF5045;}
  249. #selectionReview2 a{color: #FF5045;}
  250. #button2 {background-color: #FF5045;}
  251. #button2{border-color: #CF1307; text-shadow: 2px 2px 8px #CF1307;}
  252. #button2 a:hover{color:#CF1307;}
  253.  
  254.         /*one page*/
  255. #titleColor3Main {color:#9D9D9D;}
  256. #titleColor3 {color:#CFCFCF;}
  257. #selectionReview3 a{color: #CFCFCF;}
  258. #button3 {background-color: #CFCFCF;}
  259. #button3 {border-color: #9D9D9D; text-shadow: 2px 2px 8px #9D9D9D;}
  260. #button3 a:hover{color:#9D9D9D;}
  261.  
  262.  
  263.         /*heir page*/
  264. #titleColor4Main {color:#C71AE9;}
  265. #titleColor4 {color:#E045FF;}
  266. #selectionReview4 a{color: #E045FF;}
  267. #button4 {background-color: #E045FF;}
  268. #button4 {border-color: #C71AE9; text-shadow: 2px 2px 8px #C71AE9;}
  269. #button4 a:hover{color:#C71AE9;}
  270.  
  271.         /*crown page*/
  272. #titleColor5Main {color:#7422EC;}
  273. #titleColor5 {color:#9145FF;}
  274. #selectionReview5 a{color: #9145FF;}
  275. #button5 {background-color: #9145FF;}
  276. #button5 {border-color: #7422EC; text-shadow: 2px 2px 8px #7422EC;}
  277. #button5 a:hover{color:#7422EC;}
  278.  
  279. @media only screen and (min-width: 1000px) {
  280.    
  281.     /*GLOBAL CODING*/
  282.     header img{
  283.         width: 20%;
  284.         margin-right: 10%;
  285.     }
  286.    
  287.     h3{
  288.         font-size: 4em;
  289.         top: 80px;
  290.         margin-left: 5px;
  291.     }
  292.    
  293.     .container{
  294.         display: flex;
  295.         justify-content: flex-start;
  296.         margin-top: 50px;
  297.     }
  298.    
  299.    
  300.     /*HOME PAGE CODING*/
  301.     .bookTitles{
  302.         width:50%;
  303.         margin-left:6%;
  304.     }
  305.    
  306.     .slide{
  307.         width: 30%;
  308.         margin-left: auto;
  309.         margin-right: 20%;
  310.        
  311.     }
  312.    
  313.     .slide img{
  314.         width: 50%;
  315.         z-index: -30;
  316.     }
  317.    
  318.    
  319.    
  320.     /*BOOK PAGES CODING*/
  321.     .bookFull{
  322.         width: 40%;
  323.     }
  324.    
  325.     .bookFull img{
  326.         width: 100%;
  327.         margin-top: 10px;
  328.     }
  329.    
  330.     .container2{
  331.         width: 45%;
  332.         position: relative;
  333.         margin-top: 150px;
  334.         margin-left: 30px;
  335.         height: 800px;
  336.         overflow-y: scroll;
  337.         overflow-x: hidden;
  338.     }
  339.    
  340.     .buyButton{
  341.         width: 25%;
  342.         left:7%;
  343.         top:650px;
  344.     }
  345.    
  346. }
  347.  
  348. @media only screen and (min-width: 1500px) {
  349.    
  350.     /*GLOBAL CODING*/
  351.     h2{
  352.         font-size: 3em;
  353.     }
  354.    
  355.     h2:hover{
  356.         font-size: 5em;
  357.     }
  358.    
  359.     .bookTitles{
  360.         width:60%;
  361.     }
  362.    
  363.    
  364.     /*BOOK PAGES CODING*/
  365.     h3{
  366.         font-size: 5em;
  367.     }
  368.    
  369.     h4{
  370.         font-size:2em;
  371.     }
  372.    
  373.     .container2{
  374.         width:40%;
  375.         margin-left: 100px;
  376.         margin-top: 170px;
  377.         height:750px;
  378.     }
  379.    
  380.     .buyButton{
  381.         top: 1050px;
  382.     }
  383. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement