Skip to content
Merged
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/icons/icon_sprite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion default-template/css/style1.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

body {
font-family: 'Noto Sans KR', sans-serif;
font-family: 'pretendard', sans-serif;
line-height: 1.6;
color: #333;
background-color: #ffffff;
Expand Down
11 changes: 4 additions & 7 deletions default-template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,18 @@
<link rel="stylesheet" href="./css/style4.css">
<link rel="stylesheet" href="./css/style5.css">

<!-- Font Loading -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<style>
@font-face {
font-family: 'Noto Sans KR';
font-family: 'pretendard';
font-style: normal;
font-weight: 400;
src: url('./fonts/NotoSansKR-Regular.woff2') format('woff2');
src: url('../assets/fonts/pretendard/Pretendard-Black.woff2') format('woff2');
}
@font-face {
font-family: 'Noto Sans KR';
font-family: 'pretendard';
font-style: normal;
font-weight: 700;
src: url('./fonts/NotoSansKR-Bold.woff2') format('woff2');
src: url('../assets/fonts/pretendard/Pretendard-Bold.woff2') format('woff2');
}
</style>
</head>
Expand Down
28 changes: 28 additions & 0 deletions optimization-http1/css/icon.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.icon-sprite {
width: 16px;
height: 16px;
background-image: url('../../assets/icons/icon_sprite.png');
background-repeat: no-repeat;
display: inline-block;
}
.icon-1 { background-position: 0px 0; }
.icon-2 { background-position: -16px 0; }
.icon-3 { background-position: -32px 0; }
.icon-4 { background-position: -48px 0; }
.icon-5 { background-position: -64px 0; }
.icon-6 { background-position: -80px 0; }
.icon-7 { background-position: -96px 0; }
.icon-8 { background-position: -112px 0; }
.icon-9 { background-position: -128px 0; }
.icon-10 { background-position: -144px 0; }
.icon-11 { background-position: -160px 0; }
.icon-12 { background-position: -176px 0; }
.icon-13 { background-position: -192px 0; }
.icon-14 { background-position: -208px 0; }
.icon-15 { background-position: -224px 0; }
.icon-16 { background-position: -240px 0; }
.icon-17 { background-position: -256px 0; }
.icon-18 { background-position: -272px 0; }
.icon-19 { background-position: -288px 0; }
.icon-20 { background-position: -304px 0; }
.icon-21 { background-position: -320px 0; }
49 changes: 49 additions & 0 deletions optimization-http1/css/style1.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* style1.css - Base styles and typography */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'pretendard', sans-serif;
line-height: 1.6;
color: #333;
background-color: #ffffff;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.section {
padding: 80px 0;
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}

.section.visible {
opacity: 1;
transform: translateY(0);
}

.section-title {
font-size: 2.5rem;
font-weight: 700;
color: #2563eb;
margin-bottom: 20px;
text-align: center;
}

.section-description {
font-size: 1.1rem;
color: #64748b;
margin-bottom: 30px;
text-align: center;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
69 changes: 69 additions & 0 deletions optimization-http1/css/style2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/* style2.css - Header and navigation styles */
.header {
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
max-width: 1200px;
margin: 0 auto;
}

.nav-brand {
font-size: 1.8rem;
font-weight: 700;
color: white;
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
}

.brand-icon {
width: 32px;
height: 32px;
filter: brightness(0) invert(1);
}

.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
}

.nav-menu a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
padding: 0.5rem 1rem;
border-radius: 5px;
display: flex;
align-items: center;
gap: 0.5rem;
}

.nav-icon {
width: 16px;
height: 16px;
filter: brightness(0) invert(1);
}

.nav-menu a:hover {
background-color: rgba(255, 255, 255, 0.2);
color: #e0f2fe;
}

/* Add top margin to body to account for fixed header */
body {
margin-top: 70px;
}
114 changes: 114 additions & 0 deletions optimization-http1/css/style3.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
/* style3.css - Introduction section styles */
.intro-section {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
min-height: 100vh;
display: flex;
align-items: center;
}

.content-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}

.intro-icons {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
justify-content: flex-start;
}

.intro-icon {
width: 48px;
height: 48px;
filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1896%) hue-rotate(215deg) brightness(91%) contrast(94%);
}

.text-content .section-title {
text-align: left;
font-size: 3rem;
margin-bottom: 1.5rem;
}

.text-content .section-description {
text-align: left;
font-size: 1.2rem;
margin-bottom: 2rem;
}

.feature-highlights {
display: flex;
gap: 2rem;
margin-bottom: 2rem;
flex-wrap: wrap;
}

.highlight-item {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: rgba(59, 130, 246, 0.1);
border-radius: 20px;
border: 1px solid rgba(59, 130, 246, 0.2);
}

.highlight-icon {
width: 20px;
height: 20px;
filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1896%) hue-rotate(215deg) brightness(91%) contrast(94%);
}

.highlight-item span {
font-size: 0.9rem;
color: #2563eb;
font-weight: 500;
}

.cta-button {
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
color: white;
border: none;
padding: 15px 30px;
font-size: 1.1rem;
font-weight: 600;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
display: flex;
align-items: center;
gap: 0.5rem;
}

.button-icon {
width: 20px;
height: 20px;
filter: brightness(0) invert(1);
}

.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.image-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}

.grid-image {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}

.grid-image:hover {
transform: scale(1.05);
}
Loading