forked from rocketacademy/basics-blackjack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (74 loc) · 1.72 KB
/
Copy pathstyle.css
File metadata and controls
84 lines (74 loc) · 1.72 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
* {
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
margin-left: 30px;
margin-right: 30px;
background-color:white;
color: black; /* sets the font color */
background-image: url("Image/greenfelt.jpeg"); /* The image used */
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Do not repeat the image */
background-size: auto; /* Resize the background image to cover the entire container */
}
#output-div img{
display:block;
max-width:100%;
max-height:200px;
}
.header {
text-align: center;
font-size: 1.1rem;
margin-bottom: 3rem;
}
#container {
background-color: lightblue;
margin: 40px auto;
max-width: 800px;
padding: 38px 31px;
}
input {
font-size: 21px;
line-height: 33px;
margin: 0 0 23px 0;
padding: 0 9px;
width: 100%;
}
button {
transition-duration: 0.4s;
background-color: white;
border: none;
color: Black;
font-size: 21px;
line-height: 33px;
margin: 0 0 23px 0;
padding: 0 6px;
border-radius: 8px;
}
button:hover {
background-color: black;
color: white;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
button[disabled] {
opacity: 0.6;
cursor: not-allowed;
}
#output-div {
background-color: lightgrey;
margin: 20px auto;
padding: 20px;
width: 100%;
}
.logo-img {
height: 49px;
position: relative;
top: 22px;
}
/* increase header font size on wider screens */
@media screen and (min-width: 600px) {
.header {
font-size: 2rem;
}
}