Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
uploaded file - october 10 '23
  • Loading branch information
lha308 authored Oct 10, 2023
1 parent d0223d4 commit cdb8b27
Show file tree
Hide file tree
Showing 36 changed files with 1,873 additions and 0 deletions.
150 changes: 150 additions & 0 deletions 04-portfolio/04_base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}

body {
line-height: 1;
}

ol,
ul {
list-style: none;
}

blockquote,
q {
quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

img,
iframe {
vertical-align: bottom;
max-width: 100%;
}

input,
textarea,
select {
font: inherit;
}

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
153 changes: 153 additions & 0 deletions 04-portfolio/04_contact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
.contact-image {
background-image: url("assets/images/design_6.png");
/* lower center center among x axis and bottom edge */
background-position: center bottom;
filter: saturate(0.7) sepia(0.2) contrast(1) brightness(1);
}

/* most of the time you will want to override the default input styles */
input {
border: none;
outline: none;
line-height: 1.5;
font-family: var(--boundeins-strange-font);
font-size: 16px;
height: 48px;
padding: 0 12px;
width: 100%;
box-sizing: border-box;
}

input::placeholder {
color: var(--color-2);
}

/* override the default class */
.bg-orange {
background-color: var(--background-color);
}

.contact {
/* using css grid to stack the child boxes on top of each other */
display: grid;
place-items: center;
/* chop off edges of the box when the front element slides out */
overflow: hidden;
}

/* so our boxes stack on top of each other */
.front,
.back {
grid-area: 1/1;
}

/* add a transition to the transform property */
.front {
transition: transform 0.5s ease-in;
}

/* we toggle this class using javascript */
.front.slide-up {
transform: translateY(-100%);
}

/* we show a pointer cursor so the users know they can click on */
/* group together as css works from top to bottom */
/* what comes last gets applied */
button {
/* cursor: pointer; */
outline: none;
}

.button {
display: inline-block;
background-color: var(--color-2);
color: var(--background-color);
text-transform: lowercase;
letter-spacing: 0.05em;
border: none;
padding: 24px 64px;
font-weight: 500;
border-radius: 16px;
}

.button-small {
font-size: 14px;
padding: 12px 20px;
}

.button-outline {
background-color: transparent;
border: solid 2px var(--color-2);
color: var(--text-color);
}

/* here we lock the form when it's submitting */
.form-fields {
transition: opacity 0.5s ease;
}

.processing .form-fields {
opacity: 0.5;
/* disabled interaction with the form when its submitting */
pointer-events: none;
}

/* taken from http://tobiasahlin.com/spinkit/*/
.spinner {
width: 40px;
height: 40px;
background-color: var(--color-2);
opacity: 0;
pointer-events: none;

/* margin: 100px auto; */
/* --webkit-animation: sk-rotateplane 1.2s infinite ease-in-out; */
animation: sk-rotateplane 1.2s infinite ease-in-out;

position: absolute;
top: 50%;
left: 50%;
margin-left: -20px;
margin-top: -20px;
transition: opacity 0.5s ease;
z-index: 10;
box-shadow: 0 0 11px 0px rgba(222, 184, 135, 0.5);
}

/* show the spinner when the form is processing */
.processing .spinner {
opacity: 1;

}

/* @--webkit-keyframes sk-rotateplane {
0% {
--webkit-transform: perspective(120px)
}
50% {
--webkit-transform: perspective(120px) rotateY(180deg)
}
100% {
--webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
}
} */

@keyframes sk-rotateplane {
0% {
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
--webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
}

50% {
transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
--webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
}

100% {
transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
--webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
}
}
48 changes: 48 additions & 0 deletions 04-portfolio/04_fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
@font-face {
font-family: "Bandeins Strange";
src: url("assets/fonts/bandeins-strange-variable.ttf") format("truetype");
}

@font-face {
font-family: "HK-Grotesk-Bold";
src: url("assets/fonts/HKGrotesk-Bold.woff2") format("woff2"),
url("assets/fonts/HKGrotesk-Bold.woff") format("woff"),
url("assets/fonts/HKGrotesk-Bold.eot") format("embedded-opentype");
font-weight: normal;
}


@font-face {
font-family: "HK-Grotesk-Medium";
src: url("assets/fonts/HKGrotesk-Medium.woff2") format("woff2"),
url("assets/fonts/HKGrotesk-Medium.woff") format("woff"),
url("assets/fonts/HKGrotesk-Medium.eot") format("embedded-opentype");
font-weight: normal;
}


@font-face {
font-family: "HK-Grotesk-Regular";
src: url("assets/fonts/HKGrotesk-Regular.woff2") format("woff2"),
url("assets/fonts/HKGrotesk-Regular.woff") format("woff"),
url("assets/fonts/HKGrotesk-Regular.eot") format("embedded-opentype");
font-weight: normal;
}

.regular {
font-family: 'HK-Grotesk-Regular', sans-serif;
}

.medium {
font-family: 'HK-Grotesk-Medium', sans-serif;
}

.bold {
font-family: 'Bandeins Strange', sans-serif;
}

html,
input {
/* this smooths our fonts nicely on higher density screens */
-webkit-font-smoothing: antialiased;
}
Loading

0 comments on commit cdb8b27

Please sign in to comment.