-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
128 lines (118 loc) · 3.09 KB
/
styles.css
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
* {
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
background-image: url(/assets/dojobkg.png);
background-position: center;
background-repeat: repeat;
background-size: cover;
gap: 5rem;
}
.container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 15%;
width: 100%;
box-sizing: border-box;
gap: 5rem;
}
.container h1{
width: 20%;
padding: 5px;
text-align: center;
border-radius: 15px;
background-color: red;
color: black;
text-transform: uppercase;
}
button {
width: 10rem;
height: 5rem;
border-radius: 15px;
color: black;
font-weight: bolder;
font-size: xx-large;
background-color: rgb(255, 0, 0);
transition: .5s;
cursor: pointer;
}
button:hover {
background-color: black;
color: aliceblue;
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgb(252, 252, 252) 0px -12px 30px, rgba(247, 246, 246, 0.959) 0px 4px 6px, rgb(255, 255, 255) 0px 12px 13px, rgb(255, 255, 255) 0px -3px 5px;
}
.result {
display: flex;
align-items: center;
justify-content: center;
border-radius: 15px;
width: 50%;
height: 4rem;
background-color: rgb(255, 0, 0);
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgb(252, 252, 252) 0px -12px 30px, rgba(247, 246, 246, 0.959) 0px 4px 6px, rgb(255, 255, 255) 0px 12px 13px, rgb(255, 255, 255) 0px -3px 5px;
}
.result > p {
padding: 1rem;
color: black;
font-size: xx-large;
font-weight: bolder;
text-align: center;
}
/* Queries */
/* Para telas médias (tablets e laptops) */
@media only screen and (max-width: 992px) {
body {
background-repeat: repeat;
}
.container {
margin-top: 10%; /* Ajuste conforme necessário */
}
button {
width: 8rem; /* Ajuste conforme necessário */
height: 4rem; /* Ajuste conforme necessário */
font-size: large; /* Ajuste conforme necessário */
}
.container h1 {
width: 30%; /* Ajuste conforme necessário */
font-size: large; /* Ajuste conforme necessário */
}
.result {
width: 70%; /* Ajuste conforme necessário */
}
.result > p {
font-size: large; /* Ajuste conforme necessário */
}
}
/* Para telas de dispositivos móveis */
@media only screen and (max-width: 600px) {
body {
height: 100%;
}
.container {
margin-top: 20%; /* Ajuste conforme necessário */
}
button {
width: 6rem; /* Ajuste conforme necessário */
height: 3rem; /* Ajuste conforme necessário */
font-size: medium; /* Ajuste conforme necessário */
}
.container h1 {
width: 40%; /* Ajuste conforme necessário */
font-size: medium; /* Ajuste conforme necessário */
}
.result {
width: 80%; /* Ajuste conforme necessário */
}
.result > p {
font-size: medium; /* Ajuste conforme necessário */
}
}