Repository navigation
Expand file tree
/
Copy pathstyle.scss
More file actions
125 lines (118 loc) · 2.75 KB
/
Copy pathstyle.scss
File metadata and controls
125 lines (118 loc) · 2.75 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
* {
margin: 0;
padding: 0;
}
// function for flex
@mixin flex($flex, $direction, $jc, $ai) {
display: $flex;
flex-direction: $direction;
justify-content: $jc;
align-items: $ai;
}
body {
position: relative;
background: #000;
color: #fff;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
// styles for particle js canvas
#particles-js {
position: absolute;
z-index: -1;
width: 100%;
height: 350px;
background: #000;
}
// styles for container which its wrap the title of this project, description of this project, and the search bar
.container {
width: 100%;
height:auto;
padding: 100px 0px;
box-sizing: none;
@include flex(flex, column, flex-start, center);
.searchWrappper {
z-index: 9999;
width: 60%;
height: 30%;
text-align: center;
h1 {
font-size: 60px;
}
.search_wrapper {
margin-top: 50px;
width: 100%;
height: 50px;
@include flex(flex, row, center, center);
#search {
box-sizing: border-box;
padding: 0 10px;
width: 50%;
height: 100%;
font-size: 20px;
}
#btn {
width: 50px;
height: 100%;
background: #000;
font-size: 20px;
color: #fff;
}
}
}
}
// styles for box which its wrap the cards that will generate
.box {
margin: 20px auto 0 auto;
z-index: 999;
background: #000;
box-sizing: none;
padding: 20px 0;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
width: 90%;
.card {
margin: 20px 10px 10px 10px;
height: auto;
padding: 25px 30px 50px 30px;
background: #fff;
@include flex(flex, column, flex-start, center);
.imgWrapper {
width: 75px;
height: 75px;
img {
width: 100%;
}
}
a {
text-decoration: none;
box-sizing: border-box;
color: #000;
&:active {
border: 1px dotted #000;
}
&:hover {
text-decoration: underline;
}
#name {
margin-top: 10px;
font-size: 20px;
}
}
}
}
footer {
position: absolute;
width: 100%;
color: #fff;
text-align: center;
padding: 10px 0;
a {
color: #fff;
text-decoration: underline;
&:active {
border: 1px double #fff;
}
}
}