blob: 38969076fac4bb5e24378710ad2571e0471332ca (
plain)
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
|
$background-color: #131313;
$box-color: #333;
$font-color: lightgray;
$accent-color: #a29d7f;
* {
box-sizing: border-box;
padding: 0;
margin: 0;
&:focus, &::selection {
background-color: inherit;
outline: none !important;
color: lighten($color: $font-color, $amount: 10);
}
letter-spacing: 0.02em;
}
body {
background-color: $background-color;
color: $font-color;
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
}
header {
text-align: center;
padding: 1em 0em;
h1 {
font-family: 'Times New Roman', Times, serif;
letter-spacing: 0.1em;
}
}
nav {
display: flex;
justify-content: space-evenly;
align-items: center;
padding: 0em 2em;
background-color: $background-color;
}
main {
margin: 2em;
min-height: calc(100vh - 108.8px - 25.6px - 25.6px - 32px - 32px);
.works {
display: grid;
row-gap: 2em;
column-gap: 2em;
@media screen and (min-width: 768px) {
grid-template-columns: 1fr 1fr;
}
@media screen and (min-width: 1024px) {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
}
}
footer {
text-align: center;
font-size: 0.8em;
background-color: $box-color;
}
a {
text-decoration: none;
color: inherit;
&:hover {
border-color: $accent-color;
color: lighten($color: $font-color, $amount: 10);
}
}
.work-card {
padding: 2em;
background-color: $box-color;
border-radius: 0.3em;
border: 1px solid $background-color;
height: 250px;
display: flex;
flex-direction: column;
justify-content: space-between;
.title-and-description, .info {
h3 {
font-weight: lighter;
color: $accent-color;
}
}
.info {
span {
background-color: $background-color;
padding: 0.5em;
margin: 0 0.5em;
font-size: 0.8em;
}
}
&:hover {
border: 1px solid $accent-color;
}
}
.works-filter {
padding-bottom: 2em;
font-size: 0.9em;
@media screen and (max-width: 500px) {
font-size: 0.7em;
}
label {
margin-left: 2em;
color: $font-color;
}
select {
background-color: $box-color;
color: $accent-color;
border: none;
}
}
|