Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. body {
  2. /*Want to change background image?*/
  3. /*Upload a new one to the img folder.*/
  4. /*Make sure you name it 'minecraft.jpg'*/
  5. background: linear-gradient(rgba(35,20,20,0.55),rgba(35,20,20,0.55)),
  6. url("../img/minecraft.jpg") no-repeat center center fixed;
  7. background-size: cover;
  8. font-family: Helvetica;
  9. }
  10.  
  11. p {
  12. margin: 0;
  13. padding: 3px;
  14. }
  15.  
  16. .container {
  17. text-align: center;
  18. }
  19.  
  20. .logo img {
  21. width: 250px;
  22. animation-name: logo;
  23. animation-duration: 4s;
  24. animation-iteration-count: infinite;
  25. animation-timing-function: ease-in-out;
  26. }
  27.  
  28. @keyframes logo {
  29. 0% {
  30. transform: scale(1);
  31. }
  32. 50% {
  33. transform: scale(1.05);
  34. }
  35. 100% {
  36. transform: scale(1);
  37. }
  38. }
  39.  
  40. .playercount {
  41. display: inline-block;
  42. margin-top: 30px;
  43. padding: 10px;
  44. background-color: rgba(201, 48, 58, 0.65);
  45. font-size: 1.22em;
  46. color: white;
  47. text-align: center;
  48. border-radius: 4px;
  49. }
  50.  
  51. .playercount span {
  52. font-weight: bold;
  53. }
  54.  
  55. .items {
  56. display: flex;
  57. justify-content: space-around;
  58. flex-basis: 100px;
  59. padding: 18px 0 10px 0;
  60.  
  61. }
  62.  
  63. .item img {
  64. transition: all 0.3s ease;
  65. }
  66.  
  67. .item img:hover {
  68. transform:scale(1.25);
  69. }
  70.  
  71. .img {
  72. width: 100%;
  73. }
  74.  
  75. @media(min-width: 600px) {
  76. .logo img {
  77. width: 350px;
  78. }
  79. .img {
  80. width: 100%;
  81. }
  82. .items {
  83. padding: 30px 0 20px 0;
  84. }
  85. }
  86.  
  87. @media(min-width: 1000px) {
  88. .items {
  89. justify-content: center;
  90. }
  91.  
  92. .item:not(:first-child) {
  93. margin-left: 90px;
  94. }
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement