Skip to content

Commit 612c34c

Browse files
authoredOct 6, 2020
[Feature] Improve the design of the index.html (#16)
* add gitignore file * enhance site header * enhance UI of tool cards * hide menu items in smaller screens * add category icons to the cards * Add meta and favicon to the head * remove text underline from navbar * Add comments to html * add Negar Jamalifard as a contributer to index page
1 parent 7b7fb3c commit 612c34c

File tree

4 files changed

+258
-131
lines changed

4 files changed

+258
-131
lines changed
 

‎.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# IDE config
2+
.idea/
3+
.vscode/
4+
5+
# dependencies
6+
node_modules/

‎assets/styles/style.css

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
/*
2+
***
3+
* COSTUME STYLESHEET
4+
***
5+
* Please use the bootstrap color pallet and available css variables
6+
* for a more consistent design
7+
*/
8+
9+
/*
10+
*----------------------------------------------------------------
11+
* SITE HEADER
12+
*----------------------------------------------------------------
13+
*/
14+
15+
.site-header{
16+
background-color: rgba(0, 0, 0, .85);
17+
-webkit-backdrop-filter: saturate(180%) blur(20px);
18+
backdrop-filter: saturate(180%) blur(20px);
19+
}
20+
21+
/*
22+
*----------------------------------------------------------------
23+
* HERO SECTION
24+
*----------------------------------------------------------------
25+
*/
26+
.hero-section {
27+
background-color: var(--indigo);
28+
}
29+
30+
.hero-section__graphic {
31+
32+
}
33+
34+
.hero-section__graphic, .hero-section__graphic:before, .hero-section__graphic:after {
35+
background-color: rgba(255,255,255,0.1);
36+
width: 300px;
37+
height: 300px;
38+
border-radius: 40% 30% 30% 40% / 60% 40% 60% 40%;
39+
}
40+
41+
.hero-section__graphic:before, .hero-section__graphic:after {
42+
content: '';
43+
display: inline-block;
44+
position: absolute;
45+
left: 0;
46+
top: 0;
47+
animation: float 10s infinite linear;
48+
}
49+
.hero-section__graphic:after {
50+
animation-direction: reverse;
51+
animation-delay: 500ms;
52+
}
53+
54+
.hero-section__icon{
55+
fill: var(--light);
56+
width: 100%;
57+
height: auto;
58+
}
59+
60+
61+
@keyframes float {
62+
0% {
63+
transform: translate(0%, 0%) rotate(0);
64+
}
65+
66+
33% {
67+
transform: translate(2%, 2%) rotate(120deg);
68+
}
69+
70+
66% {
71+
transform: translate(2%, -2%) rotate(240deg);
72+
}
73+
74+
75+
to {
76+
transform: translate(0%, 0%) rotate(360deg);
77+
}
78+
}

‎favicon.ico

14.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.