nguyent063

style.css

Feb 21st, 2021
596
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.46 KB | None | 0 0
  1. h1 {
  2.   font-family: 'Fredoka One', cursive;
  3.   color: #874a11;
  4.   text-align: center;
  5.   font-size: 80px;
  6.   margin-top: 50px;
  7.   margin-bottom: 5px;
  8.   animation: pulse 3s infinite;
  9. }
  10.  
  11. h2 {
  12.   font-family: 'Concert One', cursive;
  13.   color: #532800;
  14.   text-align: center;
  15.   font-size: 40px;
  16. }
  17.  
  18. h3 {
  19.   font-family: 'Quicksand', cursive;
  20.   font-weight: bold;
  21.   color: #5BA14D;
  22.   text-align: center;
  23.   font-size: 30px;
  24.   margin-top: 5px;
  25.   margin-bottom: 5px;
  26. }
  27.  
  28. h4 {
  29.   font-family: 'Quicksand', cursive;
  30.   font-weight: normal;
  31.   color: #874a11;
  32.   text-align: center;
  33.   font-size: 20px;
  34. }
  35.  
  36. .scroll h4 {
  37.   margin-top: 5px;
  38.   margin-bottom: 5px;
  39. }
  40.  
  41. p {
  42.   line-height: 25px;
  43. }
  44.  
  45. li::marker {
  46.   font-size: 45px;
  47.   padding-bottom: 4px;
  48.   animation: bounce 1s infinite;
  49. }
  50.  
  51. li span {
  52.   font-size: 16px;
  53.   animation: none;
  54.   }
  55.  
  56. ul {
  57.   margin: 25px;
  58.   list-style-image: url('banana.svg');
  59. }
  60.  
  61. body {
  62.   font-family: 'Quicksand', cursive;
  63.   margin: 0;
  64.   padding: 0;
  65.   background: rgb(255, 252, 236);
  66. }
  67.  
  68. input {
  69.   margin-top: 7.5px;
  70.   width: 50px;
  71. }
  72.  
  73. .topnav img {
  74.   width: 3rem;
  75.   padding-right: 5px;
  76.   padding-left: 5px;
  77.   float: right;
  78. }
  79.  
  80. .information img {
  81.   padding-left: 20px;
  82.   width: 15rem;
  83.   float: right;
  84. }
  85.  
  86. .instructions img {
  87.   width: 20rem;
  88. }
  89.  
  90. .stocks img {
  91.   width: 20rem;
  92. }
  93.  
  94. #stockHeaderText {
  95.   font-family: 'Concert One', cursive;
  96.   color: rgb(195, 145, 91);
  97.   text-align: right;
  98.   font-size: 30px;
  99.   position: relative; bottom: 100px;
  100. }
  101.  
  102. #stockShower {
  103.   animation: bounce 1s infinite;
  104. }
  105.  
  106. div.scroll {
  107.   margin: auto;
  108.   padding: 4px;
  109.   background-color: transparent;
  110.   width: 335px;
  111.   height: 24.5rem;
  112.   overflow-x: hidden;
  113.   overflow-y: auto;
  114.   padding-right: 5px;
  115.   position: relative; right: 80px;
  116. }
  117.  
  118. div[name="stockButton"] {
  119.   font-family: 'Quicksand', sans-serif;
  120.   margin-bottom: 5px;
  121.   padding: 5px;
  122.   color: rgb(83, 40, 0);
  123.   background-color: #FFFCEC;
  124.   text-align: center;
  125.   width: 300px;
  126.   height: 150px;
  127.   border-radius: 5px;
  128.   font-size: 18px;
  129. }
  130.  
  131. .clear {
  132.   clear: both;
  133. }
  134.  
  135. .stats {
  136.   float: right;
  137. }
  138.  
  139. /*
  140. #stockButton {
  141.   font-family: 'Quicksand', sans-serif;
  142.   margin-bottom: 5px;
  143.   padding: 5px;
  144.   color: rgb(83, 40, 0);
  145.   background-color: #FFFCEC;
  146.   text-align: center;
  147.   width: 300px;
  148.   height: 150px;
  149.   border: 2px;
  150.   border-style: solid;
  151.   border-color: #C3915B;
  152.   border-radius: 10px;
  153.   font-size: 18px;
  154. }*/
  155.  
  156. .chartContainer {
  157.   float: left;
  158.   padding: 0 2rem 2rem 2rem;
  159. }
  160.  
  161. button:focus {
  162.   outline: none;
  163. }
  164.  
  165. #buy {
  166.   margin-left: 0px;
  167.   font-family: 'Quicksand', sans-serif;
  168.   color: white;
  169.   width: 75px;
  170.   height: 25px;
  171.   border: none;
  172.   border-radius: 10px;
  173.   background-color: rgb(23, 119, 6);
  174.   box-shadow: 0 4px rgb(12, 71, 2);
  175. }
  176.  
  177. #buy:hover {
  178.   outline: none;
  179.   background-color: rgb(29, 146, 8);
  180. }
  181.  
  182. #buy:active {
  183.   outline: none;
  184.   box-shadow: 0 1px rgb(12, 71, 2);
  185.   transform: translateY(2px);
  186. }
  187.  
  188. #sell {
  189.   margin-right: 0px;
  190.   font-family: 'Quicksand', sans-serif;
  191.   width: 75px;
  192.   height: 25px;
  193.   color: white;
  194.   border: none;
  195.   border-radius: 10px;
  196.   background-color: rgb(243, 194, 32);
  197.   box-shadow: 0 4px rgb(206, 164, 25);
  198. }
  199.  
  200. #sell:hover {
  201.   outline: none;
  202.   background-color: rgb(247, 213, 103);
  203. }
  204.  
  205. #sell:active {
  206.   outline: none;
  207.   background-color: rgb(247, 213, 103);
  208.   box-shadow: 0 1px rgb(206, 164, 25);
  209.   transform: translateY(2px)
  210. }
  211.  
  212. .topnav {
  213.   background-color: rgb(139, 184, 68);
  214.   box-shadow: 2px;
  215.   overflow: hidden;
  216. }
  217.  
  218. /* Style the links inside the navigation bar */
  219. .topnav a {
  220.   float: left;
  221.   color: #FAF2A1;
  222.   text-align: center;
  223.   padding: 14px 16px;
  224.   text-decoration: none;
  225.   font-size: 17px;
  226. }
  227.  
  228. /* Change the color of links on hover */
  229. .topnav a:hover {
  230.   background-color: rgb(100, 158, 52);
  231.   color: #FFD64B;
  232. }
  233.  
  234. .hero img {
  235.   width: 100%;
  236. }
  237.  
  238. .information p {
  239.   margin: 40px;
  240. }
  241.  
  242. .information h3 {
  243.   padding-top: 20px;
  244. }
  245.  
  246. .information section {
  247.   padding: 20px;
  248. }
  249.  
  250. .information section:nth-child(odd) {
  251.   background:#FAF2A1;
  252. }
  253.  
  254. .forparents {
  255.   background-color: #FAF2A1;
  256.   margin-top: 20px;
  257.   padding-top: 10px;
  258.   padding-bottom: 10px;
  259. }
  260.  
  261. .forparents p {
  262.   margin: 40px;
  263. }
  264.  
  265. .stockContainer {
  266.   float: right;
  267.   padding-top: 20px;
  268.   padding-left: 20px;
  269.   margin-right: 40px;
  270. }
  271.  
  272. .stockContainer h3, h4 {
  273.   padding-right: 15px;
  274.   padding-bottom: 5px;
  275.   text-align: right;
  276. }
  277.  
  278. .stockContainer #capuchin h3 {
  279.   font-size: 26px;
  280. }
  281.  
  282. .userInfo {
  283.   padding-left: 30px;
  284.   float: left;
  285.   width: 30rem;
  286.   background-color: #f8f6de;
  287.   border-radius: 10px;
  288.   margin-left: 70px;
  289.   box-shadow: 0 5px rgb(226, 222, 208);
  290. }
  291.  
  292. .userInfo:hover {
  293.   box-shadow: 0 5px rgb(226, 222, 208);
  294.   animation: tilt 1s 1 alternate ease-out forwards;
  295. }
  296.  
  297. .userInfo h2 {
  298.   text-align: left;
  299.   font-size: 28px;
  300.   color: #5BA14D;
  301. }
  302.  
  303. .userInfo h2 span {
  304.   font-family: 'Quicksand', cursive;
  305.   color: #874a11;
  306.   font-size: 20px;
  307. }
  308.  
  309. form {
  310.   outline: none;
  311. }
  312.  
  313. input {
  314.   border: none;
  315.   background-color: white;
  316.   box-shadow:  inset 1px 1px 2px rgb(173, 163, 84), inset -3px -3px 6px white;
  317.   border-radius: 8px;
  318.   margin: 8px;
  319.   padding: 3px;
  320. }
  321.  
  322. input:focus {
  323.   outline: none;
  324. }
  325.  
  326. #monkeySoft, #apeBook, #alibaboon, #gorillaStop, #capuchin, #apeBNB {
  327.   background-color: rgb(248, 246, 222);
  328.   padding-bottom: 10px;
  329. }
  330.  
  331. /* width */
  332. ::-webkit-scrollbar {
  333.   width: 10px;
  334. }
  335.  
  336. /* Track */
  337. ::-webkit-scrollbar-track {
  338.   background: #f1f1f1;
  339. }
  340.  
  341. /* Handle */
  342. ::-webkit-scrollbar-thumb {
  343.   background: #888;
  344. }
  345.  
  346. /* Handle on hover */
  347. ::-webkit-scrollbar-thumb:hover {
  348.   background: #555;
  349. }
  350.  
  351. @keyframes pulse {
  352.     from {
  353.         transform: scale(1);
  354.     }
  355.  
  356.     50% {
  357.         transform: scale(0.95);
  358.     }
  359.  
  360.     to {
  361.         transform: scale(1);
  362.     }
  363. }
  364.  
  365. @keyframes bounce {
  366.   from {
  367.     transform: translateY(0px);
  368.   }
  369.  
  370.   50% {
  371.     transform: translateY(2.5px);
  372.   }
  373.  
  374.   to {
  375.     transform: translateY(0px);
  376.   }
  377. }
  378.  
  379. @keyframes tilt {
  380.   from {
  381.     transform: rotate(0deg);
  382.   }
  383.  
  384.   to {
  385.     transform: rotate(2deg);
  386.   }
  387. }
  388.  
  389. @media only screen and (max-width: 1060px) {
  390.  
  391.   .instructions .center {
  392.     display: block;
  393.     float: none;
  394.     margin-left: auto;
  395.     margin-right: auto;
  396.   }
  397.  
  398.   .information .center {
  399.     display: block;
  400.     float: none;
  401.     margin-left: auto;
  402.     margin-right: auto;
  403.   }
  404.  
  405.   .stocks .center {
  406.     display: block;
  407.     float: none;
  408.     margin-left: auto;
  409.     margin-right: auto;
  410.   }
  411. }
Advertisement
Add Comment
Please, Sign In to add comment