Redesigned banner for non-index.

Changed button highlighting.
This commit is contained in:
RobertHeaton
2023-09-07 16:54:11 +01:00
parent ec2f5b2ce3
commit 9e09877705
5 changed files with 209 additions and 259 deletions

304
4.css
View File

@ -19,6 +19,8 @@ p.project{
margin-left: 0px;
margin-top: 5px;
}
/*classic highlight with website theme*/
a.pan{
color: #0077ff;
text-decoration: underline;
@ -27,37 +29,64 @@ a.pan{
a.pan:hover{
color:#000000;
}
/*pointer only, no other changes*/
a.pointerOnly, .pointerOnly:hover,.pointerOnly:focus{
color: inherit;
text-decoration: none;
cursor: pointer;
}
/*For the top banner menu buttons*/
a.btn{
transition: 0.1s all linear;
text-decoration: none;
cursor: pointer;
margin: 15px;
border: 3px solid #ffffff;
background-color: #ffffff;
border: 2px solid #ffffff;
color:#ffffff;
border-radius: 15px;
scroll-behavior: smooth;
}
a.btn:hover, .btn:focus {
border: 3px solid #0077ff;
background-color: #0077ff;
/*box-shadow: 0px 0px 0px 2px #ffffff;*/
/*box-shadow: 6px 0px #0077ff;*/
border: 2px solid #0077ff;
color:#0077ff;
border-radius: 15px;
text-decoration: none;
}
/*For the top banner menu buttons*/
a.smallMenuBtn{
transition: 0.1s all linear;
text-decoration: none;
margin: 15px 30px 0px 0px;
background-color: #f0f0f0;
color:#ffffff;
border-radius: 15px;
scroll-behavior: smooth;
}
a.smallMenuBtn:hover, .smallMenuBtn:focus {
box-shadow: 0px 0px 0px 2px #0077ff;
background-color: #ffffff;
color:#0077ff;
border-radius: 15px;
text-decoration: none;
}
h3.arrow{
color:inherit;
}
h3.hidden{
color:#ffffff;
}
.spacer{
margin-top:10px;
height:7px;
}
.full_page{
/*width:50vw;*/
width:90vw;
max-width: 986px;
border-radius:5px;
margin:auto;
}
#circuit{
width:100%;
height:100vh;
@ -66,16 +95,35 @@ a.btn:hover, .btn:focus {
background-repeat:no-repeat;
background-size:cover;
}
#aboutMe{
background-color:#ffffff;
background-image:url(resources/imgs/collageBanner.png);
background-position: center;
#circuitSmallBanner{
width:100%;
height:70px;
padding-top: 10px;
background-color: #333;
background-image:url(resources/imgs/circuitBanner.jpg);
background-repeat:no-repeat;
background-size:cover;
}
#bttn{
width:90vw;
max-width: 986px;
height: 200px;
padding-top: 30vh;
margin: auto;
margin-bottom:15px;
border-radius:5px;
}
#pageTitle{
width: 90vw;
margin: auto;
display:flex;
flex-wrap: nowrap;
max-width: 986px;
}
#aboutMe{
background-color:#ffffff;
padding-top:20px;
padding-bottom:20px;
margin-top: 10px;
margin-bottom: 10px;
}
#projects{
background-color: #ffffff;
@ -84,15 +132,8 @@ a.btn:hover, .btn:focus {
margin-top: 0px;
margin-bottom: 0px;
}
#qualifications{
padding-top:20px;
padding-bottom:20px;
background-color: #333;
background-image:url(resources/imgs/codeBanner.jpg);
background-repeat:no-repeat;
background-size:cover;
}
#memoriam{
margin-top: 20px;
padding-top:20px;
padding-bottom:20px;
background-color: #333;
@ -100,11 +141,6 @@ a.btn:hover, .btn:focus {
background-repeat:no-repeat;
background-size:cover;
}
#pastWork{
background-color:#ffffff;
padding-top:20px;
padding-bottom:20px;
}
#contactInfo{
padding-top:20px;
padding-bottom:20px;
@ -113,47 +149,19 @@ a.btn:hover, .btn:focus {
background-repeat:no-repeat;
background-size:cover;
}
div.pageText{
width:90vw;
max-width: 986px;
padding-top:20px;
background-color:#d1d1d1;
border-color:#ffffff;
border:3px solid;
/*box-shadow:0px 0px 20px 3px #000000;*/
border-radius:5px;
margin:auto;
margin-top: 40px;
}
div.pageBanner{
width:90vw;
max-width: 986px;
background-color:#0077ff;
border-color:#0077ff;
border:3px solid;
/*box-shadow:0px 0px 20px 3px #000000;*/
border-radius:5px;
margin:auto;
}
div.terminator{
width:90vw;
max-width: 986px;
padding-top:1px;
background-color:#d1d1d1;
background-color:#f0f0f0;
border-color:#ffffff;
border:3px solid;
/*box-shadow:0px 0px 20px 3px #000000;*/
border-radius:5px;
margin:auto;
}
div.wrapper {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: stretch;
align-content: space-between;
}
div.wrapper2{
div.titleMenuWrapper{
width:90vw;
display: flex;
flex-direction: row;
@ -163,65 +171,36 @@ div.wrapper2{
margin:auto;
justify-content:center;
}
div.smallMenuWrapper{
width:90vw;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: space-around;
max-width: 986px;
margin: auto;
justify-content: left;
}
div.landing-bttn{
border: 2px solid #ffffff;
display: flex;
flex-direction: row;
flex-wrap: wrap;
border-radius: 15px;
padding: 5px 20px;
color: #0077ff;
margin: 0px;
max-width: 200px;
background-color:#ffffff;
font-weight:500;
font-size:35px;
text-align: left;
cursor: pointer;
}
div.main{
width:90vw;
max-width: 986px;
padding-top:1px;
background-color:#d1d1d1;
border: 3px solid #000000;
border-radius:5px;
margin:auto;
}
h6 span{
cursor:pointer;
width:calc(23% - 23px);
line-height: 40px;
font-size:30px;
padding-top: 2px;
padding-left: 2px;
padding-right: 2px;
padding-bottom:2px;
border-bottom:3px solid #0077ff;
transition: border-color .2s ease-out,border-color .2s ease-out;
margin-left: 15px;
margin-right: 15px;
}
h6 span.active,h6 span:hover, h6 span:focus{
padding-bottom:2px;
border-bottom:3px solid #000000;
}
h6{
padding-top:15px;
padding-bottom: 15px;
width:90%;
margin:auto;
text-align:center;
border-radius:5px;
background-color:#0077ff;
color:#fff;
display:flex;
justify-content: space-around;
flex-wrap: wrap;
}
div{
display:block;
}
div.spacing{
border-top: 2px solid #000000;
padding-top: 15px;
@ -229,41 +208,9 @@ div.spacing{
margin-top:30px;
width:90%;
}
div.pages{
padding-top:1px;
display:none;
border-color:#ffffff;
background-color:#ffffff;
margin:auto;
}
div.shown{
display:block;
}
div.subSpace{
border-top: 2px solid #4c4c4c;
padding-top: 30px;
margin:auto;
margin-top:30px;
width:90%;
padding-left: 20px;
padding-right: 20px;
}
.bottom_banner{
width:860px;
height:248px;
margin-top:5px;
margin-left:5px;
margin-right:5px;
background:#000000;
border-color:#000000;
border:2px solid;
border-radius:5px;
float:left;
}
h1{
color:#000000;
border-radius: 5px;
background-color:#ffffff;
margin-left:10px;
@ -272,11 +219,10 @@ h1{
font-weight:700;
font-size:130px;
text-align: center;
}
h2{
color:#333;
background-color:#ffffff;
border-radius:5px;
margin-left:10px;
@ -285,8 +231,8 @@ h2{
font-weight:700;
font-size:40px;
text-align: center;
}
h3{
color: #0077ff;
margin-top:0;
@ -295,6 +241,7 @@ h3{
font-size:35px;
text-align: center;
}
h3.project{
color: #0077ff;
margin-top:0;
@ -305,6 +252,24 @@ h3.project{
margin-right: 10px;
}
h4{
color:#000000;
margin: 10px 0px 0px 0px;
padding-left: 10px;
padding-right: 10px;
font-weight:700;
font-size:35px;
text-align: left;
background-color: #ffffff;
border-radius:5px;
}
b.title2{
font-weight:700;
color:#0077ff;
font-size:35px;
}
/*not used*/
hr.intro{
background-color:#000000;
position:relative;
@ -317,6 +282,7 @@ hr.intro{
margin-top:30px;
margin-bottom:30px;
}
.introductary_text{
margin-left:10px;
margin-right:10px;
@ -324,23 +290,21 @@ hr.intro{
margin-top: 10px;
color:#000000;
}
#bttn{
width:90vw;
max-width: 986px;
height: 200px;
padding-top: 30vh;
margin: auto;
margin-bottom:15px;
border-radius:5px;
}
div.main_info_scroll{
.highlight{
cursor:pointer;
transition: 0.1s all linear;
}
.highlight:hover, .highlight:focus{
box-shadow: 0px 0px 2px 2px #0077ff;
}
div.pageText{
width:90vw;
max-width: 986px;
padding-top:1px;
background:#f0f0f0;
/* border-color:#333333; */
/* border:3px solid #000000; */
box-shadow: 0px 0px 1px 1px #e4e4e4;
border-radius:5px;
display: flex;
@ -353,40 +317,14 @@ div.main_info_scroll{
margin-right:auto;
}
a.banner, .banner:focus, .banner:visited{
text-decoration: none;
cursor: pointer;
scroll-behavior: smooth;
color: inherit;
max-width: 986px;
}
a.project, .project:focus, .project:visited{
text-decoration: none;
cursor: pointer;
scroll-behavior: smooth;
color: inherit;
max-width: 986px;
max-width: 970px;
}
div.main_info_scroll:hover, .main_info_scroll:focus{
width:90vw;
max-width: 986px;
padding-top:1px;
background:#f0f0f0;
/* border-color:#333333; */
/* border:3px solid #000000; */
box-shadow: 0px 0px 2px 2px #0077ff;
border-radius:5px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: space-between;
margin-top: 10px;
margin-bottom: 10px;
margin-left:auto;
margin-right:auto;
}
div.projectImage{
margin: 10px;
width:90vw;

View File

@ -15,32 +15,34 @@
</head>
<body>
<div id="circuit">
<div id="bttn">
<h1>Robert <b class = "title">Heaton</b></h1>
<h2>Mechatronics Engineer</h2>
<div id="circuitSmallBanner">
<div id="pageTitle">
<a class="pointerOnly" href="index.html">
<h4>Robert <b class = "title2">Heaton</b></h4>
</a>
</div>
<div class="wrapper2">
<a class="btn" href="index.html#aboutMe">
</div>
<div class="smallMenuWrapper">
<a class="smallMenuBtn" href="about.html#aboutMe">
<div class="landing-bttn">
<h3>About</h3>
</div>
</a>
<a class="btn" href="projects.html#projects">
<a class="smallMenuBtn" href="projects.html#projects">
<div class="landing-bttn">
<h3>Projects</h3>
</div>
</a>
<a class="btn" href="extra.html#memoriam">
<a class="smallMenuBtn" href="extra.html#memoriam">
<div class="landing-bttn">
<h3>Extra</h3>
</div>
</a>
</div>
</div>
<div id="aboutMe">
<div class="main">
<div class="pageText">
<div class="spacing">
<h3>About Me</h3>
<div class="introductary_text">

View File

@ -15,32 +15,34 @@
</head>
<body>
<div id="circuit">
<div id="bttn">
<h1>Robert <b class = "title">Heaton</b></h1>
<h2>Mechatronics Engineer</h2>
<div id="circuitSmallBanner">
<div id="pageTitle">
<a class="pointerOnly" href="index.html">
<h4>Robert <b class = "title2">Heaton</b></h4>
</a>
</div>
<div class="wrapper2">
<a class="btn" href="about.html#aboutMe">
</div>
<div class="smallMenuWrapper">
<a class="smallMenuBtn" href="about.html#aboutMe">
<div class="landing-bttn">
<h3>About</h3>
</div>
</a>
<a class="btn" href="projects.html#projects">
<a class="smallMenuBtn" href="projects.html#projects">
<div class="landing-bttn">
<h3>Projects</h3>
</div>
</a>
<a class="btn" href="extra.html#memoriam">
<a class="smallMenuBtn" href="extra.html#memoriam">
<div class="landing-bttn">
<h3>Extra</h3>
</div>
</a>
</div>
</div>
<div id="memoriam">
<div class="main_info_scroll">
<div class="pageText">
<div class="spacing">
<h3>In Memoriam</h3>
<p class="main_info_scroll">

View File

@ -21,20 +21,26 @@
<h1>Robert <b class = "title">Heaton</b></h1>
<h2>Mechatronics Engineer</h2>
</div>
<div class="wrapper2">
<div class="titleMenuWrapper">
<a class="btn" href="about.html#aboutMe">
<div class="landing-bttn">
<h3 class="arrow">><h3>
<h3>About</h3>
<h3 class="hidden"><<h3></h3>
</div>
</a>
<a class="btn" href="projects.html#projects">
<div class="landing-bttn">
<h3 class="arrow">><h3>
<h3>Projects</h3>
<h3 class="hidden"><<h3></h3>
</div>
</a>
<a class="btn" href="extra.html#memoriam">
<div class="landing-bttn">
<h3 class="arrow">><h3>
<h3>Extra</h3>
<h3 class="hidden"><<h3></h3>
</div>
</a>
</div>

View File

@ -15,32 +15,34 @@
</head>
<body>
<div id="circuit">
<div id="bttn">
<h1>Robert <b class = "title">Heaton</b></h1>
<h2>Mechatronics Engineer</h2>
<div id="circuitSmallBanner">
<div id="pageTitle">
<a class="pointerOnly" href="index.html">
<h4>Robert <b class = "title2">Heaton</b></h4>
</a>
</div>
<div class="wrapper2">
<a class="btn" href="about.html#aboutMe">
</div>
<div class="smallMenuWrapper">
<a class="smallMenuBtn" href="about.html#aboutMe">
<div class="landing-bttn">
<h3>About</h3>
</div>
</a>
<a class="btn" href="projects.html#projects">
<a class="smallMenuBtn" href="projects.html#projects">
<div class="landing-bttn">
<h3>Projects</h3>
</div>
</a>
<a class="btn" href="extra.html#memoriam">
<a class="smallMenuBtn" href="extra.html#memoriam">
<div class="landing-bttn">
<h3>Extra</h3>
</div>
</a>
</div>
</div>
<div id="projects">
<div class="main_info_scroll">
<div class="pageText highlight">
<a class="project" href="project1.html">
<div class="projectImage">
<img src="resources/imgs/pcb.JPG" alt="PCB with infrared sensor array for line-following" title="PCB with infrared sensor array for line-following"/>
@ -55,7 +57,7 @@
</a>
</div>
<div class="main_info_scroll">
<div class="pageText highlight">
<a class="project" href="project2.html">
<div class="projectImage">
<img src="resources/imgs/photobot.JPG" alt="Autonomous arrow-following buggy" title="Autonomous arrow-following buggy"/>
@ -70,8 +72,8 @@
</a>
</div>
<div class="main_info_scroll">
<a class="project" href="project1.html">
<div class="pageText highlight">
<a class="project" href="project3.html">
<div class="projectImage">
<img src="resources/imgs/photo_2019-11-01_19-19-59.jpg" alt="EEPROM test harness circuitry" title="EEPROM test harness circuitry"/>
<h3 class="project">Project 3</h3>