Skip to content

Commit

Permalink
v2.2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
innks committed Jan 24, 2021
1 parent e0e46d1 commit 31c1201
Show file tree
Hide file tree
Showing 13 changed files with 916 additions and 447 deletions.
2 changes: 1 addition & 1 deletion Source files/default.css
Expand Up @@ -345,7 +345,7 @@ code,pre {font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Co

/* 헤더 */
#header{position:relative;width:auto;top:0;overflow:hidden;padding:0 0 20px 0;margin:0 auto;border-top-left-radius:0!important;border-top-right-radius:0!important}
#head-meta{box-shadow:0 0 16px rgba(0,0,0,0.5);text-align:center;color:var(--a-text-color);padding: 20px 0;background-image: url('https://tistory2.daumcdn.net/tistory/3088055/skin/images/bg-head.gif')}
#head-meta{box-shadow:0 0 16px rgba(0,0,0,0.5);text-align:center;color:var(--a-text-color);padding: 20px 0;background-image: url('https://tistory2.daumcdn.net/tistory/3088055/skin/images/bg-head.gif');height: 100px;}
/*
#head-meta{background-color:var(--h-back-color)};
*/
Expand Down
38 changes: 21 additions & 17 deletions images/BSVerNote.js
Expand Up @@ -2,24 +2,27 @@
* document.write(VERSION.iconFont);
*/

let updated = ""; // 업데이트 날짜 들어갈 문구
let updated = ''; // 업데이트 날짜 들어갈 문구
let $QRCodeURL = '';
const AneOK = {};

const AneOKBlog = {
"NAME": "AneOK",
"LOGO_VERSION": "v2.x", // 공개
"BUILD": "223", // 유지 Build or Maintenance Version ...?b=숫자 더한값
"VERSION": "2.2.2.2", // 일반적인
"sDATE": "2019. 4. 29", // 블로그 시작일
"u_sDATE": "2019. 12. 03", // 업데이트 시작일
"UPDATE": "2021. 1. 22"
'NAME': 'AneOK',
'LOGO_VERSION': 'v2.x', // 공개
'BUILD': '231', // 유지 Build or Maintenance Version ...?b=숫자 더한값
'VERSION': '2.2.3.1', // 일반적인
'sDATE': '2019. 4. 29', // 블로그 시작일
'u_sDATE': '2019. 12. 03', // 업데이트 시작일
'UPDATE': '2021. 1. 24'
};
const VERSION = {
"BOOTSTRAP_CSS": "5.0.0 beta1",
"BOOTSTRAP_JS": "4.4.1 ad",
"JQUERY": "3.4.1",
"popper.js": "1.14.7",
"ICONFONT": "117",
"DYNAMIC_SCROLLSPY": "0.2.0",
"HIGHLIGHT_JS": "10.5.0"
'BOOTSTRAP_CSS': '5.0.0 beta1',
'BOOTSTRAP_JS': '4.4.1 ad',
'JQUERY': '3.4.1',
'popper.js': '1.14.7',
'ICONFONT': '117',
'DYNAMIC_SCROLLSPY': '0.2.0',
'HIGHLIGHT_JS': '10.5.0'
};

const clog = [
Expand All @@ -31,13 +34,14 @@ const clog = [
[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''], //51~60
[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''], //61~71
[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''],[0,''], //71~80
[0,''],[0,''],[0,''],
[0,''],[0,''],
[2,'v2.2.0 - 2020.12.21 부트스트랩 5 베타1, 파일변경, 일부 스타일(style.css) 부분을 변경/분리'],
[1,'v2.2.1 - 2021.1.2 포스터 하단에 QRCode 추가'],
[1,'v2.2.2 - 2021.1.12 Skin change log 페이지 추가'],
[2,'v2.2.2.1 - 2021.1.13 Skin change log 페이지 디자인 변경'],
[2,'v2.2.2.2 - 2021.1.16 iconFont 116 -> 117개로 1개 추가'],
[2,'v2.2.3 - 2021.1.22 iconFont 116 -> JavaScript 기능을 개선 및 파일 변경']
[1,'v2.2.3 - 2021.1.22 JavaScript 기능을 개선 및 파일 추가/변경'],
[2,'v2.2.3.1 - 2021.1.24 loading부분 삭제 -> fadeIn으로 변경']
];

/* 1 = #00bc87 // 추가
Expand Down
2 changes: 1 addition & 1 deletion images/add.min.css

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions images/data.js
Expand Up @@ -2,10 +2,12 @@
$(function() {$('#scrollspy').DynamicScrollspy({tH: 2,bH: 4,genIDs: true,hMark: false});});

// QRCode
let qrcode = new QRCode(document.getElementById("post-qrcode"), {
text: "https://aneok.tistory.com" + $QRCodeURL,
width: 53, height: 53, colorDark : "#000000", colorLight : "#ffffff", correctLevel : QRCode.CorrectLevel.L
});
if ($QRCodeURL !== '') {
let qrcode = new QRCode(document.getElementById('post-qrcode'), {
text: "https://aneok.tistory.com" + $QRCodeURL,
width: 53, height: 53, colorDark: "#000000", colorLight: "#ffffff", correctLevel: QRCode.CorrectLevel.L
})
}

// -- 버전 출력
const $ve = "<img src='https://img.shields.io/badge/" + AneOKBlog.NAME + "-" + AneOKBlog.VERSION + "-4a65f6.svg'> " +
Expand Down
2 changes: 1 addition & 1 deletion images/default.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion images/dynamicscrollspy.ak.min.js

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

63 changes: 63 additions & 0 deletions images/postData-22-26.js
@@ -0,0 +1,63 @@
'use strict';
class PostData { // 클래스 첫문자는 대문자 표기
constructor(idType, title, subtitle, postURL, year, company, age, type, country, officialURL, scorePercent, viewer, recom) {
this.idType = idType; // 영화(0), 드라마(1)- 기본
this.title = title; // 제목
this.subtitle = subtitle; // 부제목
this.postURL = postURL; // 포스트 URL
this.year = year; // 개봉 연도
this.company = company; // 회사명 (영화시 '개봉날짜')
this.age = age; // 등급
this.type = type; // 장르
this.country = country; // 국가
this.officialURL = officialURL; // 맥스무비, 네이버 영화 & 공식 URL
this.scorePercent = scorePercent; // (점수) 퍼센트
this.viewer = viewer; // 시청률
this.recom = recom; // 추천 (0, 1:추천) - recommendation
}

get idType() {
return this._idType;
}
set idType(velue) {
this._idType = (velue == 0 || velue == 1) ? velue : 1;
}
};

AneOK.multimedia = {
postList: function(listClassName) {
let openDate, openTime, openViewer, sentenceData = '';
if (listClassName.idType == 1 ) {openDate = '제작', openTime = '편성', openViewer = '시청률'}
else { openDate = '개봉', openTime = '시간', openViewer = '관람평'};
sentenceData = '<li class="col-sm-6 col-md-4 mb-45 keyword"><div class="poster"><div class="inline-clip transition-toggle">';
if (listClassName.recom == 1) sentenceData += '<div class="dday">추천 <span>★</span></div>';
sentenceData += '<img src="' + listClassName.postURL + '" alt>' +
'<div class="transition-slide-bottom position-bottom overlay overlay-default slide">' +
'<p class="margin-0 title25">' + listClassName.title + '</p><hr>' +
'<p class="mt-0 mb-0"><span class="cj">' + openDate + '</span><strong class="blue">' + listClassName.year + '</strong></p>' +
'<p class="mt-0 mb-0"><span class="cj">' + openTime + '</span>' + listClassName.company + '</p>' +
'<p class="mt-0 mb-0"><span class="cj">등급</span>' + listClassName.age + '</p>' +
'<p class="mt-0 mb-0"><span class="cj">개요</span>' + listClassName.country + ' | ' + listClassName.type + '</p>';
// 평점부분
sentenceData += '<p class="mt-0 mb-0"><span class="cj">내 평점</span><span class="sstar"><em class="sst"><em style="width:' +
listClassName.scorePercent * 10 + '%"></em></em><strong class="pyjum">' + listClassName.scorePercent + '</strong></span></p>';
//드라마면 시청률
if (listClassName.idType == 1)
sentenceData += '<p class="mt-n1 mt-md-2 mb-0"><span class="cj">' + openViewer + '</span><strong class="pyjum">' + listClassName.viewer + '</strong></p>';
// 영화면 관람평 없으면 viewer = 0
if (listClassName.idType == 0 && listClassName.viewer != 0)
sentenceData += '<p class="mt-n1 mt-md-2 mb-0"><span class="cj">' + openViewer + '</span>' + listClassName.viewer + '</p>';
sentenceData += '</div></div><div class="info-p"><div class="pyjum-nu color-r">' + Math.floor(listClassName.scorePercent * 10) + '점</div>' +
'<p class="margin-small-top p-left-1"><a href="' + listClassName.officialURL + '" target="_blank" class="a-none" title="' +
listClassName.title + '">' + listClassName.title + '</a></p>' +
'<p class="margin-0 p-left-1 subtitle color-g" title="' + listClassName.subtitle + '">' + listClassName.subtitle + '</p></div></div></li>';
return document.write(sentenceData);
},
postInfomation: function(updatedDate, messageText, messagenumber) {
let messageData = '';
messageData = '<div class="add-info"><ul><li><div><h5>최종 업데이트</h5><span>' + updatedDate +
'</span></div></li><li><div><h5>' + messageText +
'</h5><span>' + messagenumber + '</span></div></li></ul></div>';
return document.write(messageData);
}
};
201 changes: 201 additions & 0 deletions images/postData-22.26.css
@@ -0,0 +1,201 @@
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
#movielist {
width: 100%;
margin: 30px auto;
}
.posters {
list-style: none;
padding: 0;
}
.posters li {
margin-left: 0 !important;
}
.poster {
border:1px #d0d0d0 solid;
border-radius: 5px;
padding: 0 0 10px;
}
.posters img {
max-width: 100%;
height: auto;
box-sizing: border-box;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
margin-top: -15px;
}
.transition-toggle {
-webkit-tap-highlight-color: transparent;
}
.transition-toggle:focus {
outline: none;
}
.transition-toggle:hover [class*='transition-slide'],
.transition-toggle:focus [class*='transition-slide'] {
opacity: 1;
transform: translate(0, 0);
}
.inline-clip {
overflow: hidden;
}
[class*='inline'] {
display: inline-block;
position: relative;
max-width: 100%;
vertical-align: middle;
-webkit-backface-visibility: hidden;
height: auto;
}
.slide p {
font-size: 14px;
line-height: 1.35;
}
.slide p span.cj {
font-weight: 700;
padding-right: 10px;
}
.slide p span.sstar {
padding-right: 10px;
}
.slide hr {
margin-top: .25rem;
margin-bottom: .25rem;
border: 0;
border-top: 1px solid rgba(0,0,0,.1);
background-image:none;
background-color: transparent;
}
.transition-slide-bottom {
transform: translateY(100%);
}
[class*='transition-slide'] {
transition: .3s ease-out;
transition-property: opacity,transform,filter;
opacity: 0;
}
.position-bottom {
bottom: 0;
left: 0;
right: 0;
}
[class*='position-bottom'] {
position: absolute !important;
}
.overlay-default {
background: rgba(255,255,255,0.8);
}
.overlay {
padding: 20px 7px 30px;
}
.margin-0 {
margin: 0 !important;
}
.margin-tb-0 {
margin-top: 0px !important;
margin-bottom: 0px !important;
}
.title25 {
font-size: 22px !important;
line-height: 1.4;
text-transform: none;
font-weight: 700;
}
.subtitle {
font-size: 13px;
line-height: 1;
text-transform: none;
margin-bottom: 20px;
max-width: 210px;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.color-g {
color: #999;
}
.color-r {
color: #f03f37
}
.margin-small-top {
margin: 10px 0 0 !important;
font-weight: 700;
max-width: 170px;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.p-left-1 {
padding-left: 10px;
}
.pyjum {
font-family: 'Montserrat', sans-serif;
}
.info-p {
position: relative;
}
.pyjum-nu {
font-family: 'Montserrat', sans-serif;
position:absolute;
top:0;
right:7px;
z-index:101;
}
.sstar {
display: inline-block;
padding: 0 10px;
line-height: 18px;
font-size: 17px;
color: #222;
margin-left: -10px;
}
.sst {
display: inline-block;
width: 81px;
height: 15px;
background: url('https://tistory1.daumcdn.net/tistory/3088055/skin/images/smallStar.png') no-repeat 0 -15px;
}
.sst em {
display: block;
height: 15px;
background: url('https://tistory1.daumcdn.net/tistory/3088055/skin/images/smallStar.png') no-repeat 0 0;
}
.sstar strong {
padding-left: 5px;
font-style: normal;
}
.dday {
position:absolute;
top:3px;
right:2px;
background:rgba(0,0,0,.8);
padding:0 8px;
height:24px;
line-height:24px;
border-radius:3px;
color:#fff;
font-size:15px;
z-index:100;
}
.dday span {
color:#ff6000;
}
.mb-45 {
margin-bottom: 2rem;
}
/* screen >= 1024px 모바일 영역 (우선) */
@media (min-width: 576px) {
[class*='inline'] {
height: 420px;
}
}
/* screen >= 1024px 모바일 영역 (우선) */
@media (min-width: 1024px) {
[class*='inline'] {
height: 300px;
}
.slide hr {
margin-top: 1rem;
margin-bottom: 1rem;
}
}

0 comments on commit 31c1201

Please sign in to comment.