Advertisement
Skyfay

Untitled

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