Skip to content

Commit b329b82

Browse files
committed
responsiveness
1 parent f7907f3 commit b329b82

File tree

6 files changed

+28
-205
lines changed

6 files changed

+28
-205
lines changed

assets/flower.svg

Lines changed: 13 additions & 0 deletions
Loading

assets/maybe.jpg

2.69 MB
Loading

css/about.css

Lines changed: 0 additions & 197 deletions
This file was deleted.

css/hero.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
justify-content: center;
55
height: 100vh;
66
background: linear-gradient(
7-
rgba(255, 99, 71, 0.60),
8-
rgba(255, 99, 71, 0.60)
9-
), url('../assets/elsa.png');
7+
rgba(255, 99, 71, 0.50),
8+
rgba(255, 99, 71, 0.50)
9+
), url('../assets/maybe.jpg');
1010
background-position: center;
1111
background-repeat: no-repeat;
12-
background-size: contain;
12+
background-size: cover;
1313
}
1414
.hero h1 {
1515
width: 100%;
@@ -24,8 +24,8 @@
2424
animation-name: rotate;
2525
-webkit-animation-name: rotate;
2626

27-
animation-duration: 2.5s;
28-
-webkit-animation-duration: 2.5s;
27+
animation-duration: 3s;
28+
-webkit-animation-duration: 3s;
2929

3030
animation-iteration-count: infinite;
3131
-webkit-animation-iteration-count: infinite;

css/main.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ html, body {
2626
width: 100%;
2727
color: #1A1110;
2828
background-color: floralwhite;
29+
justify-content: space-around;
2930
}
3031
section {
3132
height: 100vh;
3233
display: flex;
33-
flex-direction: row;
34+
flex-flow: row wrap;
3435
}
3536

3637
section > div{
@@ -40,3 +41,9 @@ section > div{
4041
a:link, a:visited, a:hover, a:active {
4142
text-decoration: none;
4243
}
44+
45+
@media only screen and (max-width: 900px) {
46+
section > div {
47+
width: 100vw;
48+
}
49+
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232

3333
<body>
3434
<!-- Main Menu –––––––––––––––––––––––––––––––––––––––––––– -->
35-
3635
<section id="main">
3736
<div class="hero" id="home">
3837
<div>
3938
<img class="rotate" src="assets/black.svg">
4039
<h1> meredith hoo </h1>
4140
</div>
4241
</div>
42+
4343
<!-- Projects Landsape Mode ––––––––––––––––––––––––––––––––– -->
4444
<div id="projects">
4545
<div class="flex-parent landscape">

0 commit comments

Comments
 (0)