-
Notifications
You must be signed in to change notification settings - Fork 1
/
style2.css
98 lines (92 loc) · 1.9 KB
/
style2.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
:root{
--text-color: #fff;
--bg-color: #1b1f24;
--second-bg-color: #22282f;
--main-color: #00FFFF;
--other-color: #c3cad5;
--h1-font: 4.5rem;
--h2-font: 2.9rem;
--p-font: 1rem;
}
.box{
padding: 80px 40px 66px;
background: #2d343f;
border-radius: 28px;
border: 1px solid transparent;
box-shadow: 0 0 5px var(--main-color);
transition: all .50s ease;
cursor: pointer;
}
.box img{
margin-bottom: 20px;
}
.box h3{
font-size: 24px;
font-weight: 600;
letter-spacing: 1px;
margin-bottom: 10px;
}
.box p{
font-size: var(--p-font);
font-weight: 400;
color: var(--other-color);
line-height: 25px;
margin-bottom: 20px;
}
.box a{
display: inline-block;
font-size: 22px;
line-height: 1.27em;
font-weight: 700;
color: var(--text-color);
border-bottom: 2px solid #5d6c83;
transition: all .50s ease;
}
.box i{
vertical-align: middle;
font-size: 25px;
color: var(--main-color);
margin-left: 5px;
}
.box a:hover{
border-bottom: 2px solid var(--main-color);
}
.box:hover{
border: 1px solid var(--main-color);
transform: translateY(-5px) scale(1.03);
}
.portfolio{
background: var(--second-bg-color);
}
.portfolio-content{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px,auto));
align-items: center;
gap: 2.3rem;
margin-top: 4.2rem;
}
.row img{
height: auto;
width: 100%;
border-radius: 28px;
margin-bottom: 1.4rem;
}
.row{
background: #2d343f;
border-radius: 28px;
border: 1px solid transparent;
box-shadow: 0 0 5px var(--main-color);
padding: 20px;
transition: all .50s ease;
cursor: pointer;
}
.row:hover{
border: 1px solid rebeccapurple;
transform: translateY(-5px) scale(1.03);
}
.main-row{
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.5rem;
}