-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
157 lines (135 loc) · 2.69 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
*{
font-family: arial;
transition: all 0.25s;
}
h1, h2, h3, h4, h5, h6{
font-weight: normal;
}
html{
width: 100%;
height: 100%;
}
body{
margin:0;
padding: 20px;
display: flex;
justify-content: center;
align-items: flex-start;
background-color: rgb(240, 240, 240);
height: 100%;
width: 100%;
box-sizing: border-box;
overflow-x: hidden;
}
#main{
background-color: white;
padding: 20px;
border-radius: 15px;
box-sizing: border-box;
box-shadow: 0 0 10px 5px rgb(200, 200, 200);
opacity: 0.95;
max-width: 800px;
}
#main:hover{
opacity: 1;
}
#repo-list{
}
a.list{
display: block;
padding: 10px;
text-decoration: none;
color: black;
background-color: transparent;
display: flex;
align-items: center;
border-bottom: 1px solid rgb(200, 200, 200);
transition: transform 0.25s, border 0.25s, background 0.25s;
/* min-width: 50vw; */
}
a.list:hover{
background-color: rgb(240, 240, 240);
border: 0;
border-radius: 10px;
border-bottom: 1px solid transparent;
transform: scale(1.02);
}
a.list:active{
transform: scale(1);
}
a.list:first-child{
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
a.list:last-child{
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom: none;
}
a.list span{
flex-grow: 1;
}
a.list button{
border: 0;
background-color: transparent;
outline: 0;
cursor: pointer;
}
a.list button:hover{
transform: scale(1.2);
}
a:not(.list){
position: relative;
color: #0074D9;
border-bottom: 1px solid transparent;
text-decoration: none;
/* border-bottom: 1px solid #0074D9; */
transform: scale(1);
transition: border 0.25s, border-radius 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
display: inline-block;
border-radius: 5px;
}
a:not(.list):hover{
transform: scale(1.1);
/* padding: 2px; */
box-shadow: 2px 2px 20px 0 rgba(230, 230, 230, 1);
/* padding: 5px; */
background-color: white;
}
a:not(.list)::after{
content: " ";
position: absolute;
width: 100%;
height: 1px;
bottom: 0;
left: 50%;
transform: translateX(-50%);
margin: 0 auto;
background-color: #0074D9;
transition: width 0.25s;
}
a:hover:not(.list)::after{
width: 0;
}
#background-container{
z-index: -1;
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
#relative-container{
width: 100%;
height: 100%;
top: 0;
left: 0;
position: relative;
}
.content{
position: absolute;
color: grey;
top: 50%;
left: 50%;
transition: transform 10s ease-out;
}