
/* history.html 歷史股價表格 */

#result {
    width: 100%;
}

#result table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

#result th,
#result td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

#result th {
    background-color: #f0f0f0;
    font-weight: bold;
}

#result tr:nth-child(even) {
    background-color: #fafafa;
}

#result tr:hover {
    background-color: #f5f5f5;
}


/* =====================================
K線圖容器
===================================== */

#chartContainer {
width: 100%;
height: 500px;
margin: 20px 0 30px 0;
border: 1px solid #dddddd;
background: #ffffff;
}

/* =====================================
股票標題
===================================== */

#stockTitle {
margin-bottom: 20px;
}

/* =====================================
歷史股價表格
===================================== */

#result table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}

#result th,
#result td {
border: 1px solid #dddddd;
padding: 8px;
text-align: right;
}

#result th {
background-color: #f5f5f5;
text-align: center;
}

#result td:first-child {
text-align: center;
}
