-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.css
138 lines (116 loc) · 2.55 KB
/
App.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.App {
/* background-image: linear-gradient(to left bottom, #f89999, #f89d9c, #f8a19f, #f7a4a3, #f7a8a6, #f7aba9, #f7afab, #f7b2ae, #f7b6b1, #f7b9b4, #f6bdb7, #f6c0ba); */
background-image: linear-gradient(to right top, #663177, #703278, #793379, #823579, #8b3679, #93377a, #9a387a, #a2397a, #ab3a7b, #b43c7b, #bd3d7b, #c63f7b);
}
.App h1 {
color: white;
text-align: center;
padding: 20px 0;
font-weight: 600;
}
.repositories {
display: grid;
grid-template-columns: auto auto auto;
grid-gap: 20px;
justify-content: center;
padding: 20px 0;
}
.repository {
height: 250px;
width: 350px;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
/* From https://css.glass */
background: rgba(255, 255, 255, 0.32);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(3.9px);
-webkit-backdrop-filter: blur(3.9px);
border: 1px solid rgba(255, 255, 255, 0.31);
color: #DADADA;
transition: 0.3s all;
}
.repository:hover {
border-radius: 0px;
transform: scale(1.05);
}
.repository h3 {
font-weight: 600;
text-align: start;
}
.repository .data-repo p {
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 300;
font-size: 16px;
margin: 10px 0;
}
.description-repo {
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
align-items: center;
}
.detail-repo {
display: flex;
}
.detail-repo p {
font-size: 14px;
padding: 0 2px;
}
.buttons {
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.buttons a {
text-decoration: none;
color: black;
}
.buttons button,
.buttons a button {
width: 45%;
margin: 0 5px;
padding: 8px;
border-radius: 8px;
border: none;
outline: none;
display: flex;
justify-content: center;
align-items: center;
transition: 0.3s all;
}
.buttons button:hover {
cursor: pointer;
transform: scale(1.1);
}
.buttons button:first-child {}
.buttons button:last-child {
background-color: #00BD28;
color: white;
}
.buttons button:last-child a{
color: white;
}
@media (max-width:1090px) {
.repositories {
grid-template-columns: auto auto;
}
}
@media (max-width:720px) {
.repositories {
grid-template-columns: auto;
}
}