-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (99 loc) · 2.37 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
117
118
119
120
121
122
123
124
125
126
127
128
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');
@import url("https://fonts.googleapis.com/css?family=Abel&display=swap");
@import url("https://fonts.googleapis.com/css?family=Gajraj+One&display=swap");
@import url("https://fonts.googleapis.com/css?family=Press+Start+2P&display=swap");
body {
background-color: #333;
color: #fff;
font-family: "Abel", sans-serif;
}
.container {
max-width: 1000px;
margin: 0 auto;
}
header {
text-align: center;
margin-top: 40px;
margin-bottom: 50px;
}
h1 {
font-family: "Gajraj One", sans-serif;
font-size: 48px;
margin: 20px;
background: rgb(255,255,255);
background: linear-gradient(0deg, rgba(255,255,255,1) 8%, rgba(215,215,215,1) 38%, rgba(242,242,242,1) 43%, rgba(255,255,255,1) 96%, rgba(222,222,222,1) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow:
11px 11px 12px #111,
}
.header {
line-height: 1;
&--shadow {
&::before {
color: #000;
content: attr(data-text);
margin-top: 0.875rem;
opacity: 0.7;
position: absolute;
transform: perspective(200px) rotateX(40deg) scale(0.83);
z-index: -1;
}
}}
h2 {
font-family: "Press Start 2P", sans-serif;
font-size: 18px;
margin-bottom: 10px;
}
a {
border: 1px solid #333;
color: white;
padding: 10px;
transition: background-color 0.3s ease-in-out;
text-decoration: none;
}
a:hover{background-color: #ddd; color: #333;}
.project-card {
display: inline-block;
border: 1px solid #111;
border-radius: 5px;
padding: 20px;
margin: 10px;
width: 300px;
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
background-color: #444;
}
.project-card:hover {
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}
.project-thumbnail {
display: block;
width: 100%;
height: auto;
margin-bottom: 20px;
}
.project-title {
font-family: "Press Start 2P", sans-serif;
font-size: 1.5rem;
margin-bottom: 10px;
}
.project-description,
.project-language,
.project-link {
font-family: "Abel", sans-serif;
font-size: 1rem;
margin-bottom: 10px;
}
.project-language{color:#777;}
.project-link {
font-family: "Press Start 2P", sans-serif;
display: block;
text-align: right;
font-size: 12px;
}
footer{margin:40px; color:#666;}
@media screen and (max-width: 768px) {
.project-card {
width: 95%;
}
}