Skip to content

Commit

Permalink
오늘의 추천
Browse files Browse the repository at this point in the history
  • Loading branch information
bestlalala committed Apr 13, 2023
1 parent 7c09f6d commit 3ec4d98
Show file tree
Hide file tree
Showing 36 changed files with 3,314 additions and 0 deletions.
101 changes: 101 additions & 0 deletions assets/css/fontawesome-all.min.css

Large diffs are not rendered by default.

Binary file added assets/css/images/overlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,592 changes: 1,592 additions & 0 deletions assets/css/main.css

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions assets/css/noscript.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
Stellar by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/* Header */

body.is-preload #header.alt > * {
opacity: 1;
}

body.is-preload #header.alt .logo {
-moz-transform: none;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
2 changes: 2 additions & 0 deletions assets/js/breakpoints.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/js/jquery.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions assets/js/jquery.scrollex.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/js/jquery.scrolly.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

123 changes: 123 additions & 0 deletions assets/js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
/*
Stellar by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

(function($) {

var $window = $(window),
$body = $('body'),
$main = $('#main');

// Breakpoints.
breakpoints({
xlarge: [ '1281px', '1680px' ],
large: [ '981px', '1280px' ],
medium: [ '737px', '980px' ],
small: [ '481px', '736px' ],
xsmall: [ '361px', '480px' ],
xxsmall: [ null, '360px' ]
});

// Play initial animations on page load.
$window.on('load', function() {
window.setTimeout(function() {
$body.removeClass('is-preload');
}, 100);
});

// Nav.
var $nav = $('#nav');

if ($nav.length > 0) {

// Shrink effect.
$main
.scrollex({
mode: 'top',
enter: function() {
$nav.addClass('alt');
},
leave: function() {
$nav.removeClass('alt');
},
});

// Links.
var $nav_a = $nav.find('a');

$nav_a
.scrolly({
speed: 1000,
offset: function() { return $nav.height(); }
})
.on('click', function() {

var $this = $(this);

// External link? Bail.
if ($this.attr('href').charAt(0) != '#')
return;

// Deactivate all links.
$nav_a
.removeClass('active')
.removeClass('active-locked');

// Activate link *and* lock it (so Scrollex doesn't try to activate other links as we're scrolling to this one's section).
$this
.addClass('active')
.addClass('active-locked');

})
.each(function() {

var $this = $(this),
id = $this.attr('href'),
$section = $(id);

// No section for this link? Bail.
if ($section.length < 1)
return;

// Scrollex.
$section.scrollex({
mode: 'middle',
initialize: function() {

// Deactivate section.
if (browser.canUse('transition'))
$section.addClass('inactive');

},
enter: function() {

// Activate section.
$section.removeClass('inactive');

// No locked links? Deactivate all links and activate this section's one.
if ($nav_a.filter('.active-locked').length == 0) {

$nav_a.removeClass('active');
$this.addClass('active');

}

// Otherwise, if this section's link is the one that's locked, unlock it.
else if ($this.hasClass('active-locked'))
$this.removeClass('active-locked');

}
});

});

}

// Scrolly.
$('.scrolly').scrolly({
speed: 1000
});

})(jQuery);
101 changes: 101 additions & 0 deletions assets/sass/components/_actions.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
///
/// Stellar by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///

/* Actions */

ul.actions {
@include vendor('display', 'flex');
cursor: default;
list-style: none;
margin-left: (_size(element-margin) * -0.5);
padding-left: 0;

li {
padding: 0 0 0 (_size(element-margin) * 0.5);
vertical-align: middle;
}

&.special {
@include vendor('justify-content', 'center');
width: 100%;
margin-left: 0;

li {
&:first-child {
padding-left: 0;
}
}
}

&.stacked {
@include vendor('flex-direction', 'column');
margin-left: 0;

li {
padding: (_size(element-margin) * 0.65) 0 0 0;

&:first-child {
padding-top: 0;
}
}
}

&.fit {
width: calc(100% + #{_size(element-margin) * 0.5});

li {
@include vendor('flex-grow', '1');
@include vendor('flex-shrink', '1');
width: 100%;

> * {
width: 100%;
}
}

&.stacked {
width: 100%;
}
}

@include breakpoint('<=xsmall') {
&:not(.fixed) {
@include vendor('flex-direction', 'column');
margin-left: 0;
width: 100% !important;

li {
@include vendor('flex-grow', '1');
@include vendor('flex-shrink', '1');
padding: (_size(element-margin) * 0.5) 0 0 0;
text-align: center;
width: 100%;

> * {
width: 100%;
}

&:first-child {
padding-top: 0;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
width: 100%;

&.icon {
&:before {
margin-left: -0.5rem;
}
}
}
}
}
}
}
109 changes: 109 additions & 0 deletions assets/sass/components/_button.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
///
/// Stellar by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///

/* Button */

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
@include vendor('appearance', 'none');
@include vendor('transition', (
'background-color #{_duration(transition)} ease-in-out',
'color #{_duration(transition)} ease-in-out'
));
border-radius: _size(border-radius);
border: 0;
cursor: pointer;
display: inline-block;
font-weight: _font(weight);
height: 2.75em;
line-height: 2.75em;
min-width: 9.25em;
padding: 0 1.5em;
text-align: center;
text-decoration: none;
white-space: nowrap;

&.icon {
padding-left: 1.35em;

&:before {
margin-right: 0.5em;
}
}

&.fit {
width: 100%;
}

&.small {
font-size: 0.8em;
}

&.large {
font-size: 1.35em;
}

&.disabled,
&:disabled {
@include vendor('pointer-events', 'none');
opacity: 0.25;
}

@include breakpoint('<=small') {
min-width: 0;
}
}

@mixin color-button($p: null) {
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
background-color: transparent;
box-shadow: inset 0 0 0 1px _palette($p, border);
color: _palette($p, fg-bold) !important;

&:hover {
background-color: _palette($p, border-bg);
}

&:active {
background-color: _palette($p, border2-bg);
}

&.icon {
&:before {
color: _palette($p, fg-light);
}
}

&.primary {
background-color: _palette(accent);
color: _palette(invert, bg) !important;
box-shadow: none;

&:hover {
background-color: lighten(_palette(accent), 3);
}

&:active {
background-color: darken(_palette(accent), 3);
}

&.icon {
&:before {
color: _palette(invert, bg) !important;
}
}
}
}
}

@include color-button;
Loading

0 comments on commit 3ec4d98

Please sign in to comment.