summaryrefslogtreecommitdiff
path: root/docs/style.css
blob: 2981ad678a1d1582eb01fa87c15d6b37b0cf9874 (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
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
*: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);
  display: grid;
  row-gap: 2em;
  column-gap: 2em;
}
main .work-card:nth-child(even) {
  background-position: left;
  align-items: flex-end;
}
@media screen and (min-width: 992px) {
  main {
    grid-template-columns: 1fr 1fr;
  }
}

footer {
  text-align: center;
}

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;
}

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