Spaces:
Runtime error
Runtime error
/* | |
[ CSS κΈ°λ³Έ λ¬Έλ² ] | |
AND μ°μ°μ : μ νμ μ¬μ΄μ κ³΅λ°±μ΄ μ κ±°λλ κ²½μ° μ¬λ¬ μ νμλ₯Ό λμμ λ§μ‘±νλ νκ·Έμ μ€νμΌμ μ μ© | |
OR μ°μ°μ : λ μ νμ μ€ νλλΌλ λ§μ‘±μ μ μ©λλ 쑰건 (μΌνλ₯Ό ν΅ν΄ λ μ νμ μ€ νλλΌλ λ§μ‘±μ μ μ©) | |
".a .b .c" : aν΄λμ€ λ΄λΆμ bν΄λμ€ λ΄λΆμ cν΄λμ€ μμμλ§ μ€νμΌ μ μ© | |
".a.b.c" : ν΄λμ€ μμ± λ΄μ a, b, c λͺ¨λ μ€μ λ λͺ¨λ μμλ€μ μ ν | |
".a, .b, .c" : μΌμΉνλ λͺ¨λ μμ€λ€μ μ ν | |
*/ | |
.sec_cal { | |
width: 360px; /* μμ±μ μμ λλΉ */ | |
margin: 0 auto; | |
font-family: "NotoSansR"; | |
} | |
/* ".a .b .c" : aν΄λμ€ λ΄λΆμ bν΄λμ€ λ΄λΆμ cν΄λμ€ μμμλ§ μ€νμΌ μ μ© */ | |
.sec_cal .cal_nav { | |
display: flex; | |
justify-content: center; /* κ°λ‘ μΆμ κΈ°μ€μΌλ‘ μ’μ°μ λν μ λ ¬ */ | |
align-items: center; /* μΈλ‘ μΆμ κΈ°μ€μΌλ‘ μ λ ¬ μμλμ λν μ λ ¬ */ | |
font-weight: 700; /* ν°νΈ(font)μ κ°μ€μΉ(weight)λ κ΅΅κΈ°(boldness)λ₯Ό λͺ μ */ | |
font-size: 48px; /* ν°νΈ(font)μ ν¬κΈ°λ₯Ό μ§μ */ | |
line-height: 78px; /* Sets the height of a line box (μ€κ°κ²©) */ | |
} | |
.sec_cal .cal_nav .year-month { | |
width: 300px; /* μμ±μ μμ λλΉ */ | |
text-align: center; | |
line-height: 1; | |
} | |
.sec_cal .cal_nav .nav { | |
display: flex; | |
border: 1px solid #333333; | |
border-radius: 5px; | |
} | |
.sec_cal .cal_nav .go-prev, | |
.sec_cal .cal_nav .go-next { | |
display: block; | |
width: 50px; /* μμ±μ μμ λλΉ */ | |
height: 78px; | |
font-size: 0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.sec_cal .cal_nav .go-prev::before, | |
.sec_cal .cal_nav .go-next::before { | |
content: ""; | |
display: block; | |
width: 20px; /* μμ±μ μμ λλΉ */ | |
height: 20px; | |
border: 3px solid #000; | |
border-width: 3px 3px 0 0; | |
transition: border 0.1s; | |
} | |
.sec_cal .cal_nav .go-prev:hover::before, | |
.sec_cal .cal_nav .go-next:hover::before { | |
border-color: #ed2a61; | |
} | |
.sec_cal .cal_nav .go-prev::before { | |
transform: rotate(-135deg); | |
} | |
.sec_cal .cal_nav .go-next::before { | |
transform: rotate(45deg); | |
} | |
.sec_cal .cal_wrap { | |
padding-top: 40px; | |
position: relative; | |
margin: 0 auto; | |
} | |
.sec_cal .cal_wrap .days { | |
display: flex; | |
margin-bottom: 20px; /* μμ νλ¨μ margin νλ¨μ μμμ μ€μ (μ¬μ κ³΅κ° μ€μ ) */ | |
padding-bottom: 20px; /* μμμ λ°λ₯μμ ν¨λ© μμμ λμ΄λ₯Ό μ€μ */ | |
border-bottom: 1px solid #ddd; | |
} | |
.sec_cal .cal_wrap::after { | |
top: 368px; | |
} | |
.sec_cal .cal_wrap .day { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
width: calc(100% / 7); /* μμ±μ μμ λλΉ */ | |
text-align: left; | |
color: #999; | |
font-size: 12px; | |
text-align: center; | |
border-radius: 5px; | |
} | |
/* <div class="day current today">1</div> */ | |
.current.today { | |
/* background: rgb(3, 179, 65); */ | |
background: rgb(242 242 242); | |
} | |
.sec_cal .cal_wrap .dates { | |
display: flex; | |
flex-flow: wrap; | |
height: 290px; | |
} | |
/* Pseduo-Classes ( κ·Έ μ€μμ Structural pseudo-classes ) */ | |
.sec_cal .cal_wrap .day:nth-child(7n -1) { | |
color: #3c6ffa; | |
} | |
/* Pseduo-Classes ( κ·Έ μ€μμ Structural pseudo-classes ) */ | |
.sec_cal .cal_wrap .day:nth-child(7n) { | |
color: #ed2a61; | |
} | |
.sec_cal .cal_wrap .day.disable { | |
color: #ddd; | |
} | |
/* Model κ΄λ ¨ */ | |
/* id : "#" */ | |
#model { | |
text-align: center; | |
} | |
/* id : "#" */ | |
#text-input { | |
width: calc(100% / 2); /* μμ±μ μμ λλΉ */ | |
height: 78px; | |
word-break: break-all; | |
} | |
.text-output { | |
width: calc(100% / 2); /* μμ±μ μμ λλΉ */ | |
min-height: 1.2rem; | |
margin: 1rem; | |
border: 0.5px solid grey; | |
padding: 0.5rem 1rem; | |
} | |
/* Stocks κ΄λ ¨ */ | |
/* .sec_cal { */ | |
.stocks_wrap { | |
width: 580px; /* μμ±μ μμ λλΉ */ | |
margin: 0 auto; | |
font-family: "NotoSansR"; | |
} | |
/* .sec_cal .cal_wrap { */ | |
.stocks_wrap { | |
padding-top: 40px; | |
position: relative; | |
margin: 0 auto; | |
} | |
/* .sec_cal .cal_wrap .days { */ | |
.stocks_wrap .stocks_columns { | |
display: flex; | |
margin-bottom: 20px; /* μμ νλ¨μ margin νλ¨μ μμμ μ€μ */ | |
padding-bottom: 20px; /* μμμ λ°λ₯μμ ν¨λ© μμμ λμ΄λ₯Ό μ€μ */ | |
border-bottom: 1px solid #ddd; | |
} | |
/* .sec_cal .cal_wrap .day { */ | |
.stocks_wrap .stocks_columns .column, | |
.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. */ | |
} | |
.stocks_wrap .stocks_columns .column { | |
font-size: 17px; | |
/* width: 70px; */ | |
} | |
.stocks_wrap .stocks .stock { | |
font-size: 13px; | |
/* width: 35px; */ | |
} | |
.name { | |
margin-right: 30px; | |
margin-left: 30px; | |
} | |
.sector, .industry{ | |
margin-right: 18px; | |
margin-left: 48px; | |
} | |
.dff, .open, .close { | |
margin-right: 5px; | |
margin-left: 5px; | |
} | |
.stocks_wrap .stocks .ticker { | |
color: #04b70d; | |
text-decoration: underline; | |
} | |
.stocks_wrap .stocks .up { | |
color: #ed2a61; | |
} | |
.stocks_wrap .stocks .down { | |
color: #3c6ffa; | |
} | |
/* .sec_cal .cal_wrap .dates { */ | |
.stocks_wrap .stocks { | |
display: flex; | |
flex-flow: wrap; | |
height: 5000px; /* λμ΄ κ°κ²© */ | |
} | |
/* h1 νκ·Έ λΆλΆ */ | |
.gohome { | |
text-decoration: none; | |
} |