-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
181 lines (154 loc) · 2.96 KB
/
Copy pathstyle.css
File metadata and controls
181 lines (154 loc) · 2.96 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/*
Source - https://stackoverflow.com/a
Posted by ModernDesigner, modified by community. See post 'Timeline' for change history
Retrieved 2026-01-13, License - CC BY-SA 4.0
*/
@import url('https://fonts.googleapis.com/css?family=Shantell+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Ubuntu&display=swap');
:root {
--color1: #FDFBfE;
--color2: #F2F0F1;
--color3: #e2f3fc;
--color4: #C1D8E9;
--color5: #B2D0E8;
--color6: #98C6DF;
--color7: #77B6D5;
--color8: #5783bb;
--color9: #285186;
}
body {
background: url("images/bg2.jpg") repeat;
/* font-family: Verdana, Arial, sans-serif; */
font-size: 12px;
color: #000;
}
#container {
width: 780px;
margin: 5px auto;
border: 3px ridge #ffffff;
background: #fff;
}
#content {
padding: 0; /* optional, see note below */
}
.banner {
width: 100%; /* width of content column */
height: 50px; /* fixed banner height */
overflow: hidden; /* crops image */
}
.banner img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
#sidebar {
color: var(--color7);
font-family: 'Shantell Sans';
width: 100px;
background: var(--color3);
padding: 10px;
vertical-align: top;
}
#content {
padding: 15px;
}
#footer {
color: var(--color7);
font-family: 'Shantell Sans';
padding: 10px;
vertical-align: top;
align-content: center;
}
h1 {
font-family: 'Shantell Sans';
font-size: 20px;
color: var(--color8);
border-bottom: 2px dotted #999;
}
h2 {
font-family: 'Shantell Sans';
font-size: 16px;
color: var(--color8);
border-bottom: 2px dotted #999;
}
h3 {
font-family: 'Shantell Sans';
font-size: 15px;
color: var(--color7);
}
p {
font-family:'Ubuntu';
color: var(--color7);
font-size: 14px;
line-height: 1.4em;
letter-spacing: 0.03em;
}
.home-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: flex-start;
column-gap: 24px;
}
.intro-text {
min-width: 0;
}
.painting-viewer {
display: flex;
align-items: center;
justify-content: center;
justify-self: end;
gap: 12px;
margin: 0 0 4px;
}
.painting-frame {
width: 260px;
margin: 0;
text-align: center;
}
.painting-frame img {
display: block;
width: 100%;
height: 340px;
object-fit: contain;
border: 3px ridge #ffffff;
background: var(--color2);
}
.painting-frame figcaption {
margin-top: 6px;
font-family: 'Ubuntu';
color: var(--color7);
font-size: 13px;
}
.painting-button {
width: 20px;
height: 20px;
border: 2px ridge #ffffff;
background: var(--color3);
color: var(--color8);
cursor: pointer;
font-family: 'Shantell Sans';
font-size: 13px;
line-height: 1;
}
.painting-button:hover {
background: var(--color5);
}
@media (max-width: 700px) {
.home-layout {
display: block;
}
.painting-viewer {
margin-top: 12px;
}
.painting-frame {
width: min(430px, calc(100% - 92px));
}
}
a {
color: #45a8ff;
text-decoration: underline;
}
a:hover {
color: #ffb0d9;
}