-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcertificationCSS.css
More file actions
106 lines (106 loc) · 2.59 KB
/
Copy pathcertificationCSS.css
File metadata and controls
106 lines (106 loc) · 2.59 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
body {
margin: 0;
font-family: 'Poppins', sans-serif;
background: #f3f7fa;
color: #222d3b;
}
header {
background: #2277ee;
color: #fff;
text-align: center;
padding: 38px 15px 24px 15px;
margin-bottom: 30px;
}
header h1 {
font-size: 2rem;
margin: 0 0 10px 0;
font-weight: 700;
letter-spacing: 0.6px;
}
header p {
opacity: 0.98;
margin: 0;
font-size: 1.07rem;
}
.certsSection {
max-width: 1020px;
margin: 0 auto 40px auto;
padding: 12px;
}
.certsGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 28px;
width: 100%;
}
.certBox {
background: linear-gradient(105deg, #f4fafd 65%, #eaf1ff 100%);
border-radius: 15px;
box-shadow: 0 2px 18px #2277ee20;
border: 1px solid #dbe6f7;
padding: 28px 22px 20px 22px;
display: flex;
align-items: flex-start;
gap: 13px;
min-height: 84px;
cursor: pointer;
transition: box-shadow .19s, border .13s, background .18s;
position: relative;
overflow: hidden;
}
.certBox.active {
background: #dbeafe;
animation: fade .7s forwards;
}
@keyframes fade {
0% { background:#dbeafe;}
60% { background:#dbeafe;}
100% { background:linear-gradient(105deg, #f4fafd 65%, #eaf1ff 100%);}
}
.certIcon {
font-size: 1.78rem;
margin-top: 1px;
}
.certContent {
flex: 1;
}
.certName {
font-size: 1.13rem;
font-weight: 600;
color: #2277ee;
text-decoration: none;
margin: 0;
display:inline-block;
transition: color .11s;
}
.certBox:hover .certName,
.certBox:focus-within .certName {
color: #184c9e;
text-decoration: underline;
}
.certDesc {
font-size: 0.96rem;
color: #404659;
font-style: italic;
margin: 2px 0 0 0;
opacity: 0;
max-height: 0;
transition: opacity .14s, max-height .17s;
overflow: hidden;
}
.certBox:hover .certDesc,
.certBox:focus-within .certDesc {
opacity: 0.99;
max-height: 80px;
transition: opacity .19s .08s, max-height .2s 0s;
}
.certBox:active,
.certBox:focus-within {
outline: 2px solid #9ecfff;
}
@media (max-width:700px) {
.certsGrid {
grid-template-columns: 1fr;
}
.certBox { padding: 23px 12px 16px 13px;}
}