forked from codemistic/Web-Development
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (106 loc) · 2.29 KB
/
style.css
File metadata and controls
127 lines (106 loc) · 2.29 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;600&display=swap');
* {
margin: 0;
border: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
font-family: 'Poppins', sans-serif;
}
body {
background: linear-gradient(to right, #ff9ce3, #4ab3ff);
background-repeat: no-repeat;
height: 100vh;
}
h1,
h2 {
color: #000;
font-size: 3.5rem;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
}
.main-heading {
margin-top: 6rem;
padding: 0.1em 0.5em;
background: rgba( 255, 255, 255, 0.35);
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37);
backdrop-filter: blur( 0.0px);
-webkit-backdrop-filter: blur( 0.0px);
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18);
}
.color {
padding: 0.5em 1em;
margin-top: 4rem;
background: rgba( 255, 255, 255, 0.35);
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37);
backdrop-filter: blur( 0.0px);
-webkit-backdrop-filter: blur( 0.0px);
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18);
}
.css-code-div {
margin-top: 6rem;
font-size: 2rem;
padding: 0.2em 0.7em;
background: rgba( 255, 255, 255, 0.35);
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37);
backdrop-filter: blur( 0.0px);
-webkit-backdrop-filter: blur( 0.0px);
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18);
text-align: center;
}
.css-code-div p {
display: inline;
}
.left-color {
margin-right: 2rem;
}
.generate {
margin-top: 3rem;
}
.rotate {
font-size: 1.5rem;
padding: 0.5em 1.3em;
border-radius: 1em;
}
.rotate:hover {
font-weight: 600;
background-color: rgb(194, 194, 194);
}
i:hover {
cursor: pointer;
}
.deg {
margin-right: 1rem;
font-size: 1.5rem;
padding: 0.5em 1.3em;
border-radius: 1em;
outline : none;
}
.random {
font-size: 1.5rem;
padding: 0.5em 1.3em;
border-radius: 1em;
}
.random:hover {
font-weight: 600;
background-color: rgb(194, 194, 194);
}
/* media queries */
@media (max-width:550px) {
html {
font-size: 6px;
}
}
@media (min-width:550px) and (max-width:768px) {
html {
font-size: 9px;
}
}
@media (min-width:768px) and (max-width:1024px) {}