Skip to content

Commit

Permalink
Merge pull request hjh010501#7 from hjh010501/feature/hit-counter
Browse files Browse the repository at this point in the history
feat: hit counter
  • Loading branch information
hjh010501 authored Jul 21, 2022
2 parents 5e6d1f5 + 9b1ae58 commit b070dbd
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 74 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@
</tr>
</table>
<div id="result" class="result">공백 제외 0자, 공백 포함 0자, 0바이트</div>
<span style="font-size: 12pt; color:#aaa; font-family: 'Noto Sans KR'; letter-spacing: -1.25px; float: right; text-align: right;">영어, 숫자, 특수문자, 띄어쓰기 1바이트 / 엔터키 2바이트 / 한글 3바이트<br>해당 사이트 제작자가 20년도 졸업생인데, 생활기록부 입력 제한이 바뀐 것으로 알고 있어 지웠습니다.<br>PR 로 내용을 보내주시면 반영하겠습니다!<br>반영해주신 분들: <a href="https://github.com/Dongyeongkim" target="_blank">김동영</a>, <a href="https://github.com/rycont" target="_blank">정한(RyCont)</a>, <a href="https://github.com/cokia" target="_blank">한우영</a>, <a href="https://github.com/hajin-chung" target="_blank">정하진</a>, <a href="https://github.com/mcgun1234" target="_blank">최수현</a></span>
<span style="font-size: 12pt; color:#aaa; font-family: 'Noto Sans KR'; letter-spacing: -1.25px; float: right; text-align: right;">영어, 숫자, 특수문자, 띄어쓰기 1바이트 / 엔터키 2바이트 / 한글 3바이트<br>해당 사이트 제작자가 20년도 졸업생인데, 생활기록부 입력 제한이 바뀐 것으로 알고 있어 지웠습니다.<br>PR 로 내용을 보내주시면 반영하겠습니다!<br>반영해주신 분들: <a href="https://github.com/Dongyeongkim" target="_blank">김동영</a>, <a href="https://github.com/rycont" target="_blank">정한(RyCont)</a>, <a href="https://github.com/cokia" target="_blank">한우영</a>, <a href="https://github.com/hajin-chung" target="_blank">정하진</a>, <a href="https://github.com/mcgun1234" target="_blank">최수현</a><br><br><a href="https://hjh010501.github.io/neis-counter/"><img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fhjh010501.github.io%2Fneis-counter%2F&count_bg=%23000000&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=%EB%B0%A9%EB%AC%B8%EC%9E%90+%EC%88%98&edge_flat=true"/></a></span>
</div>
<div class="footbar">
<div class="footbar_content">
<span style="text-align: left;">👨‍💻 by <a href="https://kidevelop.io">kidevelop</a></span>
<span style="text-align: left;">👨‍💻 by <a href="https://github.com/hjh010501">kidevelop</a></span>
<span style="float: right;"><a class="github-button" href="https://github.com/hjh010501/neis-counter" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star hjh010501/neis-counter on GitHub">Star</a></span>
</div>
</div>
Expand Down
149 changes: 77 additions & 72 deletions main.css
Original file line number Diff line number Diff line change
@@ -1,120 +1,125 @@
@import url(https://fonts.googleapis.com/earlyaccess/notosanskr.css);

@font-face {
font-family: 'Noto Sans KR';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff2) format('woff2'),
url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff) format('woff'),
url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.otf) format('opentype');
font-family: "Noto Sans KR";
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff2)
format("woff2"),
url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff)
format("woff"),
url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.otf)
format("opentype");
}

@font-face {
font-family: 'Noto Sans KR Bold';
font-style: normal;
font-weight: 600;
src: url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff2) format('woff2'),
url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff) format('woff'),
url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.otf) format('opentype');
font-family: "Noto Sans KR Bold";
font-style: normal;
font-weight: 600;
src: url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff2)
format("woff2"),
url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff)
format("woff"),
url(https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.otf)
format("opentype");
}

a {
text-decoration: none;
font-family: 'Noto Sans KR Bold';
color: #1d1a1a;
letter-spacing: -1px;
text-decoration: none;
font-family: "Noto Sans KR Bold";
color: #1d1a1a;
letter-spacing: -1px;
}

body {
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
padding: 0;
font-family: 'Noto Sans KR';
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
padding: 0;
font-family: "Noto Sans KR";
}

.center {
width: 800px;
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
width: 800px;
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
}

.center > span {
width: 100%;
width: 100%;
}

.center > div {
width: 100%;
width: 100%;
}

.title {
font-family: 'Noto Sans KR Bold';
font-size: 20pt;
letter-spacing: -1.25px;
color: #1d1a1a;
font-family: "Noto Sans KR Bold";
font-size: 20pt;
letter-spacing: -1.25px;
color: #1d1a1a;
}

.title_underbar {
width: 30px;
height: 4px;
background: #1d1d1d;
margin-top: 20px;
margin-bottom: 30px;
width: 30px;
height: 4px;
background: #1d1d1d;
margin-top: 20px;
margin-bottom: 30px;
}

.counter {
font-family: 'Noto Sans KR';
font-size: 11pt;
border: 0;
resize: none;
border: 1px solid #ddd;
width: 800px;
height: 400px;
outline: 0;
padding: 25px;
line-height: 25px;

font-family: "Noto Sans KR";
font-size: 11pt;
border: 0;
resize: none;
border: 1px solid #ddd;
width: 800px;
height: 400px;
outline: 0;
padding: 25px;
line-height: 25px;
}

.result {
font-family: 'Noto Sans KR Bold';
font-size: 20pt;
letter-spacing: -1.25px;
color: #1d1a1a;
text-align: right;
margin-top: 20px;
font-family: "Noto Sans KR Bold";
font-size: 20pt;
letter-spacing: -1.25px;
color: #1d1a1a;
text-align: right;
margin-top: 20px;
}

table {
width: 100%;
text-align: center;
font-family: 'Noto Sans KR';
letter-spacing: -1.25px;
border: 1px solid #fff;
font-size: 14pt;
margin-top: 20px;
width: 100%;
text-align: center;
font-family: "Noto Sans KR";
letter-spacing: -1.25px;
border: 1px solid #fff;
font-size: 14pt;
margin-top: 20px;
}

th {
background: #1d1d1d;
font-weight: 400;
color: #fff;
padding: 10px;
background: #1d1d1d;
font-weight: 400;
color: #fff;
padding: 10px;
}
td {
background-color: #ededed;
color: #1d1d1d;
padding: 10px;
background-color: #ededed;
color: #1d1d1d;
padding: 10px;
}

.footbar {
margin-top: 60px ;
margin-top: 45px;
}

.footbar_content {
width: 800px;
margin: 0 auto;
width: 800px;
margin: 0 auto;
}

0 comments on commit b070dbd

Please sign in to comment.