Added cards and mobile CSS
This commit is contained in:
parent
d7c7562b08
commit
f51d3f01d1
@ -1,9 +1,12 @@
|
|||||||
:root {
|
:root {
|
||||||
--color-pallete-red: #a80000;
|
--color-pallete-red: #a80000;
|
||||||
--color-pallete-dark-red: #731010;
|
--color-pallete-dark-red: #731010;
|
||||||
--color-pallete-dark-grey: #1f1f1f;
|
--color-pallete-dark-grey: #101010;
|
||||||
--color-pallete-grey: #707070;
|
--color-pallete-grey: #707070;
|
||||||
|
--color-pallete-darkish-grey: #303030;
|
||||||
--color-pallete-light-grey: #d4d4d4;
|
--color-pallete-light-grey: #d4d4d4;
|
||||||
|
|
||||||
|
--mobile-style-width: 1000px;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
@ -11,7 +14,7 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: var(--color-pallete-light-grey);
|
color: var(--color-pallete-light-grey);
|
||||||
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
@ -20,9 +23,17 @@
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
font-style: italic;
|
||||||
|
color: #a80000;
|
||||||
}
|
}
|
||||||
a:visited {
|
a:visited {
|
||||||
color: var(--color-pallete-light-grey);
|
color: #a80000;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover::before{
|
||||||
|
content: "\\ ";
|
||||||
|
} a:hover::after{
|
||||||
|
content: " /";
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@ -35,7 +46,7 @@ body {
|
|||||||
|
|
||||||
#header {
|
#header {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 80vh;
|
height: 70vh;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: black;
|
background-color: black;
|
||||||
@ -47,6 +58,7 @@ body {
|
|||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
|
height: 20vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
#fader {
|
#fader {
|
||||||
@ -56,20 +68,29 @@ body {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#fader-reverse {
|
||||||
|
height: 150px;
|
||||||
|
background-color: var(--color-pallete-red);
|
||||||
|
background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 100%);
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
/* CONTENT */
|
/* CONTENT */
|
||||||
|
|
||||||
.content-title {
|
.content-title {
|
||||||
padding: 20px 0 20px 0;
|
padding: 30px 0 30px 0;
|
||||||
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-break {
|
.content-break {
|
||||||
width: 50vw;
|
width: 70vw;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
border-color: var(--color-pallete-red);
|
border-color: var(--color-pallete-red);
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 650px)
|
@media (max-width: 1000px)
|
||||||
{
|
{
|
||||||
.content-break {
|
.content-break {
|
||||||
width: 90vw;
|
width: 90vw;
|
||||||
@ -80,7 +101,6 @@ body {
|
|||||||
|
|
||||||
#aboutme {
|
#aboutme {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 20px 0 20px 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.aboutme-box {
|
.aboutme-box {
|
||||||
@ -92,13 +112,19 @@ body {
|
|||||||
.aboutme-box img {
|
.aboutme-box img {
|
||||||
height: auto;
|
height: auto;
|
||||||
width: auto;
|
width: auto;
|
||||||
border-radius: 15%;
|
/* border-radius: 15%; */
|
||||||
|
border-top-right-radius: 10%;
|
||||||
|
border-bottom-right-radius: 10%;
|
||||||
|
border-top-left-radius: 1%;
|
||||||
|
border-bottom-left-radius: 1%;
|
||||||
border: var(--color-pallete-dark-red) solid 2px;
|
border: var(--color-pallete-dark-red) solid 2px;
|
||||||
} .aboutme-box p {
|
} .aboutme-box p {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
font-size: larger;
|
||||||
} .aboutme-box h2 {
|
} .aboutme-box h2 {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
font-size: xx-large;
|
||||||
}
|
}
|
||||||
.aboutme-box-left {
|
.aboutme-box-left {
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
@ -113,7 +139,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*Mobile*/
|
/*Mobile*/
|
||||||
@media (max-width: 650px)
|
@media (max-width: 1000px)
|
||||||
{
|
{
|
||||||
.aboutme-box {
|
.aboutme-box {
|
||||||
display: block;
|
display: block;
|
||||||
@ -122,4 +148,50 @@ body {
|
|||||||
.aboutme-box-left {
|
.aboutme-box-left {
|
||||||
margin: 0 10px 0 10px;
|
margin: 0 10px 0 10px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* PROJECTS SECTION */
|
||||||
|
#projects {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projects-box {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin: auto;
|
||||||
|
max-width: 70%;
|
||||||
|
|
||||||
|
} .projects-box .card {
|
||||||
|
margin: auto;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1000px)
|
||||||
|
{
|
||||||
|
.projects-box {
|
||||||
|
display: block;
|
||||||
|
margin: 0 30px 0 30px;
|
||||||
|
} .projects-box .card {
|
||||||
|
margin: auto;
|
||||||
|
padding: 20px 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Cards */
|
||||||
|
.card {
|
||||||
|
width: 350px;
|
||||||
|
height: 550px;
|
||||||
|
} .card .upper {
|
||||||
|
width: auto;
|
||||||
|
height: 60%;
|
||||||
|
background-color: var(--color-pallete-grey);
|
||||||
|
border-bottom: var(--color-pallete-red) solid 4px;
|
||||||
|
border-top-right-radius: 10%;
|
||||||
|
border-top-left-radius: 1%;
|
||||||
|
} .card .lower {
|
||||||
|
background-color: var(--color-pallete-darkish-grey);
|
||||||
|
height: 40%;
|
||||||
|
width: auto;
|
||||||
|
border-bottom-right-radius: 10%;
|
||||||
|
border-bottom-left-radius: 1%;
|
||||||
}
|
}
|
30
index.html
30
index.html
@ -36,7 +36,7 @@
|
|||||||
<div id="fader"></div>
|
<div id="fader"></div>
|
||||||
|
|
||||||
<h1 class="content-title">This Is HEX Studios</h1>
|
<h1 class="content-title">This Is HEX Studios</h1>
|
||||||
<hr class="content-break"></div>
|
<hr class="content-break">
|
||||||
|
|
||||||
<div id="aboutme">
|
<div id="aboutme">
|
||||||
<div class="aboutme-box">
|
<div class="aboutme-box">
|
||||||
@ -45,18 +45,38 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="aboutme-box-right">
|
<div class="aboutme-box-right">
|
||||||
<h2>About Me</h2>
|
<h2>About Me</h2>
|
||||||
<p>Hi! I'm Chris Bell. I am a programmer, musician, and nerd. My passion has been Game Development for over 5 years, using Unreal Engine, Unity, and Godot. I am currently a Jr. Unity Developer, but have knowledge in C/C++, C#, Java, HTML/CSS, and a few other languages.</p>
|
<p>Hi! I'm Chris Bell. I am a programmer, musician, and nerd. My passion has been Game Development for over 5 years, using Unreal Engine, Unity, and Godot. I am currently a Jr. Unity Developer, but have knowledge in C/C++, C#, Java, HTML/CSS, and a few other languages. Most of my projects can be found on either my <a href="https://github.com/spudnut2000">personal GitHub</a> or my <a href="https://github.com/HexStudios">Hex Studios GitHub</a> pages.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h1 class="content-title">PROJECTS</h1>
|
||||||
|
<hr class="content-break"></div>
|
||||||
|
|
||||||
|
<div id="projects">
|
||||||
|
<div class="projects-box">
|
||||||
|
<div class="card"><div class="upper"></div><div class="lower"></div></div>
|
||||||
|
<div class="card"><div class="upper"></div><div class="lower"></div></div>
|
||||||
|
<div class="card"><div class="upper"></div><div class="lower"></div></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="fader-reverse"></div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
|
<p>© Copyright 2022 HEX Studios™</p>
|
||||||
|
<br>
|
||||||
|
<div class="footer-nav">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#about">About</a></li>
|
||||||
|
<li><a href="#projects">Projects</a></li>
|
||||||
|
<li><a href="https://github.com/HexStudios/hexstudios-co">Page Source</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user