diff --git a/src/Assignment-1/assignment1.css b/src/Assignment-1/assignment1.css index 916fa6e..33acc8d 100644 --- a/src/Assignment-1/assignment1.css +++ b/src/Assignment-1/assignment1.css @@ -1,7 +1,29 @@ /* Our CSS file. */ -.container, .content { -width: 100%; -height: 100%; +.container, +.content { + width: 100%; + height: 100%; } + +.full-width-div { + height: 50vh; + width: 100vw; +} + +.left-div { + height: 100%; + width: 50vw; + float: left; +} + +.right-div { + height: 100%; + width: 50vw; + float: right; +} +h1{ + vertical-align: middle; + text-align: center; +} \ No newline at end of file diff --git a/src/Assignment-1/assignment1.html b/src/Assignment-1/assignment1.html index ff998b9..2adf617 100644 --- a/src/Assignment-1/assignment1.html +++ b/src/Assignment-1/assignment1.html @@ -13,8 +13,28 @@ - - +
+
+ +
+
+ image by Aedrian +
+
+
+ Image by Chandler Cruttenden +
+
+

The largest community of photo enthusiasts

+
+
diff --git a/src/Assignment-2/assignment2.css b/src/Assignment-2/assignment2.css index 916fa6e..3f4a6af 100644 --- a/src/Assignment-2/assignment2.css +++ b/src/Assignment-2/assignment2.css @@ -1,7 +1,131 @@ /* Our CSS file. */ +.container, +.content { + width: 100%; + height: 100%; +} +#page_header { + /* border: 1px solid black; */ + width: 100%; + height: auto; +} +#head_block { + display: flex; + border: 1px solid black; + width: 100%; + height: 100px; + justify-content: space-between; + background-color: lightskyblue; +} +#logo { + margin-left: 50px; + align-self: center; + width: 100px; + height: 50px; + border: 1px solid black; +} -.container, .content { -width: 100%; -height: 100%; +#search_box { + margin-right: 40px; + align-self: center; + border: 1px solid black; +} +#navbar { + display: block; + justify-content: center; + border: 1px solid black; + /* margin: 10px; */ +} +#navItemList { + display: flex; + justify-content: space-evenly; + list-style-type: none; +} +.navItems { + display: inline-block; + /* margin-right: 20px; + margin-left: 20px; */ +} +#contentDiv { + margin-top: 10px; + height: auto; + width: 100%; + display: flex; + justify-content: space-between; + /* border: 1px solid black; */ +} +#aside_left { + height: auto; + width: 20%; + /* float: left; */ + border: 1px solid black; +} +#asideLeftItemList { + display: flex; + flex-direction: column; + justify-content: space-around; + list-style-type: none; + align-items: center; + /* border: 1px solid black; */ +} +.asideLeftItems { + /* border: 1px solid black; */ + margin: 10px; + /* margin-right: 15px; */ + padding: 5px; + text-align: center; + /* align-self: center; */ +} +#main-content-section { + height: 100%; + width: 56%; + /* margin: 10px; */ + align-self: center; + display: flex; + flex-direction: column; + border: 1px solid black; +} +.sectionContentDiv { + height: fit-content; + width: 100%; + /* border: 1px solid black; */ + margin: 1%; + align-self: center; + display: flex; + justify-content: space-evenly; + flex-wrap: wrap; +} +.post-img { + flex-wrap: wrap; + height: 50%; + width: 25%; + border: 1px solid red; +} +#aside_right { + height: auto; + width: 20%; + /* float: rig; */ + border: 1px solid black; +} +#right-sidebar-menu { + display: flex; + flex-direction: column; + justify-content: space-around; + list-style-type: none; + align-items: center; +} +#page-footer { + width: auto; + height: fit-content; + border: 1px solid black; + margin-top: 10px; + padding-left: 20px; + padding-right: 20px; +} +#logo { + display: flex; + align-items: center; + justify-content: center; + background-color: aqua; } diff --git a/src/Assignment-2/assignment2.html b/src/Assignment-2/assignment2.html index 4f014ce..506fd66 100644 --- a/src/Assignment-2/assignment2.html +++ b/src/Assignment-2/assignment2.html @@ -1,40 +1,142 @@ - - - - - - - + + + + + + + - -
+ +
+ + +
+ +
+
+  photo by Rohit Tondon +  photo by Rohit Tondon +  photo by Rohit Tondon +
+
+  photo by Rohit Tondon +  photo by Rohit Tondon +  photo by Rohit Tondon +
+
+
+ +
+
+

+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime, + laboriosam. Cum velit sint commodi dolore provident excepturi sed + exercitationem, quos enim corrupti minima ut, nobis aspernatur + dignissimos magni voluptates aliquam eaque. Deserunt ut fugit nulla + corporis rerum? Commodi laborum quis aperiam architecto dicta voluptas + totam neque porro! Provident magni quidem commodi ducimus, quaerat + quae, sint odio repellendus ipsam expedita soluta veniam culpa + distinctio illum officiis exercitationem. Alias dolore vero, facilis + repellat voluptatum est omnis commodi, ipsa sapiente natus + voluptatibus fuga consequuntur eos impedit, ut eveniet quidem illum + incidunt. Temporibus sed saepe sint non ad illo voluptate + exercitationem minima eius quia in voluptatum eaque iure a, magni + quae. Omnis eligendi ut ducimus dolore perferendis voluptatem quod + repellendus, debitis placeat aliquid! Repellat dolorem accusantium + aperiam dolor impedit ullam hic quis voluptatum perspiciatis. +

+
+ +
- - - - - -
- - - - - - \ No newline at end of file + + + +