diff --git a/main/index.css b/main/index.css index 52f63bb..6eae577 100644 --- a/main/index.css +++ b/main/index.css @@ -1,345 +1,93 @@ -@import url(https://fonts.bunny.net/css?family=poppins); - -body { - font-family: 'Poppins', sans-serif; - padding:0px; - margin:0px; - max-width:100vw; - overflow-x:hidden; - scroll-behavior: smooth; +@import url(https://fonts.bunny.net/css?family=azeret-mono); +*{ + font-family: 'Azeret Mono', monospace; } -@keyframes rotate { - 0% {transform: rotate(0deg);} - 100% {transform: rotate(360deg);} -} -header { - width:92vw; +body{ padding:6vh 4vw; - position:fixed; +} + /* The side navigation menu */ +.sidebar { + margin: 0; + padding: 0; + width: 200px; + background-color: #5e344a + position: fixed; + height: 100%; + overflow: auto; +} +/* Sidebar links */ +.sidebar a { + display: block; + color: black; + padding: 16px; + text-decoration: none; +} +/* Active/current link */ +.sidebar a.active { + background-color: #04AA6D; + color: #5e344a; +} +/* Links on mouse-over */ +.sidebar a:hover:not(.active) { + background-color: #555; + color: #5e344a; +} +/* Page content. The value of the margin-left property should match the value of the sidebar's width property */ +div.content { + margin-left: 200px; + padding: 16px 16px; +} +/* On screens that are less than 700px wide, make the sidebar into a topbar */ +@media screen and (max-width: 700px) { + .sidebar { + width: 100%; + height: auto; + position: relative; + } + .sidebar a {float: left;} + div.content {margin-left: 0;} +} +/* On screens that are less than 400px, display the bar vertically, instead of horizontally */ +@media screen and (max-width: 400px) { + .sidebar a { + text-align: center; + float: none; + } +} +#home { font-weight:bold; - background:transparent; - color:#fff; - transition:0.4s ease-in-out; - z-index:2; -} -header table { - width:100%; -} -#logo { - width:20%; -} -#navigation { - width:80%; -} -#img_here { - width:60%; - height:90%; - background-size:contain !important; - background-repeat:no-repeat !important; - margin:0px auto; -} -#logo { - font-size:24px; - color:rgb(255, 44, 90); -} -#navigation { - text-align:right; -} -#navigation a { - color:inherit; - text-decoration:none; - padding:5px 10px; - border-bottom:2px solid transparent; - margin-left:2vw; - margin-right:2vw; - transition:0.4s ease-in-out; -} -#navigation a:hover{ - border-bottom:2px solid #fff; -} -#top_part { - width:100%; - /* border:2vh solid #fff; */ -} -#top_part tr td{ - width:50%; -} -#about { - width:84% !important; - height:95vh; - display:flex; - flex-direction:column; - justify-content:center; - text-align:left; - padding:0px 8%; -} -#about h1 { - font-size:45px; - word-wrap:break-word; -} -#about table { - width:70%; - margin-top:4vh; -} -#about table tr td { - width:20% !important; - text-align:left; -} -.social { - color:rgb(255, 44, 90); - font-size:23px; - padding:12px 17px; - border-radius:50%; - background:transparent; - transition:0.4s ease-in-out; - font-weight:bold; - margin:0px 8px; -} -.social:hover { - cursor: pointer; - color:#fff; - background:rgb(255, 44, 90); - box-shadow:0px 10px 30px rgba(255, 66, 107,0.8); -} -.btn_one { - font-size:18px; - font-family: 'Poppins', sans-serif; - color:rgb(255, 44, 90); - background:#fff; - border:3px solid rgb(255, 44, 90); - padding:8px 40px; - width:35%; - border-radius:80px; - font-weight:bold; - margin:2vh 0px; - transition:0.4s ease-in-out; -} -.btn_one:hover { - box-shadow:0px 10px 30px rgba(255, 44, 90, 0.8); - cursor:pointer; - color:#fff; - background:rgb(255, 44, 90); -} -#rightImage { - width:100%; - height:100vh; - background:linear-gradient(0deg,rgba(255, 44, 90, 0.8),rgba(255, 44, 90, 0.8)), url("images/xeniakiki.png") center center; - background-size:cover; - background-repeat:no-repeat; } #gallery { - width:92vw; - padding:6vh 4vw; - font-weight:bold; } #gallery h1 { - padding:5px 0px; border-bottom:4px solid rgb(255, 44, 90); width:6%; } #photos { - width:100%; - columns:3; + width:50%; column-gap:4%; - z-index:1; transition:0.4s ease-in-out; } #photos img { - width:100%; + width:20%; height:auto; margin:4.5% 0px; transition:0.4s ease-in-out; } #photos img:hover { - transform: scale(1.1); + transform: scale(2); cursor: pointer; } -#comms { - width:92vw; - padding:6vh 4vw; - font-weight:bold; -} -#comms h1 { - padding:5px 0px; - border-bottom:4px solid rgb(255, 44, 90); - width:25%; -} #contact { - width:92vw; - padding:6vh 4vw; + width:auto; } #contact h1 { - padding:5px 0px; border-bottom:4px solid rgb(255, 44, 90); width:10%; } -#contact table { - width:100%; -} -#contact table tr td { - width:50%; -} -#inner_div table{ - width:100%; -} -#inner_div table tr td{ - font-weight:bold; -} -#inner_table tr td{ - padding:10px 20px !important; -} #footer { width:100%; padding:10vh 0px; text-align:center; font-weight:bold; } -#footer a { - color:rgb(255, 44, 90); - text-decoration:none; -} -::placeholder { - color:#000; -} -button:focus { - outline:none; -} -::-webkit-scrollbar { - width:5px; - height:5px; -} -::-webkit-scrollbar-track { - background: #f1f1f1; -} -::-webkit-scrollbar-thumb { - background: rgb(0, 0, 0); -} -::-webkit-scrollbar-thumb:hover { - background: rgba(0, 0, 0,0.8); -} - -@media (max-width: 1000px){ - #photos { - columns:1; - column-gap:0%; - } - #photos img { - margin:2% 0px; - } - #photos img:hover { - transform: scale(1); - cursor: pointer; - } - #rightImage { - display:none; - } - #top_part { - border:0px; - } - #top_part tr td{ - width:100%; - text-align:center; - } - #about { - width:92% !important; - height:75vh; - padding-top:20vh !important; - text-align:center; - padding:0px 4%; - } - #about table { - width:100%; - margin-top:6vh; - } - #about table tr td { - text-align:center; - } - .btn_one { - padding:6px 30px; - width:60%; - margin:4vh auto; - box-shadow:0px 10px 20px rgba(255, 44, 90, 0.8); - background:rgb(255, 44, 90); - color:#fff; - } - .btn_one:hover { - box-shadow:0px 10px 40px rgba(255, 44, 90, 0.8); - cursor:pointer; - } - #contact table tr td { - width:100%; - display:block; - } - #inner_table tr td{ - padding:10px 0px !important; - } - #contact form input { - width:90%; - } - #contact form textarea { - width:90%; - } - #gallery h1 { - width:19%; - } - #comms h1 { - width:25%; - } - #contact h1 { - width:33%; - } - header { - width:96vw; - background:#fff; - padding:4vh 2vw; - position:absolute; - } - #header table tr td { - width:100%; - display:block; - text-align:center; - padding:15px 0px; - } - #navigation a { - color:#000; - } -} - /* Dropdown Button */ -.dropbtn { - color: white; -} - -/* The container
- needed to position the dropdown content */ -.dropdown { - position: center; - display: inline-block; -} - -/* Dropdown Content (Hidden by Default) */ -.dropdown-content { - display: none; - position: absolute; - background-color: purple; - box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); - z-index: 1; -} - -/* Links inside the dropdown */ -.dropdown-content a { - color:inherit; - text-decoration:none; - padding:5px 10px; - border-bottom:2px solid transparent; - text-decoration: none; - display: block; -} - -/* Change color of dropdown links on hover */ -#dropdown-content a:hover {background-color: #grey;} - -/* Show the dropdown menu on hover */ -.dropdown:hover .dropdown-content {display: block;} - -/* Change the background color of the dropdown button when the dropdown content is shown -.dropdown:hover .dropbtn {background-color: #3e8e41;} -*/ diff --git a/main/index.html b/main/index.html index dd6825c..3cbd45d 100644 --- a/main/index.html +++ b/main/index.html @@ -1,77 +1,76 @@ - - - - - Alison Kit - - - - - - - - - - - -
-

Artist, Writer, Red Panda.

- - - - - - -
-
-