CSS_Style_Quiz.css 1.95 KB
html {
    background-color: white;
    color: black;
    padding: 20px 0;
    font: 14px/28px "맑은 고딕", "Malgun Gothic", "굴림", "Gulim", Verdan, Arial, Tahoma;
}

p.Screen_Text {
    color: green;
}

h1.title {
    font-size: 3em;
    text-align: center;
    width: 90%;
    border-radius: 10px;
    padding: 20px 30px;
    margin: 30px auto;
    background-color: lightblue;
    text-align: center;
    color: black;
}

h3.subtitle {
    font-size: 1.5em;
    white-space: nowrap;
    background-color: lightgoldenrodyellow;
    text-align: center;
    border-radius: 20px;
    width: 99%;
}

img.mainimage {
    display: block;
    margin: auto;
    width: 40%;
}

ul.squre {
    list-style-type: square;
}

table {
    border-collapse: collapse;
    margin: 15px;
}

table,
th,
td {
    border: 1px solid black;
}

@media only screen and (min-width: 768px) {
    div.image {
        display: inline-block;
        vertical-align: top;
    }
    div.academic {
        width: 40%;
        display: inline-block;
        vertical-align: top;
        padding-left: 1em;
        box-sizing: border-box;
    }
    div.description {
        width: 99%;
        display: inline-block;
        vertical-align: top;
        padding-left: 1em;
        box-sizing: border-box;
    }
    p.Screen_Text {
        color: red;
    }
    div.description p {
        margin-top: 0;
    }
    .member ul>li {
        width: 25%;
    }
}

@media only screen and (min-width: 1025px) {
    div.image {
        width: 30%;
    }
    div.description {
        width: 50%;
        padding-right: 1em;
    }
    div.academic {
        width: 19%;
        float: right;
        box-sizing: border-box;
        display: inline-block;
        vertical-align: top;
    }
    p.Screen_Text {
        color: blue;
    }
    div.member>h3.subtitle {
        font-size: 20pt;
        width: 70%;
    }
    .member ul>li {
        font-size: 14pt;
        width: 100%;
    }
    h3 {
        margin-top: 0;
    }
}