/
styles.css
124 lines (111 loc) · 2.55 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
body {
background-image: url("background3.svg");
background-size: cover;
background-repeat: no-repeat;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.header {
font-weight: bold;
font-family: 'Poppins', sans-serif;
background-color: blueviolet;
border: 5px solid black;
display: flex;
justify-content: center;
align-items: center;
}
.footer {
display: flex;
margin-top: auto;
justify-content: center;
align-items: center;
border:solid black;
padding: 20px;
font-weight: bold;
font-family: 'Poppins', sans-serif;
background-color: blueviolet;
}
.result {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 18px;
justify-content: center;
padding: 20px;
height: 100px;
border: 7px solid yellow;
background-color: lightpink;
font-family: 'Poppins', sans-serif;
border-radius: 25px;
margin-left: 500px;
margin-right: 500px;
margin-bottom: 20px;
}
.user-options {
display: flex;
gap: 100px;
flex: 1;
flex-basis: auto;
align-items: stretch;
justify-content: space-evenly;
margin: 100px;
margin-left: 200px;
margin-right: 200px;
border-radius: 25px;
border: 7px solid yellow;
background-color: rgba(238, 130, 238 ,0.5);
}
.user-button {
display: flex;
justify-content: center;
align-items: flex-end;
padding-bottom: 5px;
min-width: 200px;
min-height: 150px;
margin: 50px;
width: 100%;
font-family: 'Poppins', sans-serif;
font-weight: light;
font-size: large;
transition: all .07s ease;
background-color: lightpink;
border-radius: 25px;
border: 5px solid black;
}
.user-button.scissors {
background-image: url("scissor.png");
background-size: 100px;
background-position: center;
background-repeat: no-repeat;
}
.user-button.paper {
background-image: url("paper.svg");
background-size: 100px;
background-position: center;
background-repeat: no-repeat;
}
.user-button.rock {
background-image: url("rock.svg");
background-size: 100px;
background-position: center;
background-repeat: no-repeat;
}
.user-button:hover {
background-color: #3e8e41;
}
.user-button:active {
background-color: #3e8e41;
box-shadow: 0 5px #666;
transform: translateY(4px);
}
.fa-github {
color: var(--primary-light);
font-size: 24px;
transition: transform 0.3s ease-in-out;
}
.fa-github:hover {
transform: rotate(360deg) scale(1.2);
}