Spaces:
Runtime error
Runtime error
/* | |
[ CSS κΈ°λ³Έ λ¬Έλ² ] | |
AND μ°μ°μ : μ νμ μ¬μ΄μ κ³΅λ°±μ΄ μ κ±°λλ κ²½μ° μ¬λ¬ μ νμλ₯Ό λμμ λ§μ‘±νλ νκ·Έμ μ€νμΌμ μ μ© | |
OR μ°μ°μ : λ μ νμ μ€ νλλΌλ λ§μ‘±μ μ μ©λλ 쑰건 (μΌνλ₯Ό ν΅ν΄ λ μ νμ μ€ νλλΌλ λ§μ‘±μ μ μ©) | |
".a .b .c" : aν΄λμ€ λ΄λΆμ bν΄λμ€ λ΄λΆμ cν΄λμ€ μμμλ§ μ€νμΌ μ μ© | |
".a.b.c" : ν΄λμ€ μμ± λ΄μ a, b, c λͺ¨λ μ€μ λ λͺ¨λ μμλ€μ μ ν | |
".a, .b, .c" : μΌμΉνλ λͺ¨λ μμ€λ€μ μ ν | |
*/ | |
/* Stocks κ΄λ ¨ */ | |
/* .sec_cal { */ | |
#nasdaq-table-container .stocks_wrap { | |
width: 580px; /* μμ±μ μμ λλΉ */ | |
margin: 0 auto; | |
font-family: "NotoSansR"; | |
} | |
/* .sec_cal .cal_wrap { */ | |
#nasdaq-table-container .stocks_wrap { | |
padding-top: 40px; | |
position: relative; | |
margin: 0 auto; | |
} | |
/* .sec_cal .cal_wrap .days { */ | |
#nasdaq-table-container .stocks_wrap .stocks_columns { | |
display: flex; | |
margin-bottom: 20px; /* μμ νλ¨μ margin νλ¨μ μμμ μ€μ */ | |
padding-bottom: 20px; /* μμμ λ°λ₯μμ ν¨λ© μμμ λμ΄λ₯Ό μ€μ */ | |
border-bottom: 1px solid #ddd; | |
} | |
/* .sec_cal .cal_wrap .day { */ | |
#nasdaq-table-container .stocks_wrap .stocks_columns .column, | |
#nasdaq-table-container .stocks_wrap .stocks .stock { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
width: 50px; | |
text-align: left; | |
color: #999; | |
font-size: 12px; | |
text-align: center; | |
border-radius: 5px; /* rounds the corners of an element's outer border edge. */ | |
} | |
#nasdaq-table-container .stocks_wrap .stocks_columns .column { | |
font-size: 17px; | |
/* width: 70px; */ | |
} | |
#nasdaq-table-container .stocks_wrap .stocks .stock { | |
font-size: 13px; | |
/* width: 35px; */ | |
} | |
#nasdaq-table-container .name { | |
margin-right: 30px; | |
margin-left: 30px; | |
} | |
#nasdaq-table-container .sector, .industry{ | |
margin-right: 18px; | |
margin-left: 48px; | |
} | |
#nasdaq-table-container .dff, .open, .close { | |
margin-right: 5px; | |
margin-left: 5px; | |
} | |
#nasdaq-table-container .stocks_wrap .stocks .ticker { | |
color: #04b70d; | |
text-decoration: underline; | |
} | |
#nasdaq-table-container .stocks_wrap .stocks .up { | |
color: #ed2a61; | |
} | |
#nasdaq-table-container .stocks_wrap .stocks .down { | |
color: #3c6ffa; | |
} | |
/* .sec_cal .cal_wrap .dates { */ | |
#nasdaq-table-container .stocks_wrap .stocks { | |
display: flex; | |
flex-flow: wrap; | |
height: 5000px; /* λμ΄ κ°κ²© */ | |
} | |
/* h1 νκ·Έ λΆλΆ */ | |
#nasdaq-table-container .gohome { | |
text-decoration: none; | |
} | |
/* | |
μ : nasdaq-table-container κ΄λ ¨ CSS | |
μλ : chart-container κ΄λ ¨ CSS | |
*/ | |
/* id : "#" */ | |
#chart-container .myChart-container { | |
/* μμ±μ μμ λλΉλ₯Ό μ§μ */ | |
width: 60vw; | |
/* μμ±μ μμμ λμ΄λ₯Ό μ§μ */ | |
height: 30vh; | |
/* | |
[ margin νκ·Έ ] | |
margin-top (μλ¨ μ¬λ°±) | |
margin-right (μ€λ₯Έμͺ½ μ¬λ°±) | |
margin-bottom (μλ μ¬λ°±) | |
margin-left (μΌμͺ½ μ¬λ°±) | |
μ§μ κ°μ px, cm, %λ‘ μ§μ ν μ μλ€. | |
μμκ°λ μ§μ κ°λ₯(ex. -10px) | |
* 4λ©΄ νκΊΌλ²μ margin μ§μ νκΈ° | |
ex) margin: 5px 7px 3px 0px; | |
(μ, μ€λ₯Έμͺ½, μλ, μΌμͺ½) | |
* 4λ©΄μ΄ λͺ¨λ κ°μ λ margin μ§μ νκΈ° | |
ex) margin: 5px; | |
* μ, μ€λ₯Έμͺ½&μΌμͺ½, μλ margin μ§μ νκΈ° | |
ex) margin: 5px 10px 0px; | |
* μ&μλ, μ€λ₯Έμͺ½&μΌμͺ½ margin μ§μ νκΈ° | |
ex) margin: 5px 10px; | |
* margin μλ μ§μ νκΈ° | |
ex) margin: auto 0; | |
(μμλ κ°μ΄ μλ, μ’μ°κ° 0px) | |
ex) margin-left: auto; | |
*/ | |
margin: 40px auto; | |
padding-bottom: 13%; | |
} | |
#chart-container .table { | |
/* | |
[ align-items νκ·Έ ] | |
flex-box μμμ μμ§ λ°©ν₯ μ λ ¬ λ°©μμ μ€μ | |
ex. flex-start, flex-end, center | |
*/ | |
align-items: center; | |
/* | |
[ justify-content νκ·Έ ] | |
flex-box μμμ μν λ°©ν₯ μ λ ¬ λ°©μμ μ€μ | |
ex. flex-start, flex-end, center | |
*/ | |
justify-content: center; | |
/* | |
[ margin νκ·Έ ] | |
margin-top (μλ¨ μ¬λ°±) | |
margin-right (μ€λ₯Έμͺ½ μ¬λ°±) | |
margin-bottom (μλ μ¬λ°±) | |
margin-left (μΌμͺ½ μ¬λ°±) | |
μ§μ κ°μ px, cm, %λ‘ μ§μ ν μ μλ€. | |
μμκ°λ μ§μ κ°λ₯(ex. -10px) | |
* 4λ©΄ νκΊΌλ²μ margin μ§μ νκΈ° | |
ex) margin: 5px 7px 3px 0px; | |
(μ, μ€λ₯Έμͺ½, μλ, μΌμͺ½) | |
* 4λ©΄μ΄ λͺ¨λ κ°μ λ margin μ§μ νκΈ° | |
ex) margin: 5px; | |
* μ, μ€λ₯Έμͺ½&μΌμͺ½, μλ margin μ§μ νκΈ° | |
ex) margin: 5px 10px 0px; | |
* μ&μλ, μ€λ₯Έμͺ½&μΌμͺ½ margin μ§μ νκΈ° | |
ex) margin: 5px 10px; | |
* margin μλ μ§μ νκΈ° | |
ex) margin: auto 0; | |
(μμλ κ°μ΄ μλ, μ’μ°κ° 0px) | |
ex) margin-left: auto; | |
*/ | |
margin: 20px auto; | |
/* | |
[ text-align νκ·Έ ] | |
ν μ€νΈμ μ λ ¬ λ°©ν₯μ μ€μ | |
left: μΌμͺ½ μ λ ¬ | |
right: μ€λ₯Έμͺ½ μ λ ¬ | |
center: μ€μ μ λ ¬ | |
justify: μμͺ½ μ λ ¬ (μλ μ€λ°κΏμ μ€λ₯Έμͺ½ κ²½κ³μ λΆλΆ μ 리) | |
*/ | |
text-align: center; | |
} | |
#chart-container .table .title-width { | |
width: 10px; | |
text-align: center; | |
} | |
#chart-container .table .table-title { | |
font-size: 50px; | |
} | |
/* h1, h2 νκ·Έ λΆλΆ */ | |
#chart-container .gohome, .goticker { | |
text-decoration: none; | |
} | |
#chart-container .table .news-table .news.diff.up { | |
color: #ed2a61; | |
} | |
#chart-container .table .news-table .news.diff.down { | |
color: #3c6ffa; | |
} | |
/* | |
μ : chart-container κ΄λ ¨ CSS | |
μλ : news-container κ΄λ ¨ CSS | |
*/ | |
/* ner κ΄λ ¨ */ | |
#news-container .ner-box { | |
width: calc(92%); /* μμ±μ μμ λλΉλ₯Ό μ§μ */ | |
height: 500px; /* μμ±μ μμμ λμ΄λ₯Ό μ§μ */ | |
/* | |
[ align-items νκ·Έ ] | |
flex-box μμμ μμ§ λ°©ν₯ μ λ ¬ λ°©μμ μ€μ | |
ex. flex-start, flex-end, center | |
*/ | |
align-items: center; | |
/* | |
[ justify-content νκ·Έ ] | |
flex-box μμμ μν λ°©ν₯ μ λ ¬ λ°©μμ μ€μ | |
ex. flex-start, flex-end, center | |
*/ | |
justify-content: center; | |
/* | |
[ text-align νκ·Έ ] | |
ν μ€νΈμ μ λ ¬ λ°©ν₯μ μ€μ | |
left: μΌμͺ½ μ λ ¬ | |
right: μ€λ₯Έμͺ½ μ λ ¬ | |
center: μ€μ μ λ ¬ | |
justify: μμͺ½ μ λ ¬ (μλ μ€λ°κΏμ μ€λ₯Έμͺ½ κ²½κ³μ λΆλΆ μ 리) | |
*/ | |
text-align: center; | |
/* | |
[ margin νκ·Έ ] | |
margin-top (μλ¨ μ¬λ°±) | |
margin-right (μ€λ₯Έμͺ½ μ¬λ°±) | |
margin-bottom (μλ μ¬λ°±) | |
margin-left (μΌμͺ½ μ¬λ°±) | |
μ§μ κ°μ px, cm, %λ‘ μ§μ ν μ μλ€. | |
μμκ°λ μ§μ κ°λ₯(ex. -10px) | |
* 4λ©΄ νκΊΌλ²μ margin μ§μ νκΈ° | |
ex) margin: 5px 7px 3px 0px; | |
(μ, μ€λ₯Έμͺ½, μλ, μΌμͺ½) | |
* 4λ©΄μ΄ λͺ¨λ κ°μ λ margin μ§μ νκΈ° | |
ex) margin: 5px; | |
* μ, μ€λ₯Έμͺ½&μΌμͺ½, μλ margin μ§μ νκΈ° | |
ex) margin: 5px 10px 0px; | |
* μ&μλ, μ€λ₯Έμͺ½&μΌμͺ½ margin μ§μ νκΈ° | |
ex) margin: 5px 10px; | |
* margin μλ μ§μ νκΈ° | |
ex) margin: auto 0; | |
(μμλ κ°μ΄ μλ, μ’μ°κ° 0px) | |
ex) margin-left: auto; | |
*/ | |
margin: 1rem; | |
min-height: 1.2rem; | |
border: 0.5px solid grey; | |
padding: 0.5rem 1rem; | |
} | |
/* NER label_ */ | |
#news-container .entities .entity_person { | |
background-color: #aa9cfc; | |
} | |
#news-container .entities .entity_org { | |
background-color: #7aecec; | |
} | |
#news-container .entities .entity_fac { | |
background-color: #9cc9cc; | |
} | |
#news-container .entities .entity_gpe { | |
background-color: #feca74; | |
} | |
#news-container .entities .entity_product { | |
background-color: #bfeeb7; | |
} | |
#news-container .entities .none { | |
background-color: transparent; | |
} | |
/* λ§μ°μ€ μ¬λ Έμ λ, 보μ΄κ² νλ κ² */ | |
#news-container .entities .show-label { | |
display: none; | |
} | |
#news-container .entities .entity_person:hover .show-label, | |
#news-container .entities .entity_org:hover .show-label, | |
#news-container .entities .entity_fac:hover .show-label, | |
#news-container .entities .entity_gpe:hover .show-label, | |
#news-container .entities .entity_product:hover .show-label { | |
display: block; | |
} | |
/* Model κ΄λ ¨ */ | |
/* id : "#" */ | |
#news-container #model { | |
/* | |
[ text-align νκ·Έ ] | |
ν μ€νΈμ μ λ ¬ λ°©ν₯μ μ€μ | |
left: μΌμͺ½ μ λ ¬ | |
right: μ€λ₯Έμͺ½ μ λ ¬ | |
center: μ€μ μ λ ¬ | |
justify: μμͺ½ μ λ ¬ (μλ μ€λ°κΏμ μ€λ₯Έμͺ½ κ²½κ³μ λΆλΆ μ 리) | |
*/ | |
text-align: center; | |
} | |
/* id : "#" */ | |
#news-container #text-input { | |
width: calc(100% / 2); /* μμ±μ μμ λλΉ */ | |
height: 78px; /* μμ±μ μμμ λμ΄λ₯Ό μ§μ */ | |
word-break: break-all; | |
} | |
#news-container .text-output { | |
width: calc(100% * (2/3)); /* μμ±μ μμ λλΉ */ | |
min-height: 10rem; | |
/* | |
[ margin νκ·Έ ] | |
margin-top (μλ¨ μ¬λ°±) | |
margin-right (μ€λ₯Έμͺ½ μ¬λ°±) | |
margin-bottom (μλ μ¬λ°±) | |
margin-left (μΌμͺ½ μ¬λ°±) | |
μ§μ κ°μ px, cm, %λ‘ μ§μ ν μ μλ€. | |
μμκ°λ μ§μ κ°λ₯(ex. -10px) | |
* 4λ©΄ νκΊΌλ²μ margin μ§μ νκΈ° | |
ex) margin: 5px 7px 3px 0px; | |
(μ, μ€λ₯Έμͺ½, μλ, μΌμͺ½) | |
* 4λ©΄μ΄ λͺ¨λ κ°μ λ margin μ§μ νκΈ° | |
ex) margin: 5px; | |
* μ, μ€λ₯Έμͺ½&μΌμͺ½, μλ margin μ§μ νκΈ° | |
ex) margin: 5px 10px 0px; | |
* μ&μλ, μ€λ₯Έμͺ½&μΌμͺ½ margin μ§μ νκΈ° | |
ex) margin: 5px 10px; | |
* margin μλ μ§μ νκΈ° | |
ex) margin: auto 0; | |
(μμλ κ°μ΄ μλ, μ’μ°κ° 0px) | |
ex) margin-left: auto; | |
*/ | |
margin: 20px auto; | |
/* | |
[ border νκ·Έ ] | |
ν΄λΉ νκ·Έμ ν λ리λ₯Ό μ€μ | |
width - style - color | |
border-width - border-style - border-color | |
border-width : ν λ리μ λκ»λ‘, μ£Όλ‘ px λ¨μλ₯Ό μ¬μ© | |
border-style : ν λ리μ μ€νμΌλ‘ μ€μ , μ μ , μ΄μ€μ λ±μ μ΅μ μ΄ μ‘΄μ¬ | |
border-color : ν λ리μ μμμΌλ‘, κ°μ color μμ±μ ν¬λ§·μ μ¬μ© | |
*/ | |
border: 0.5px solid grey; | |
/* | |
[ padding νκ·Έ ] | |
μ§μ κ°μ px, cm, %λ‘ μ§μ ν μ μλ€. | |
marginμ μμκ°μ΄ μ§μ κ°λ₯νμ§λ§ paddingμ μμκ° μ§μ μ΄ μλλ€. | |
padding νκ·Έμ λΉμ·ν νκ·Έ | |
: padding-top, padding-right, padding-bottom, padding-left | |
* 4λ©΄ νκΊΌλ²μ padding μ§μ νκΈ° | |
ex) padding: 5px, 7px, 3px, 0px; | |
(μ, μ€λ₯Έμͺ½, μλ, μΌμͺ½) | |
* 4λ©΄ λͺ¨λ κ°μ λ padding μ§μ νκΈ° | |
ex) padding: 5px; | |
* μ, μ€λ₯Έμͺ½&μΌμͺ½, μλ padding μ§μ νκΈ° | |
ex) padding: 5px 10px 0px; | |
* μ&μλ, μ€λ₯Έμͺ½&μΌμͺ½ padding μ§μ νκΈ° | |
ex) padding: 5px, 10px; | |
*/ | |
padding: 0.5rem 1rem; | |
} | |
/* h1, h2 νκ·Έ λΆλΆ */ | |
#news-container .gohome, .goticker { | |
text-decoration: none; | |
} |