Advertisement
Guest User

music-store-cg

a guest
Sep 12th, 2021
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html lang="pl">
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8.  
  9. <title>Music store</title>
  10. <link rel="icon" href="https://cdn.glitch.com/3f138ee4-4896-4ec7-88f0-78bb1a2642cf%2Flogo-2287665_1280.png?v=1623097139221">
  11. <link href="style.css" rel="stylesheet" type="text/css">
  12. <link href="https://fonts.googleapis.com/css?family=Quicksand&display=swap" rel="stylesheet">
  13.  
  14. </head>
  15.  
  16.  
  17. <body>
  18.  
  19. <div id="wholePage">
  20.  
  21. <img id="logo" src="https://cdn.glitch.com/1ffae188-0a39-49d2-9f7e-fd1cf0530892%2Flogo.png?v=1584276861388">
  22.  
  23. <ul id="navigation">
  24. <li><a href="index.html">Main page</a></li>
  25. <li><a href="#">Sale</a></li>
  26. <li><a href="#">Repairs</a></li>
  27. <li><a href="#">About us</a></li>
  28. <li><a href="contact.html">Contact</a></li>
  29. </ul>
  30.  
  31. <img id ="baner" src="https://cdn.glitch.com/1ffae188-0a39-49d2-9f7e-fd1cf0530892%2Fcc958793-3a40-4431-b9df-005252fe456d.obraz.png?v=1584276566263">
  32.  
  33. <p>
  34. We specialize in the sale and repair of guitars, in particular: Fender, Gibson, Stratocaster.
  35. </p>
  36.  
  37. </div>
  38.  
  39. </body>
  40. </html>
  41.  
  42.  
  43.  
  44. ////////////CSS//////////////////
  45.  
  46. body {
  47.  
  48. font-family: 'Quicksand', sans-serif;
  49. background-image:url('https://cdn.glitch.com/1ffae188-0a39-49d2-9f7e-fd1cf0530892%2F7fc37a26-a2ab-435a-9537-d75367d8ccc5.obraz.png?v=1584218200836');
  50. background-repeat: no-repeat;
  51. background-position: center;
  52. background-attachment: fixed;
  53. }
  54.  
  55. #wholePage{
  56. width: 1000px;
  57. margin-left:auto;/*centering the page*/
  58. margin-right:auto;/*centering the page*/
  59. border: 3px dashed #000000;/*we add a frame by the way, then the students will actually see this box, instead of double it can be: solid, dotted, dashed*/
  60. background-color: #ffffff;
  61. }
  62.  
  63.  
  64.  
  65.  
  66. #logo {
  67. display: block;
  68. width:300px;
  69. margin-left: auto;
  70. margin-right: auto;
  71. }
  72.  
  73.  
  74. #navigation{
  75. width: 700px;
  76. margin-left:auto;
  77. margin-right:auto;
  78. border-top: 2px solid #000;
  79. border-bottom: 1px solid #000;
  80. padding:10px;
  81. text-align: center;
  82. }
  83. li {
  84.  
  85. display: inline;
  86. letter-spacing:1px;
  87. padding:10px;
  88. }
  89.  
  90.  
  91. a {
  92. color: #000000;
  93. text-transform: uppercase;
  94. text-decoration: none;
  95.  
  96. }
  97.  
  98. a:hover {
  99. color: #cc3333;
  100. }
  101.  
  102.  
  103. #baner{
  104. display: block;
  105. margin-left: auto;
  106. margin-right: auto;
  107. width:600px;
  108. border-radius:10px;
  109. }
  110.  
  111. p {
  112. text-align: center;
  113. }
  114.  
  115.  
  116. #contact{
  117.  
  118. padding: 30px;
  119. height:1300px;
  120. }
  121.  
  122. form {
  123. margin-top: 20px;
  124. width: 400px;
  125.  
  126. }
  127. form input,form select{
  128.  
  129. width:330px;
  130. height: 35px;
  131. font-size:20px;
  132.  
  133. }
  134.  
  135. textarea{
  136. width: 330px;
  137. font-size:20px;
  138. resize: none;/*we block the possibility of changing the size by the user*/
  139.  
  140. }
  141.  
  142. label{
  143.  
  144. font-size: 18px;
  145. }
  146.  
  147.  
  148. fieldset{
  149.  
  150. padding:20px;
  151. margin-bottom:10px;
  152.  
  153. }
  154.  
  155. legend{
  156. font-size:30px;
  157. }
  158.  
  159.  
  160.  
  161. #button{
  162. width:150px;
  163. height:60px;
  164. background-color: #1f1a34;
  165. color: white;
  166. padding: 15px;
  167. font-size: 16px;
  168. border-radius: 4px;
  169. letter-spacing:1px;
  170. border: 2px solid #1f1a34;
  171. text-transform:uppercase;
  172.  
  173. }
  174.  
  175.  
  176. #button:hover {
  177. background-color: white;
  178. color: black;
  179. cursor:pointer;
  180.  
  181.  
  182. }
  183.  
  184.  
  185.  
  186. .twoColumns
  187. {
  188. width:50%;
  189. float:left;
  190.  
  191. }
  192.  
  193.  
  194.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement