Advertisement
Skyfay

Untitled

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