Advertisement
Skyfay

Untitled

Mar 21st, 2021
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.69 KB | None | 0 0
  1. HTML:
  2.  
  3. <!-- Proudly coded by Billy (https://bybilly.uk) -->
  4. <!-- Version: 1.9 -->
  5.  
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <!-- Info meta tags, important for social media + SEO -->
  10. <title>SkyCraft - Official Website</title>
  11. <meta name="description" content="OpenWorld Survival PVP/PVE Minecraft Server. Trete uns bei über die IP 'play.skycraft.one'.">
  12. <meta property="og:title" content="MyServer - Official Website Portal">
  13. <meta property="og:site_name" content="SkyCraft">
  14. <meta property="og:description" content="OpenWorld Survival PVP/PVE Minecraft Server. Trete uns bei über die IP 'play.skycraft.one'.">
  15. <meta property="og:image" content="https://bybilly.uk/portal/img/minecraft.jpg">
  16. <meta property="og:url" content="https://bybilly.uk/">
  17. <meta name="twitter:card" content="summary_large_image">
  18.  
  19.  
  20. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  21. <meta charset="utf-8">
  22. <link rel="stylesheet" href="css/stylesheet.css">
  23. <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" rel="stylesheet">
  24. </head>
  25. <body>
  26. </style>
  27. <div class="container">
  28. <div class="logo">
  29. <!-- In the img folder, upload your logo -->
  30. <!-- Make sure you name it 'logo.png' -->
  31. <img src="img/logo.png" alt="MyServer logo">
  32. </div>
  33.  
  34. <div class="items">
  35. <!-- Regeln-->
  36. <a href="#" class="item forums">
  37. <div>
  38. <img src="img/forums.png" alt="Minecraft forums icon" class="img">
  39. <p class="subtitle">Lese hier die</p>
  40. <p class="title">Regeln</p>
  41. </div>
  42. </a>
  43.  
  44. <!-- Store -->
  45. <a href="https://store.skycraft.one" class="item store">
  46. <div>
  47. <img src="img/store.png" alt="Minecraft store icon" class="img">
  48. <p class="subtitle">Hier ist unser</p>
  49. <p class="title">Store</p>
  50. </div>
  51. </a>
  52.  
  53. <!-- Voting -->
  54. <a href="" class="item vote">
  55. <div>
  56. <img src="img/vote.png" alt="Minecraft voting icon" class="img">
  57. <p class="subtitle">Supporte uns mit</p>
  58. <p class="title">Voting</p>
  59. </div>
  60. </a>
  61.  
  62. <!-- Server Status -->
  63. <a href="https://status.skycraft.one" class="item vote">
  64. <div>
  65. <img src="img/status.PNG" alt="Minecraft voting icon" class="img">
  66. <p class="subtitle">Hier siehst du unseren</p>
  67. <p class="title">Server Status</p>
  68. </div>
  69. </a>
  70.  
  71. </div>
  72.  
  73. <div class="playercount">
  74. <!-- Replace play.myserver.net with your IP address -->
  75. <!-- Do it for both examples below -->
  76. <!-- Please set both your IP and port -->
  77. <p>Spiele mit <span class="sip" data-ip="play.skycraft.one" data-port="25565">
  78. 0</span> anderen spielern auf <span class="ip">play.skycraft.one</span></p>
  79.  
  80. </div>
  81. </div>
  82.  
  83.  
  84. <script src="https://code.jquery.com/jquery-1.11.2.min.js" type="text/javascript"></script>
  85. <script src="js/firefly.js" type="text/javascript"></script>
  86. <script src="js/main.js" type="text/javascript"></script>
  87. </body>
  88. <footer>
  89. </footer>
  90. </html>
  91.  
  92. CSS:
  93. * {
  94. box-sizing: border-box;
  95. }
  96.  
  97.  
  98. body {
  99. /*Want to change background image?*/
  100. /*Upload a new one to the img folder.*/
  101. /*Make sure you name it 'minecraft.jpg'*/
  102. background: linear-gradient(rgba(20, 26, 35,0.55),rgba(20, 26, 35, 0.55)),
  103. url("../img/minecraft.png") no-repeat center center fixed;
  104. background-size: cover;
  105. font-family: "Open Sans", Helvetica;
  106. margin: 0;
  107. position: relative;
  108. box-sizing: border-box;
  109. }
  110.  
  111. html, body {
  112. width: 100vw;
  113. height: 100vh;
  114. overflow-x: hidden;
  115. display: -webkit-box;
  116. display: -ms-flexbox;
  117. display: flex;
  118. -webkit-box-pack: center;
  119. -ms-flex-pack: center;
  120. justify-content: center;
  121. -webkit-box-align: center;
  122. -ms-flex-align: center;
  123. align-items: center;
  124. }
  125.  
  126. a {
  127. text-decoration: none;
  128. }
  129.  
  130. p {
  131. margin: 0;
  132. padding: 3px;
  133. }
  134.  
  135. .container {
  136. text-align: center;
  137. }
  138.  
  139. .logo img {
  140. width: 225px; /* Change image size for mobile */
  141. -webkit-animation-name: logo;
  142. animation-name: logo;
  143. -webkit-animation-duration: 5s;
  144. animation-duration: 5s;
  145. -webkit-animation-iteration-count: infinite;
  146. animation-iteration-count: infinite;
  147. -webkit-animation-timing-function: ease-in-out;
  148. animation-timing-function: ease-in-out;
  149. }
  150.  
  151.  
  152. @-webkit-keyframes logo {
  153. 0% {
  154. -webkit-transform: scale(1);
  155. transform: scale(1);
  156. }
  157. 50% {
  158. -webkit-transform: scale(1.07);
  159. transform: scale(1.07);
  160. }
  161. 100% {
  162. -webkit-transform: scale(1);
  163. transform: scale(1);
  164. }
  165. }
  166.  
  167. @keyframes logo {
  168. 0% {
  169. -webkit-transform: scale(1);
  170. transform: scale(1);
  171. }
  172. 50% {
  173. -webkit-transform: scale(1.07);
  174. transform: scale(1.07);
  175. }
  176. 100% {
  177. -webkit-transform: scale(1);
  178. transform: scale(1);
  179. }
  180. }
  181.  
  182. .playercount {
  183. display: inline-block;
  184. margin: 20px 15px 0 15px;
  185. padding: 2px 0;
  186. background-color: rgba(15, 99, 209, 0.75);
  187. font-size: 1em;
  188. color: white;
  189. text-align: center;
  190. border-radius: 5px 0 5px 0;
  191. line-height: 27px;
  192. }
  193.  
  194. .playercount > p > span {
  195. font-weight: bold;
  196. padding: 1px 4px;
  197. border-radius: 3px;
  198. background: rgba(13, 56, 167, 0.7);
  199. margin: 0 2px;
  200. }
  201.  
  202. .extrapad {
  203. padding: 0;
  204. }
  205.  
  206. .ip {
  207. cursor: pointer;
  208. }
  209.  
  210. .items {
  211. display: -webkit-box;
  212. display: -ms-flexbox;
  213. display: flex;
  214. -ms-flex-pack: distribute;
  215. justify-content: space-around;
  216. -ms-flex-preferred-size: 100px;
  217. flex-basis: 100px;
  218. padding: 18px 0 10px 0;
  219.  
  220. }
  221.  
  222. .item img {
  223. -webkit-transition: all 0.2s ease;
  224. -o-transition: all 0.2s ease;
  225. transition: all 0.2s ease;
  226. margin-bottom: 7px;
  227. }
  228.  
  229. .item img:hover {
  230. -webkit-transform:scale(1.1);
  231. -ms-transform:scale(1.1);
  232. transform:scale(1.1);
  233. }
  234.  
  235. .img {
  236. width: 80%;
  237. }
  238.  
  239. .title {
  240. font-weight: bold;
  241. font-size: 17px;
  242. color: white;
  243. }
  244.  
  245. .subtitle {
  246. color: #cfcfcf;
  247. font-size: 12px;
  248. }
  249.  
  250. .title,
  251. .subtitle {
  252. margin: 0;
  253. padding: 0;
  254. }
  255.  
  256.  
  257. @media(min-width: 400px) {
  258. .logo img {
  259. width: 290px; /* Change image size for mid sized devices */
  260. }
  261.  
  262. .playercount {
  263. margin-top: 30px;
  264. padding: 5px;
  265. }
  266.  
  267. .playercount > p > span {
  268. padding: 2px 7px;
  269. }
  270. }
  271.  
  272. @media(min-width: 1250px) {
  273. .title {
  274. font-size: 24px;
  275. }
  276.  
  277. .subtitle {
  278. font-size: 15px;
  279. }
  280.  
  281. .logo img {
  282. width: 470px; /* Change image size for desktop */
  283. }
  284.  
  285. .logo {
  286. margin-bottom: 28px;
  287. }
  288. .img {
  289. width: 100%;
  290. }
  291. .items {
  292. padding: 30px 0 20px 0;
  293. }
  294. .playercount {
  295. font-size: 1.22em;
  296. padding: 10px;
  297. }
  298.  
  299. .extrapad {
  300. padding: 0 42.5px;
  301. }
  302.  
  303. .playercount > p > span {
  304. padding: 4px 7px;
  305. }
  306. }
  307.  
  308. @media(min-width: 1000px) {
  309. .items {
  310. -webkit-box-pack: center;
  311. -ms-flex-pack: center;
  312. justify-content: center;
  313. }
  314.  
  315. .item:not(:first-child) {
  316. margin-left: 90px;
  317. }
  318. }
  319. /* Main Content */
  320.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement