Skip to content

Commit

Permalink
feat: added issue report link
Browse files Browse the repository at this point in the history
  • Loading branch information
khoa-l committed Sep 14, 2023
1 parent 0497579 commit d1ab20a
Show file tree
Hide file tree
Showing 5 changed files with 338 additions and 6 deletions.
257 changes: 257 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,257 @@
:root {
/* variables */
--cg-black: rgb(30, 32, 32);
--cg-blue: rgb(36, 94, 255);
--cg-grey: rgb(243, 243, 243);
--cg-white: rgb(255, 255, 255);
}

html {
height: 100%;
}

body {
background: var(--cg-grey);
position: relative;
min-height: 100vh;
padding: 0;
margin: 0;
font-family: monospace;
}

/* CSS for navigation */

.navbar {
position: -webkit-sticky;
position: sticky;
top: 0;
width: 100%;
height: 7%;
z-index: 10;

display: flex;
justify-content: space-between;
align-items: center;
text-align: center;

background-color: var(--cg-black);
color: var(--cg-white);
padding: 0px 0px;

/* border: solid red; */
}

.nav-list {
/* border: solid blue; */
display: flex;
flex-direction: row;
position: relative;
right: 30px;
list-style: none;
}

.navbar a {
color: var(--cg-white);
font-weight: bold;
margin: 0 12px;
text-decoration: none;
letter-spacing: 2px;

font-family: monospace;
}

.navbar a:hover {
color: var(--cg-blue);
text-decoration: underline;
}

.navbar a:active {
color: var(--cg-blue);
}

.logo a {
font-family: Georgia;
}

.logo a:hover {
text-decoration: None;
}

main {
padding: 0 20px 40px 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.page-title {
display: flex;
justify-content: center;
font-size: 40px;
font-family: Georgia;
}

/* CSS for portfolio grid */

.project {
display: flex;
flex-direction: row;
max-width: 100%;
margin: 1em 0 2em 0;

/* border: 2px solid blue; */
}

.item-link {
width: 70%;

/* border: 2px solid red; */
}

.project-image {
object-fit: cover;
width: 100%;
height: 500px;
flex-basis: 50px;
flex-grow: 2;

/* border: 2px solid black; */
}

.project-details {
display: flex;
background-color: var(--cg-white);
width: 30%;
height: 500px;
flex-shrink: 1;
padding: 0 20px;
margin: 0px;
line-height: 1.5;
overflow: scroll;

flex-direction: column;
text-align: center;
justify-content: center;

/* border: 2px solid green; */
}

.project-details a {
color: var(--cg-black);
text-decoration: none;
font-weight: bold;
letter-spacing: 1px;
}

.project-details a:hover {
color: var(--cg-blue);
text-decoration: underline;
}

.project-details {
font-weight: lighter;
}

.project-name {
font-weight: bold;
font-size: 20px;
}

/* CSS for home page */

.about {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
background-color: #f8f8f8;
border: 1px solid #ccc;
border-radius: 5px;
/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.about-image img {
max-width: 300px;
border-radius: 3px;
/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
}

.about-text {
flex: 1;
margin-left: 20px;
}

.about-text h2 {
font-size: 24px;
margin-bottom: 10px;
}

.about-text p {
font-size: 16px;
line-height: 1.5;
}

/* CSS for resume page */

.button {
background-color: var(--cg-black);
border: none;
color: var(--cg-white);

font-family: monospace;

padding: 5px 7px;
text-align: center;

border-radius: 2px;
}

.button:hover {
background-color: var(--cg-blue);
}

.resume h2 {
font-family: Georgia;
}

/* CSS for contact form */

label {
display: block;
margin-bottom: 8px;
font-family: Georgia;
font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
resize: none;
}

/* Add some spacing to the form */
form {
width: 500px;
margin: 0 auto;
}

/* CSS for footer */

.footer {
display: flex;
justify-content: center;
align-items: center;
background-color: var(--cg-black);
color: var(--cg-white);
position: absolute;
bottom: 0;
width: 100%;
height: 2.5rem;
}
67 changes: 67 additions & 0 deletions css/styles.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
html {
height: 100%;
}

body {
background-color: white;
position: relative;
min-height: 100vh;
padding: 0;
margin: 0;
}

main {
padding: 0 20px 40px 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.navbar {
position: -webkit-sticky;
position: sticky;
top: 0;
width: 100%;
height: 7%;
z-index: 10;

display: flex;
justify-content: space-between;
align-items: center;
text-align: center;

background-color: black;
color: white;
padding: 0px 0px;

/* border: solid red; */
}

.nav-list {
display: flex;
flex-direction: row;
position: relative;
right: 30px;
list-style: none;
}

.navbar a {
color: white;
font-weight: bold;
margin: 0 12px;
text-decoration: none;
letter-spacing: 2px;
}

.footer {
display: flex;
justify-content: center;
align-items: center;
background-color: black;
color: white;
position: absolute;
bottom: 0;
width: 100%;
height: 2.5rem;
}
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ <h1>Hack4Impact Starter Pack</h1>
<li><a href="https://docs.google.com/spreadsheets/d/1CnYXGcngyuptP6q5Golt3a9J0d7Z4Y352XyIY2essWo/edit?usp=sharing" target="_blank" rel="noopener">Schedule an Interview</a></li>
<li><a href="https://github.com/hack4impact-calpoly/starter-pack/discussions" target="_blank"
rel="noopener">Starter Pack Discussions</a></li>
<!-- <li><a href="https://github.com/edgecase/git_immersion/issues" target="_blank" rel="noopener">Report an Issue</a> -->
<!-- </li> -->
<li><a href="mailto:[email protected]" target="_blank" rel="noopener">Report an Issue</a>
</li>
</ul>

<a class="start" href="lab_01.html">Begin Starter Pack</a>
Expand Down
12 changes: 9 additions & 3 deletions lab_029.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,15 @@ <h2>Make It Your Own</h2>
<p>We'll provide you with what our stylesheet is as well as a stylesheet of just the necessary requirements.
If you just follow our stylings and keep everything the same, you'll get a very specific looking website so
we encourage you to take only the necessary stylesheet and make it your own!</p>
<p class="note"><strong>Note:</strong> If you need any help or if there is some style you are trying to achieve, but
are unable to then we <em>strongly</em> suggest you use GitHub Discussions to ask questions. We are here to help you!</p>

<p class="note"><strong>Note:</strong> If you need any help or if there is some style you are trying to achieve,
but are unable to then we <em>strongly</em> suggest you use GitHub Discussions to ask questions. We are here to
help you!</p>
<h2>Style Sheets</h2>
<p>You are welcome to download both and try them out! Just put them in your directory and change the reference in
your <code class="language-html">&lt;head&gt;</code> to the correct file.</p>
<a href="css/styles.css" download>Download full style sheet</a>
<br>
<a href="css/styles.min.css" download>Download only the necessary styles</a>


</div>
Expand Down
4 changes: 3 additions & 1 deletion lab_033.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ <h2>The More Specific, the Better</h2>
is decided by <strong>specificity</strong>. You are unlikely to have a situation where you select the same element twice,
however conflicts with <em>nested elements</em> are more likely to occur:</p>
<pre data-range="9, 15" data-src="prism/css/3301.css"></pre>

<p>Since the rule for the <code class="language-html">&lt;p&gt;</code> blue text color comes last, it may seem as though
that will be the rule that is applied, <em>however</em> that is not the case. The <code>div p</code> rule is more
<strong>specific</strong> so it is given <strong>more importance</strong>.</p>



Expand Down

0 comments on commit d1ab20a

Please sign in to comment.