summaryrefslogtreecommitdiff
path: root/docs/style.css
blob: d7ac078fc252be2a629c09d6ed19a684eaba2796 (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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  letter-spacing: 0.02em;
}
*:focus, *::selection {
  background-color: inherit;
  outline: none !important;
  color: #ededed;
}

body {
  background-color: #131313;
  color: lightgray;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 1em 0em;
}
header 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: #131313;
}

main {
  margin: 2em;
  min-height: calc(100vh - 108.8px - 25.6px - 25.6px - 32px - 32px);
}
main .works {
  display: grid;
  row-gap: 2em;
  column-gap: 2em;
}
main .works .work-card:nth-child(even) {
  background-position: left;
  align-items: flex-end;
}
@media screen and (min-width: 992px) {
  main .works {
    grid-template-columns: 1fr 1fr;
  }
}

footer {
  text-align: center;
  font-size: 0.8em;
  background-color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  border-color: #a29d7f;
  color: #ededed;
}

.work-card {
  padding: 2em;
  background-color: #333;
  border-radius: 0.3em;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  border: 1px solid #131313;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-blend-mode: overlay;
}
.work-card .title-and-description, .work-card .info {
  max-width: 50%;
}
.work-card .title-and-description h3, .work-card .info h3 {
  font-weight: lighter;
  color: #a29d7f;
}
@media screen and (max-width: 650px) {
  .work-card .title-and-description, .work-card .info {
    font-size: 0.8em;
    max-width: 70%;
  }
}
@media screen and (max-width: 500px) {
  .work-card .title-and-description, .work-card .info {
    font-size: 0.7em;
    max-width: 100%;
  }
}
.work-card .info span {
  background-color: #131313;
  padding: 0.5em;
  margin: 0 0.5em;
}
.work-card:hover {
  border: 1px solid #a29d7f;
}

.works-filter {
  padding: 1em;
  font-size: 0.9em;
}
@media screen and (max-width: 500px) {
  .works-filter {
    font-size: 0.7em;
  }
}
.works-filter label {
  margin-left: 2em;
  color: lightgray;
}
.works-filter select {
  background-color: #333;
  color: #a29d7f;
  border: none;
}

/*# sourceMappingURL=style.css.map */