-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
168 lines (145 loc) · 3.6 KB
/
index.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
* :root {
--tempBorder: solid red;
}
.card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 600px;
height: 600px;
background-color: azure;
border-radius: 5%;
margin-bottom: 30px;
}
.namer {
margin-top: 20px;
margin-bottom: 15%;
font-size: large;
}
.banner {
text-align: center;
font-size: 60px;
color: white;
width: 100%;
padding: 40px;
padding-bottom: 90px;
}
body {
display: flex;
align-items: center;
flex-direction: column;
z-index: 1;
}
html {
overflow: auto;
overflow-x: hidden;
}
/* Hide scrollbar for IE, Edge and Firefox */
body {
-ms-overflow-style: none;
/* IE and Edge */
scrollbar-width: none;
/* Firefox */
}
/* hide scroll for all */
::-webkit-scrollbar {
width: 0px;
}
/* adds sticky bg */
.background {
z-index: -1;
height: 100vh;
position: fixed;
left: 0;
top: 0;
width: 100%;
background: linear-gradient(rgba(153, 1, 172, 1), rgba(0, 212, 255, 1));
}
/* uses checkbox input as a two style clickable */
.clickableCard {
width: 0px;
height: 0px;
visibility: hidden;
}
/* art goes into label part */
.clickableCardLabel {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
width: 600px;
height: 150px;
background-color: azure;
border-radius: 35px;
margin-bottom: 30px;
transition: all 0.5s ease;
box-shadow: 0px 0px 10px 10px rgba(0, 255, 255, 0.341);
/* in order: x offset, y offset, blur size, spread size, color */
}
/* id on checkbox and for in label makes it clickable*/
.clickableCard:checked + .clickableCardLabel {
width: 600px;
border-radius: 35px;
height: 250px;
box-shadow: 0px 0px 15px 10px rgba(0, 255, 255, 0.657);
/* in order: x offset, y offset, blur size, spread size, color */
}
.collapsedCardContext {
margin-top: 20px;
}
.projectLink {
margin-bottom: 20px;
transition: all 1s;
}
.clickableCardLabel:after {
content: "Click for more info"; /* Non-breaking space */
position: absolute;
transform: translateY(50px);
width: 550px;
height: 50px;
text-align: center;
vertical-align: middle;
margin-left: 10px;
transition: all 0.5s ease;
}
.clickableCard:checked + .clickableCardLabel:after {
/*height: 450px; */
content: "This is a UI project collection that only uses pure CSS and HTML so it can be applicable to most of web development framewroks hustle free";
}
#clickableCard2:checked + #clickableCardLabel2:after {
/*height: 450px; */
content: "This is my twist for challanges on 100DaysCSS";
}
#clickableCard4:checked + #clickableCardLabel4:after {
/*height: 450px; */
content: "This is a single file html field with displayed css block to allow real time css testing ";
}
#clickableCard5:checked + #clickableCardLabel5:after {
/*height: 450px; */
content: "Altough most of this project goes for pure css and html in this section i am using jquery and bootstrap";
}
#clickableCard6:checked + #clickableCardLabel5:after {
/*height: 450px; */
content: "This project changes DOM elements with js to perform variable operations. It is presented in form of car editting system. Uses javascript for utilites. Bootstrap is used for better looking buttons and menus. ";
}
.projectarrow {
cursor: pointer;
background: linear-gradient(
27deg,
rgba(153, 1, 172, 1) 0%,
rgba(47, 47, 199, 1) 24%,
rgba(0, 212, 255, 0.8) 100%
);
color: white;
text-align: center;
vertical-align: center;
justify-content: center;
font-weight: bold;
width: 150px;
height: 45px;
line-height: 45px;
border-radius: 10px;
transition: all 0.5s ease;
overflow: hidden;
}