-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
141 lines (118 loc) · 2.18 KB
/
styles.css
File metadata and controls
141 lines (118 loc) · 2.18 KB
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
133
134
135
136
137
138
139
140
141
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,900;1,400&display=swap');
body, html {
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
background-color: #EFEEEE;
font-family: 'Merriweather', serif;
text-align: justify;
}
h1 {
border-bottom: 1px solid rgba(0,0,0,0.125);
margin: 20px;
font-weight: 300;
grid-area: header;
}
.portrait {
grid-area: pic;
margin: 0 auto;
}
.portrait img {
margin: 0 auto;
width: 200px;
}
.links {
text-align: center;
}
.grid-wrapper {
width: 100vw;
height: 100vh;
display: grid;
grid-template-areas: 'header header header'
'. content pic';
grid-template-columns: 1fr 700px 1fr;
grid-template-rows: 1fr;
}
@media only screen and (max-width: 900px) {
.grid-wrapper {
grid-template-areas: 'header'
'pic'
'content';
grid-template-columns: 1fr;
}
body {
text-align: left;
}
}
.content {
grid-area: content;
padding: 20px;
}
.fixed-width {
margin: auto;
padding: 15px;
}
/*
See https://uxdesign.cc/neumorphism-in-user-interfaces-b47cef3bf3a6
*/
.card {
padding: 15px;
border-radius: 10px;
margin-bottom: 50px;
/*
box-shadow: -6px -6px 16px rgba(255,255,255,.5),
6px 6px 16px rgba(209, 205, 199, .5);
*/
}
.project {
margin: 20px;
}
h3 {
border-bottom: 1px solid rgba(0,0,0,0.125);
margin-top: 40px;
font-weight: 300;
}
.img-wrapper {
margin: 10px;
display: block;
}
img {
border-radius: 5px;
width: 100%;
height: auto;
}
.tags:before {
content: 'This project features: ';
}
.tags {
text-align: center;
padding: 10px;
}
.tags span {
display:inline-block;
border-radius: 5px;
font-style: italic;
/*
text-decoration: underline;
border-top: 1px solid rgba(255,255,255,0.125);
border-left: 1px solid rgba(255,255,255,0.125);
border-bottom: 1px solid rgba(0,0,0,0.125);
border-right: 1px solid rgba(0,0,0,0.125);
*/
}
.tags span:after {
content: ',';
}
.tags span:nth-last-child(2):after {
content: '';
}
.tags span:last-child:before {
content: '& ';
}
.tags span:first-child:before {
content: '';
}
.tags span:last-child:after {
content: '';
}