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