-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (94 loc) · 1.83 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&family=Karla:wght@400;700&family=League+Spartan:wght@400;500;700&family=Roboto+Mono:wght@400;700&display=swap');
body {
font-family: 'Barlow Semi Condensed', sans-serif;
font-family: 'Karla', sans-serif;
font-family: 'League Spartan', sans-serif;
font-family: 'Roboto Mono', monospace;
-ms-overflow-style: none;
color: wheat;
background-color: black;
}
ul {
list-style: none;
}
a {
text-decoration: none;
}
.container {
padding-left: 15px;
padding-right: 15px;
margin-left: auto;
margin-right: auto;
}
/* small */
@media (min-width: 768px) {
.container {
width: 750px;
}
}
/* medium */
@media (min-width: 992px) {
.container {
width: 970px;
}
}
/* large */
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}
.text {
text-align: center;
}
.text h1 {
font-size: 4rem;
padding-bottom: 3rem;
}
.text h1>span {
background-color: wheat;
color: #20123a;
padding: 0 20px;
}
@media(max-width:787px) {
.text h1 {
font-size: 2rem;
line-height: 1.3;
}
}
.text p {
font-size: 1.22rem;
line-height: 2;
width: 70%;
margin: auto;
color: white;
}
@media(max-width:787px) {
.text p {
font-size: 1.1rem;
width: 80%;
}
}
.list-of-work {
padding: 100px 0;
}
.list-of-work ul {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 25px;
}
.list-of-work ul li a img {
width: 100%;
height: 100%;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
overflow: hidden;
}