-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.scss
102 lines (100 loc) · 1.7 KB
/
styles.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital@1&family=Quicksand:wght@300&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100%;
}
$heading-font: 'Bodoni Moda';
$paragraph-font: 'Quicksand';
$width: 100%;
$color1: black;
$color2: white;
header {
display: grid;
grid-template-rows: 1fr;
}
h1 {
font-family: $heading-font;
text-align: center;
margin-bottom: 10px;
}
.title {
grid-row: 1;
grid-column: 1;
}
picture {
margin: 0;
grid-row: 1;
grid-column: 1;
}
picture img {
margin-top: 10px;
}
.techo {
background: $color1;
width: $width;
color: $color2;
}
footer {
background: $color1;
width: $width;
color: $color2;
text-align: center;
font-family: $paragraph-font;
}
.pizarron {
background: whitesmoke;
width: $width;
}
.instrumentos img {
margin: 15px 10px;
}
.instrumentos {
display: grid;
grid-template-columns: 120px 1fr;
}
a {
grid-column: 1;
}
.pic {
grid-column: 2;
align-self: center;
}
h2 {
text-align: center;
font-family: $paragraph-font;
}
@media only screen and (min-width: 375px) {
.pizarron {
padding: 20px;
}
}
@media only screen and (min-width: 425px) {
.pizarron {
padding: 20px 20px 20px 50px;
}
}
@media only screen and (min-width: 768px) {
.instrumentos {
grid-template-columns: 220px 1fr;
}
}
@media only screen and (min-width: 1024px) {
.instrumentos {
grid-template-columns: 420px 1fr;
}
h1 {
font-size: 50px;
}
h2 {
font-size: 40px;
}
}
@media only screen and (min-width: 1440px) {
.pizarron {
padding-left: 150px;
}
}