transform: skew(-0.5rad);
}
+contact {
+ display: block;
+ width: 100%;
+ text-align: right;
+ color: gray;
+}
+
/* Main section */
main {
line-height: 1.2;
}
-section {
- width: min(100%, 650px);
-}
-@media (max-width: 1250px) {
+@media (max-width: 1000px) {
/* Formatting for mobile */
+
img {
- width: min(100%, 200px);
+ margin: 20px;
+ width: min(100%, 300px);
+ }
+
+ section {
+ width: 100%;
}
}
/* Variables for the photo arrangement to make it easier to tweak */
:root {
- --x: 750px;
- --y: 220px;
+ --x: 600px;
+ --y: 400px;
}
-@media (min-width: 1250px) {
+@media (min-width: 1000px) {
/* Formatting for computer */
img {
top: calc(var(--y) + 350px);
left: calc(var(--x) + 25px);
}
+
+ section {
+ width: 450px;
+ }
}