-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (89 loc) · 1.5 KB
/
style.css
File metadata and controls
104 lines (89 loc) · 1.5 KB
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
103
104
body {
background-image: url("Bg.jpg") ;
background-repeat: no-repeat;
background-size: 100% 100%;
font-family: "Bree Serif", serif;
text-align: center;
}
h1 {
font-family: "Pacifico", cursive;
font-size: 3.5rem;
line-height: 2;
padding: 10px;
color: #000;
}
p {
font-size: 2rem;
}
/* h1 manipulations */
.hideWhenNarrow {
display: flexbox;
}
.displayWhenNarrow {
display: none;
}
/* Buttons */
.b {
width: 150px;
height: 150px;
margin: 20px;
border-width: 1rem;
border-color: #f3f798;
}
.bttn1 {
margin-top : 40px;
float: right;
background-color: #b5ff7d;
}
.bttn2 {
margin-top : 40px;
float: left;
background-color: #e84545;
}
.bttn3 {
float: right;
background-color: #ffc93c;
}
.bttn4 {
float: left;
background-color: #11999e;
}
.bttn5 {
width: 150px;
height: 100px;
margin: 40px;
border-width: 10px;
text-align: center;
font-size: xx-large;
background-color: #000;
color: yellow;
border-color: #f3f798;
visibility: hidden;
}
.pressed {
box-shadow: 0 0 20px whitesmoke;
opacity: 0.8;
}
/* Mobile Display changes */
@media (max-width: 991px) {
.bttn1,
.bttn2,
.bttn3,
.bttn4 {
width: 200px;
height: 200px;
margin: 40px;
float: none;
}
.bttn5 {
visibility: visible;
}
.hideWhenNarrow {
display: none;
}
.displayWhenNarrow {
font-size: 5rem;
display:block;
margin: auto;
}
}