Advertisement
Skyfay

Untitled

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