-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
132 lines (114 loc) · 2.59 KB
/
style.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
129
130
131
132
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&display=swap');
body{
font-size: 1.5rem;
color: rgba(58, 37, 37, 0.5);
background-image: linear-gradient(to right, #ec69d4, #58eeb5);
}
h1{
font-family: 'Montserrat', 'Times New Roman';
text-transform: uppercase;
font-weight: 800;
margin: 17px;
user-select: none;
}
.center{
text-align: center;
margin-top: 25vh;
}
input{
width: 75px;
/* border-style: none; */
border-color: rgba(58, 37, 37, 0.5);
transition-duration: 0.5s;
}
input:focus-visible {
outline: none;
box-shadow: 2px 2px 2px 2px rgba(58, 37, 37, 0.5);
}
input:hover{
/* border-width: 2px; */
box-shadow: 2px 2px 2px 2px rgba(58, 37, 37, 0.5);
}
input::-webkit-color-swatch:hover
{
/* box-shadow: 2px 2px 2px 2px rgb(209, 57, 171); */
}
#colour1{
margin-left: 100px;
}
p{
margin: 17px;
}
.relative{
position:relative;
}
.merged{
display: flex;
justify-content: center;
align-items: center; /*if not done, default is stretch and copy button stretches*/
}
.copy{
background: none;
/* color: rgba(58, 37, 37, 0.5); */
border: 1px solid rgba(58, 37, 37, 0.5);
border-radius: 5px;
padding: 5px 7px;
margin-left: 10px;
cursor: pointer;
transition-duration: 0.5s;
}
/* .copy:hover{
border-color: blue;
background: white;
} */
.tooltip
{
font-family: 'Montserrat', 'Times New Roman';
font-size: 0.9rem;
/* font-weight: bold; */
color: white;
background-color: rgba(58, 37, 37, 0.5);
line-height: 2rem;
padding: 0px 5px;
border-radius: 5px;
visibility: hidden;
position:absolute;
bottom: 50px;
left: -25px;
right: -27px;
}
.tooltip::after{
content: "";
position: absolute;
top:32px;
right: 37px;
border-style:solid;
border-width: 9px;
border-color: rgba(58, 37, 37, 0.5) transparent transparent transparent;
}
/* .copy:hover, .tooltip{
visibility: visible;
} */ /*do with javascript*/
.randomise, .stop{
font-family: 'Sans-serif';
font-size: 1.2rem;
font-weight:500;
color: white;
background-color:rgba(58, 37, 37, 0.5);
border:2px solid rgba(58, 37, 37, 0);
border-radius: 5px;
/* padding: 7px ; */
cursor: pointer;
transition-duration: 0.5s;
position: relative;
bottom: 1px;
margin: 0px 5px;
}
.randomise:hover, .stop:hover{
color:rgb(17 112 104);
background-color: #ffffffc7;
}
.randomise:active, .stop:active{
background-color: white;
}
/* linear-gradient(to right, #c0e4de, #dbab54) */