/*!* 全局样式 *!*/
/*body {*/
/*    font-family: Arial, sans-serif;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    height: auto;*/
/*    background-color: #f4f4f4;*/
/*    !*border: 2px solid #007BFF;*!*/
/*}*/

/*!* 导航栏样式 *!*/
/*nav {*/
/*    background-color: #333;*/
/*    color: white;*/
/*    padding: 10px;*/
/*}*/

/*nav ul {*/
/*    list-style-type: none;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    display: flex;*/
/*    justify-content: space-around;*/
/*}*/

/*nav ul li {*/
/*    margin: 0;*/
/*}*/

/*nav ul li a {*/
/*    color: white;*/
/*    text-decoration: none;*/
/*}*/

/*!* 主要内容容器样式 *!*/
/*.main-content {*/
/*    padding: 20px;*/
/*    margin: 20px;*/
/*    background-color: white;*/
/*    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);*/
/*    min-height: calc(100vh - 100px); !* 根据底部导航栏高度调整 *!*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/*!* Python学习板块标题样式 *!*/
/*#python-content h1 {*/
/*    color: #007BFF;*/
/*    font-size: 28px;*/
/*    margin-bottom: 20px;*/
/*}*/

/*!* Python基础语法代码块样式 *!*/
/*#python-content pre code {*/
/*    background-color: #f9f9f9;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 5px;*/
/*    padding: 10px;*/
/*    font-family: 'Courier New', Courier, monospace;*/
/*    line-height: 1.6;*/
/*    color: #333;*/
/*    display: block;*/
/*    overflow-x: auto;*/
/*}*/

/*!* Python示例代码标题样式 *!*/
/*#python-content h2:first-of-type {*/
/*    +++++++*/
/*    margin-top: 30px;*/
/*}*/

/*!* Python练习题标题样式 *!*/
/*#python-content h2:last-ofType {*/
/*    color: #009688;*/
/*    margin-top: 30px;*/
/*}*/

/*!* Python示例代码和练习题的段落样式 *!*/
/*#python-content h2 + p {*/
/*    margin-top: 10px;*/
/*    line-height: 1.5;*/
/*    text-align: left;*/
/*}*/

/*!* 页面主体内容区域样式 *!*/
/*section {*/
/*    padding: 20px;*/
/*    margin: 20px;*/
/*    background-color: white;*/
/*    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);*/
/*}*/

/*h1,*/
/*h2 {*/
/*    text-align: center;*/
/*}*/

/*p {*/
/*    margin-bottom: 20px;*/
/*}*/

/*!* 表单样式 *!*/
/*form {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

/*label {*/
/*    margin-top: 10px;*/
/*}*/

/*input[type="text"],*/
/*input[type="email"],*/
/*textarea {*/
/*    padding: 10px;*/
/*    margin-top: 5px;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 3px;*/
/*}*/

/*input[type="submit"] {*/
/*    background-color: #333;*/
/*    color: white;*/
/*    padding: 10px 20px;*/
/*    border: 0;*/
/*    border-radius: 3px;*/
/*    cursor: pointer;*/
/*    margin-top: 15px;*/
/*}*/

/*!* 底部导航栏样式 *!*/
/*footer {*/
/*    background-color: #333;*/
/*    color: white;*/
/*    padding: 10px;*/
/*    text-align: center;*/
/*    position: fixed;*/
/*    bottom: 0;*/
/*    width: 100%;*/
/*    z-index: 2;*/
/*}*/

/*footer nav ul {*/
/*    list-style-type: none;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*}*/

/*footer nav ul li {*/
/*    margin: 0 15px;*/
/*}*/

/*footer nav ul li a {*/
/*    color: white;*/
/*    text-decoration: none;*/
/*}*/

/*!* ICP备案信息样式 *!*/
/*.icp-info {*/
/*    color: white;*/
/*    text-align: center;*/
/*    margin: 0;*/
/*    +++++++*/
/*    padding: 5px 0;*/
/*    font-size: 12px;*/
/*    background-color: #333;*/
/*}*/

/*!* 鼠标悬停在导航栏链接上的样式 *!*/
/*nav ul li a:hover {*/
/*    text-decoration: underline;*/
/*}*/

/*!* 表单输入框获得焦点时的样式 *!*/
/*input[type="text"]:focus,*/
/*input[type="email"]:focus,*/
/*textarea:focus {*/
/*    border-color: #007BFF;*/
/*    outline: none;*/
/*}*/

/*!* 测试按钮点击时的样式 *!*/
/*button#test-button:active {*/
/*    background-color: #0056b3;*/
/*}*/

/*!* 计算主要内容容器的最小高度，避免被底部导航栏覆盖 *!*/
/*body {*/
/*    position: relative;*/
/*}*/

/*.main-content {*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/*footer {*/
/*    position: fixed;*/
/*    bottom: 0;*/
/*    width: 100%;*/
/*    z-index: 2;*/
/*}*/


/* Python学习板块标题样式 */
#python-content h1 {
    color: #007BFF;
    font-size: 28px;
    margin-bottom: 10px;
}

/*!* Python基础语法代码块样式 *!*/
/*#python-content pre code {*/
/*    background-color: #f9f9f9;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 5px;*/
/*    padding: 10px;*/
/*    font-family: 'Courier New', Courier, monospace;*/
/*    line-height: 1.7;*/
/*    color: #333;*/
/*    display: block;*/
/*    overflow-x: auto;*/

/*}*/

/* Python示例代码标题样式 */
#python-content h2:first-of-type {
    color: #0056b3;
    margin-top: 20px;
}

/* Python练习题标题样式 */
#python-content h2:last-of-type {
    color: #009688;
    margin-top: 20px;
}

/* Python示例代码和练习题的段落样式 */
#python-content h2 + p {
    margin-top: 10px;
    line-height: 1.5;
    text-align: left;
}

#python-content {
    scrollbar-width: none;
}