From 39a149084241410031cd310e01bf7a91fb354c62 Mon Sep 17 00:00:00 2001 From: ratalla816 <85460602+ratalla816@users.noreply.github.com> Date: Sat, 24 Feb 2024 05:53:05 -0600 Subject: [PATCH] updated media queries --- README.md | 1 + assets/css/style.css | 815 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 815 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dc3685f..790670a 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ QR code signage located at multiple locations near the entrance, break room, and * Read descriptions and view pictures of the critical role options available to me * Once I have decided which roles I want to get trained for, I want to send a request form to leadership so I can be vetted for the role + # Screenshot diff --git a/assets/css/style.css b/assets/css/style.css index 62b79ac..fe20133 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1 +1,814 @@ -*,body{font-family:Helvetica,Arial,sans-serif!important}header h1,header h2,header nav ul li a{text-shadow:0 0 2px rgba(0,0,0,.5)}.dates,.steps,footer,header nav ul li a:hover{background:var(--primary-color)}.hero-excel,.hero-excel h2{text-shadow:0 0 2px rgba(0,0,0)}*,.page{box-sizing:border-box}.form,.intro p,footer,header h1,header h2{font-weight:700}.contact-info,.date,.flex-row,.form-container,.hero,.pages,.step,footer,header,header nav ul{display:flex}*{margin:0;padding:0}:root{--primary-color:#a8babd;--secondary-color:#183f7a;--tertiary-color:#3b3330}body{color:var(--tertiary-color);background-color:#dcdcdc!important}header{padding:20px 35px;background-color:var(--tertiary-color);justify-content:space-between;flex-wrap:wrap;position:-webkit-sticky;position:sticky;top:0;background-image:url('../images/clouds.jpg');background-size:cover;background-attachment:fixed;background-position:80%;z-index:9999}header h1{margin:0;text-align:center;font-size:38px;color:#183f7a}.hero-excel,header h2{font-size:24px;text-align:center}header h2{margin:0;color:#183f7a}header a{text-decoration:none;color:#183f7a}header nav{margin:15px 0}header nav ul{flex-wrap:wrap;justify-content:space-between;align-items:center;list-style:none}header nav ul li a{padding:10px 15px;font-weight:lighter;font-size:1.55vw}header nav ul li a:hover{color:var(--secondary-color);border-radius:15px;text-shadow:none}.date,.step{margin:50px auto;padding-bottom:50px;width:80%;flex-wrap:wrap;align-items:center;justify-content:space-between}.date h3,.step h3{color:var(--secondary-color);font-size:46px;flex:1 30%}.date-info,.step-info{flex:2 70%;display:flex;flex-wrap:wrap;align-items:center}.date-img,.step-img{flex:1 12%;margin-right:20px}.date-img img,.step-img img{max-width:100%}.date-text,.step-text{flex:12}.date-text p,.step-text p{color:var(--tertiary-color);font-size:18px}.date-text h4,.step-text h4,footer a,footer h2{color:var(--secondary-color)}.date-text h4,.step-text h4{font-size:26px;line-height:1.5}.date:not(:last-child),.step:not(:last-child){border-bottom:1px solid var(--tertiary-color)}footer{padding:40px 35px;justify-content:space-between;flex-wrap:wrap;width:100%;color:#183f7a;display:grid}footer h2{font-size:30px;margin:0}footer div{line-height:1.5;text-align:right}.hero{background-image:url('../images/clouds.jpg');background-size:cover;align-items:flex-start;justify-content:center;flex-wrap:wrap;background-attachment:fixed;background-position:100%}.contact,.page{background:var(--secondary-color)}.hero-excel{width:35%;margin:3.5%;color:#183f7a;line-height:1.2}.hero-excel h2{font-style:italic;font-size:55px;color:#183f7a}.section-title{font-size:48px;border-bottom:3px solid;color:var(--secondary-color);padding-bottom:20px;text-align:center;margin:15px auto 35px;width:50%;text-shadow:0 0 2px rgb(0 0 0)}.page-disc,.page-disc h3,.page-disc h4,.page-disc p{text-shadow:0 0 3px rgba(0,0,0,.5)}.primary-border{border-color:var(--primary-color)}.secondary-border{border-color:var(--tertiary-color);margin-bottom:150px}.intro p{line-height:1.7;color:var(--tertiary-color);width:80%;margin:0 auto;font-size:20px;text-align:center}.contact h2,.contact-info h3,.page{color:var(--primary-color)}.left-panel{margin-top:4rem;margin-right:3.7rem;right:0}.right-panel{margin-right:3rem;right:0}.pages{width:100%;margin:0 auto;flex-wrap:wrap;justify-content:space-between;flex-direction:row}.page{margin:20px;flex:1;border-radius:25px}.page img{width:100%;height:415px}.special{height:200px}.page-disc{padding:25px;line-height:1.3;text-align:center}.page-disc h3{font-size:28px}.page-disc h4{font-weight:lighter;font-size:22px;margin-bottom:15px}.page-disc p{font-size:17px}section{padding:120px}.contact h2{margin-bottom:5px}.contact-info h3{font-size:32px}.contact-info address,.form,.form-container{color:#a8babd!important}.contact-info address{line-height:1.5;font-size:16px;text-align:center;font-style:normal}.contact h2,.contact-info a{color:var(--primary-color)}.contact-info{justify-content:space-around;align-items:center}.contact-info>*{flex:1}.form-container{position:relative;height:115px;padding-top:5px;margin-top:10px;align-items:center!important;justify-content:center!important;text-align:center!important}.form{box-sizing:content-box;border:10px solid #ff4500;margin-top:3rem;padding-top:3em;width:30em;height:5em;text-align:space-around!important;justify-content:center!important;background-color:#d3d3d3;font-size:1em;text-shadow:#3b3330}.text-right{text-align:right}@media screen and (max-width:1160px){.hero-excel,.hero-form,header h1,header nav ul{width:100%}.hero-excel,header h1{text-align:center}header{padding-bottom:0;justify-content:center;position:relative}header nav ul{margin-top:20px;justify-content:center}header nav ul li a{font-size:20px}footer div,footer h2{text-align:center;width:100%}.section-title{width:80%}.page{flex:0 70%;margin:108px}.contact-info iframe{flex:1 100%;margin-left:70px}}@media screen and (max-width:768px){section{padding:30px 15px}.date h3{flex:1 100%;text-align:center}.date-info{flex:2 100%;text-align:center;justify-content:center}.date-text{flex:100%}.page{flex:0 70%;margin:70px}.contact-info iframe{flex:1 100%;margin-left:70px}}@media screen and (max-width:575px){.header,.hero{margin-right:-82PX!important}.left-panel{margin-top:6rem;margin-right:-15px!important;right:0}.right-panel{margin-right:30px!important;right:0}.hero-form button,.intro p{width:100%}.section-title{width:95%}.contact-info>*,.page{flex:0 100%}.contact-info{text-align:center}.contact-form{order:3}.contact-info iframe{flex:1 100%;margin-left:70px;width:5px}}@media screen and (max-width:420px){.header{padding:20px 5px;background-position:100%!important;margin-right:5px!important}.hero{margin-right:-14PX!important}.left-panel{margin-top:6rem;margin-right:0!important;right:0}.right-panel{margin-right:-2px!important;right:0}.hero-form button,.intro p{width:100%}.section-title{width:95%}.page{flex:0 100%;margin:25px 5px 5px}.contact-info{text-align:center}.contact-info>*{flex:0 100%}.contact-form{order:3}.contact-info iframe{display:contents}}@media screen and (max-width:375px){.hero-form button,.intro p{width:100%}.section-title{width:95%}.contact-info>*,.page{flex:0 100%}.contact-info{text-align:center}.contact-form{order:3}} \ No newline at end of file + + +* { + box-sizing: border-box; + margin: 0; + padding: 0; + font-family: Helvetica, Arial, sans-serif !important; + } + + :root { + --primary-color: #a8babd; + --secondary-color: #183f7a; + --tertiary-color: #3b3330; + } + + body { + color: var(--tertiary-color); + font-family: Helvetica, Arial, sans-serif !important; + background-color: gainsboro !important; + } + + + + /* header / navbar styles start */ + + header { + padding: 20px 35px; + background-color: var(--tertiary-color); + display: flex; + justify-content: space-between; + flex-wrap: wrap; + position: -webkit-sticky; + position: sticky; + top: 0; + background-image: url('../images/clouds.jpg'); + background-size: cover; + background-position: center; + background-attachment: fixed; + background-position: 80%; + z-index: 9999; + } + + header h1 { + font-weight: bold; + margin: 0; + text-align: center; + font-size: 38px; + color: #183f7a; + text-shadow: 0 0 2px rgba(0, 0, 0, 0.5); + } + + header h2 { + font-weight: bold; + margin: 0; + text-align: center; + font-size: 24px; + color: #183f7a; + text-shadow: 0 0 2px rgba(0, 0, 0, 0.5); + } + + header a { + text-decoration: none; + color: #183f7a; + } + + header nav { + margin: 15px 0; + } + + header nav ul { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: center; + list-style: none; + } + + header nav ul li a { + padding: 10px 15px; + font-weight: lighter; + font-size: 1.55vw; + text-shadow: 0 0 2px rgba(0, 0, 0, 0.5); + } + + header nav ul li a:hover { + background: var(--primary-color); + color: var(--secondary-color); + border-radius: 15px; + text-shadow: none; + } + + /* WHAT YOU DO STYLES START */ + .steps { + background: var(--primary-color); + } + + .step { + margin: 50px auto; + padding-bottom: 50px; + width: 80%; + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + } + + .step h3 { + color: var(--secondary-color); + font-size: 46px; + flex: 1 30%; + } + + .step-info { + flex: 2 70%; + display: flex; + flex-wrap: wrap; + align-items: center; + } + + .step-img { + flex: 1 12%; + margin-right: 20px; + } + + .step-img img { + max-width: 100%; + } + + .step-text { + flex: 12; + } + + .step-text p { + color: var(--tertiary-color); + font-size: 18px; + } + + .step-text h4 { + font-size: 26px; + line-height: 1.5; + color: var(--secondary-color); + } + + .step:not(:last-child) { + border-bottom: 1px solid var(--tertiary-color); + } + + /* WHAT YOU DO STYLES END */ + + + + /* footer styles start */ + footer { + background: var(--primary-color); + padding: 40px 35px; + display: flex; + justify-content: space-between; + flex-wrap: wrap; + width: 100%; + } + + footer h2 { + color: var(--secondary-color); + font-size: 30px; + margin: 0; + } + + footer div { + line-height: 1.5; + text-align: right; + } + + footer a { + color: var(--secondary-color); + } + /* footer styles end */ + + /* every section style */ + section { + padding: 60px; + } + + /* hero styles start */ + .hero { + background-image: url('../images/clouds.jpg'); + background-size: cover; + background-position: center; + + display: flex; + align-items: flex-start; + justify-content: center; + flex-wrap: wrap; + background-attachment: fixed; + background-position: 100%; + } + + .hero-excel { + width: 35%; + text-align: center; + margin: 3.5%; + color: #183f7a; + font-size: 24px; + line-height: 1.2; + text-shadow: 0 0 2px rgba(0, 0, 0); + } + + .hero-excel h2 { + font-style: italic; + font-size: 55px; + color: #183f7a; + text-shadow: 0 0 2px rgba(0, 0, 0); + } + /* hero styles end */ + + /* section styles start */ + .section-title { + font-size: 48px; + border-bottom: 3px solid; + color: var(--secondary-color); + padding-bottom: 20px; + text-align: center; + margin: 0 auto 35px auto; + margin-top: 15px; + width: 50%; + text-shadow: 0 0 2px rgb(0 0 0); + } + + .primary-border { + border-color: var(--primary-color); + } + + .secondary-border { + border-color: var(--tertiary-color); + margin-bottom: 150px; + } + /* section styles end */ + + /* about me styles start */ + .intro p { + line-height: 1.7; + color: var(--tertiary-color); + width: 80%; + margin: 0 auto; + font-size: 20px; + text-align: center; + /* text-shadow: 0 0 2px rgb(0 0 0); */ + font-weight: bold; + } + /* about me styles end */ + + .left-panel { + margin-top: 4rem; + margin-right: 3.7rem; + right:0; + } + + .right-panel { + margin-right: 3rem; + right:0; + } + + /* work styles start */ + .pages { + width: 100%; + margin: 0 auto; + display: flex; + flex-wrap: wrap; + justify-content: space-between; + flex-direction: row; + /* flex-direction: column; */ + /* align-items: stretch; */ + /* flex-wrap: wrap; */ + } + + .page { + margin: 20px; + flex: 1; + background: var(--secondary-color); + color: var(--primary-color); + box-sizing: border-box; + border-radius: 25px; + } + + /* .git img { */ + /* length: 64px; */ + /* box-sizing: border-box; + width: 64px !important; + height: 64px !important; + align-items: center !important; + } */ + + + .page img { + width: 100%; + height: 415px; + } + + .special { + height: 200px; + } + + .page-disc { + padding: 25px; + line-height: 1.3; + text-align: center; + text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); + } + + .page-disc h3 { + font-size: 28px; + text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); + } + + .page-disc h4 { + font-weight: lighter; + font-size: 22px; + margin-bottom: 15px; + text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); + } + + .page-disc p { + font-size: 17px; + text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); + } + /* work styles end */ + + /* resume styles start */ + .dates { + background: var(--primary-color); + } + + .date { + margin: 50px auto; + padding-bottom: 50px; + width: 80%; + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + } + + .date h3 { + color: var(--secondary-color); + font-size: 46px; + flex: 1 30%; + } + + .date-info { + flex: 2 70%; + display: flex; + flex-wrap: wrap; + align-items: center; + } + + .date-img { + flex: 1 12%; + margin-right: 20px; + } + + .date-img img { + max-width: 100%; + } + + .date-text { + flex: 12; + } + + .date-text p { + color: var(--tertiary-color); + font-size: 18px; + } + + .date-text h4 { + font-size: 26px; + line-height: 1.5; + color: var(--secondary-color); + } + + .date:not(:last-child) { + border-bottom: 1px solid var(--tertiary-color); + } + + /* resume styles end */ + + section { + padding: 120px; + } + + + /* contact styles start */ + + .contact h2 { + color: var(--primary-color); + margin-bottom: 5px; + } + + .contact-info h3 { + color: var(--primary-color); + font-size: 32px; + /* text-align: center; */ + /* margin-top: 62px; */ + /* margin-right: 126px; */ + } + + .contact-info address { + /* margin: 20px 0; */ + line-height: 1.5; + font-size: 16px; + text-align: center; + font-style: normal; + color: #a8babd !important; + /* margin-bottom: 144px; */ + /* margin-top: -126px; */ + /* margin-right: 130px; */ + } + + + .contact { + /* align-items: baseline; */ + /* text-align: center; */ + background: var(--secondary-color); + + } + + .contact h2 { + color: var(--primary-color); + } + + .contact-info { + display: flex; + justify-content: space-around; + /* flex-wrap: wrap; */ + align-items: center; + + } + + .contact-info > * { + flex: 1; + /* margin: 15px; */ + } + + + .contact-info a { + color: var(--primary-color); + + } + + footer { + color: #183f7a; + font-weight: bold; + display: grid; + + } + + /* ************** contact form styles *************/ + + + .form-container { + position: relative; + height: 115px; + display: flex; + padding-top: 5px; + margin-top: 10px; + align-items: center !important; + justify-content: center !important; + text-align: center !important; + color: #a8babd !important; + } + + .form { + box-sizing: content-box; + width: 100%; + border: solid orangered 10px; + margin-top: 3rem; + padding-top: 3em; + width: 30em; + height: 5em; + /* text-size-adjust: 5rem; */ + text-align: space-around !important; + justify-content: center !important; + /* justify-content: space-between; */ + color: #a8babd !important; + background-color: lightgray; + font-size: 1em; + font-weight: bold; + text-shadow: #3b3330; + }; + + + /* utilities */ + .text-left { + text-align: left; + } + + .text-right { + text-align: right; + } + + .flex-row { + display: flex; + } + + + /* media queries for smaller computer screens and larger tablets *OK* */ + @media screen and (max-width: 1340px) { + header { + padding-bottom: 0; + justify-content: center; + position: relative; + } + + header h1 { + width: 100%; + text-align: center; + } + + header nav ul { + margin-top: 20px; + width: 100%; + justify-content: center; + } + + header nav ul li a { + font-size: 20px; + } + + footer h2, footer div { + text-align: center; + width: 100%; + } + + .hero-excel, .hero-form { + width: 100%; + } + + .hero-excel { + text-align: center; + } + + .section-title { + width: 80%; + } + + .page { + flex: 0 70%; + margin: 108px; + } + + /* .page-disc { + font-weight: bold; + } */ + + .page-name { + font-weight: bolder; + color:antiquewhite; + margin-bottom: 1.5em; + text-shadow: 0 0 6px rgba(2, 2, 2, 2.5) !important; + } + + .page-skills { + font-weight: bolder !important; + color:antiquewhite + } + + .contact-info iframe{ + flex: 1 100%; + margin-left: 70px; + } + } + + + /* media queries for smaller computer screens and tablets *OK* */ + @media screen and (max-width: 1160px) { + header { + padding-bottom: 0; + justify-content: center; + position: relative; + } + + header h1 { + width: 100%; + text-align: center; + } + + header nav ul { + margin-top: 20px; + width: 100%; + justify-content: center; + } + + header nav ul li a { + font-size: 20px; + } + + footer h2, footer div { + text-align: center; + width: 100%; + } + + .hero-excel, .hero-form { + width: 100%; + } + + .hero-excel { + text-align: center; + } + + .section-title { + width: 80%; + } + + .page { + flex: 0 70%; + margin: 108px; + } + + .contact-info iframe{ + flex: 1 100%; + margin-left: 70px; + } + } + + /* media queries for tablets and mobile phones *OK* */ + @media screen and (max-width: 768px) { + section { + padding: 30px 15px; + } + + .date h3 { + flex: 1 100%; + text-align: center; + } + + .date-info { + flex: 2 100%; + text-align: center; + justify-content: center; + } + + .date-text { + flex: 100%; + } + + .page { + flex: 0 70%; + margin: 70px; + } + + .contact-info iframe{ + flex: 1 100%; + margin-left: 70px; + } + } + + /* media queries for mobile phones and smaller */ + @media screen and (max-width: 575px) { + + .header { + margin-right: -82PX !important; + } + + .hero { + margin-right: -82PX !important; + } + + .left-panel { + margin-top: 6rem; + margin-right: -15px !important; + right: 0; + } + + .right-panel { + margin-right: 30px !important; + right: 0; + } + + .hero-form button { + width: 100%; + } + + .section-title { + width: 95%; + } + + .intro p { + width: 100%; + } + + .page { + flex: 0 100%; + } + + .contact-info { + text-align: center; + } + + .contact-info > * { + flex: 0 100%; + } + + .contact-form { + order: 3; + } + + .contact-info iframe{ + flex: 1 100%; + margin-left: 70px; + width: 5px; + } + + } + + /* media querys for mobile phones and smaller *OK* */ + @media screen and (max-width: 420px) { + + .header { + padding: 20px 5px; + background-position: 100% !important; + margin-right: 5px !important; + } + + .hero { + margin-right: -14PX !important; + } + + .left-panel { + margin-top: 6rem; + margin-right: 0px !important; + right: 0; + } + + .right-panel { + margin-right: -2px !important; + right: 0; + } + + + .hero-form button { + width: 100%; + } + + .section-title { + width: 95%; + } + + .intro p { + width: 100%; + } + + .page { + flex: 0 100%; + } + + .contact-info { + text-align: center; + } + + .contact-info > * { + flex: 0 100%; + } + + .contact-form { + order: 3; + } + + .page { + margin: 5px; + margin-top: 25px; + } + + .contact-info iframe{ + /* flex: 1 100%; + margin-left: 70px; + width: 5px; */ + display: contents; + } + + } + + /* media querys for mobile phones and smaller *OK* */ + @media screen and (max-width: 375px) { + + .hero-form button { + width: 100%; + } + + .section-title { + width: 95%; + } + + .intro p { + width: 100%; + } + + .page { + flex: 0 100%; + } + + .contact-info { + text-align: center; + } + + .contact-info > * { + flex: 0 100%; + } + + .contact-form { + order: 3; + } + } + + + + \ No newline at end of file