Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[김나연]Week2 #52

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/.DS_Store
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DS_Store는 mac에서 시스템이 폴더에 접근할 때 생기며, 해당 폴더에 대한 메타데이터를 저장하는 파일입니다. 즉 git에 올라갈 필요가 없어요! 추후 .gitignore 등을 배우실 수도 있을 것 같은데, gitignore에 등록해두면 git에 올라가지 않는 동작을 추가할 수 있습니다. https://www.toptal.com/developers/gitignore 나중에 참고해보세요!

Binary file not shown.
Binary file added assets/css/.DS_Store
Binary file not shown.
38 changes: 38 additions & 0 deletions assets/css/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/* font */

@import url("https://fonts.googleapis.com/css2?family=Acme&display=swap");

.acme-regular {
font-family: "Acme", sans-serif;
font-weight: 400;
font-style: normal;
}

/* color palette */

:root {
--primary: #6d6afe;
--red: #ff5b56;
--black: #111322;
--white: #ffffff;
--gray1: #3e3e43;
--gray2: #9fa6b2;
--gray3: #ccd5e3;
--gray4: #e7effb;
--gray5: #f0f6ff;
}

Comment on lines +3 to +24
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

나중에 파일이 커지면 컬러 및 폰트 파일은 추후 분리해보는 것도 좋을 것 같아요.

html {
font-size: 16px;
}

* {
margin: 0;
padding: 0;
font-family: "Pretendard", sans-serif;
}

a {
cursor: pointer;
text-decoration: none;
}
172 changes: 172 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
/* layout */

#wrap {
width: 100%;
}

#header {
position: sticky;
top: 0;
background-color: var(--gray5);
}

#main {
width: 100%;
height: inherit;
background-color: var(--gray5);
}

#section {
width: 100%;
}

#footer {
width: 100%;
background: var(--black);
color: var(--white);
box-sizing: border-box;
padding: 32px 104px 108px 104px;
}

.container {
width: 1200px;
height: inherit;
margin: 0 auto;
}

/* text gradient */

.gradient_main {
background: linear-gradient(270deg, #ff9f9f, var(--primary));
}

.gradient_link {
background: linear-gradient(270deg, #a4ceff, #fe8a8a);
}

.folder_gradient {
background: linear-gradient(270deg, #a4ceff, #ffd88b);
}

.share_gradient {
background: linear-gradient(270deg, #a4ceff, #528885);
}

.sns_gradient {
background: linear-gradient(270deg, #a4ceff, #76dbf0);
}

.gradient_txt {
background-clip: text;
color: transparent;
}

/* header */

.header_wrap {
max-width: 1920px;
padding: 20px 200px;
display: flex;
justify-content: space-between;
align-items: center;
background: var(--gray6);
}

.header_wrap .login {
box-sizing: border-box;
}

.header_wrap .login > a {
display: inline-block;
text-align: center;
color: var(--white);
background: linear-gradient(90.99deg, #6d6afe 0.12%, #6ae3fe 101.84%);
padding: 16px 40px;
border-radius: 8px;
}

/* main */

.main_wrap {
padding-top: 7rem;
text-align: center;
}

.main_wrap > h1 {
font-weight: 700;
font-size: 64px;
line-height: 80px;
}

.main_wrap .link_add {
display: inline-block;
background: linear-gradient(90.99deg, #6d6afe 0.12%, #6ae3fe 101.84%);
color: #fff;
padding: 16px 126px;
border-radius: 8px;
margin-top: 40px;
margin-bottom: 90px;
}

/* section */

.contents {
display: flex;
justify-content: center;
padding: 50px 0;
}

.contents .cont_item {
display: flex;
justify-content: space-between;
align-items: center;
width: 998px;
}

.contents .cont_item .cont_txt {
font-size: 48px;
font-weight: 700;
}

.contents .cont_item .cont_desc {
margin-top: 10px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
color: var(--gray1);
}

.contents .cont_item .cont_img > img {
width: 550px;
height: 450px;
}

.contents .cont_item .cont_order {
order: -1;
}

/* footer */

.footer_wrap {
display: grid;
grid-template-columns: repeat(3, 1fr);
align-items: center;
}

.footer_wrap .copyright {
color: #676767;
align-items: center;
}

.footer_wrap .privacy_box {
justify-self: center;
}
.footer_wrap .privacy_box a {
color: #cfcfcf;
}

.footer_wrap .sns_box {
justify-self: end;
display: flex;
gap: 16px;
}
141 changes: 141 additions & 0 deletions assets/css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
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;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
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 {
max-width: 100%;
border: 0px;
vertical-align: middle;
}
Loading
Loading