[dg_ai_school] 웹프로그래밍 21

이채환·2021년 7월 26일
0

webprogramming

목록 보기
21/51

배운내용

  • 웹툰페이지 마무리

HTML

#webtoon-main .webtoon-main-right {
	float: right;

	width: 240px;
	height: 2000px;
	background-color: blue;
}

#webtoon-main .webtoon-main-right .webtoon-challenge-wrap {
	width: 100%;
	height: 255px;
	background-color: #f9f9fc;
    padding: 20px 18px;
}

#webtoon-main .webtoon-main-right .webtoon-challenge-wrap h3 {
    font-size: 18px;
    margin-bottom: 11px;
}

#webtoon-main .webtoon-main-right .webtoon-challenge-wrap h3 span {
    color: #00d564;
}

#webtoon-main .webtoon-main-right .webtoon-challenge-wrap img {
    width: 100%;
    height: 110px;
    margin-bottom: 18px;
}

#webtoon-main .webtoon-main-right .webtoon-challenge-wrap .webtoon-info a {
    font-size: 12px;
}

#webtoon-main .webtoon-main-right .webtoon-challenge-wrap .webtoon-info a:hover {
    text-decoration: underline;
}

#webtoon-main .webtoon-main-right .webtoon-challenge-wrap .webtoon-info .webtoon-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#webtoon-main .webtoon-main-right .webtoon-challenge-wrap .webtoon-info .webtoon-title-wrap h4 {
    font-size: 16px;
}

#webtoon-main .webtoon-main-right .webtoon-challenge-wrap .webtoon-info p a{
    color: gray;
}


#webtoon-main .webtoon-main-right .webtoon-banner.webtoon-banner-1 {
    width: 100%;
    height: 240px;
    background-color: indigo;
    margin-bottom: 8px;
}

#webtoon-main .webtoon-main-right .webtoon-banner.webtoon-banner-2 {
    width: 100%;
    height: 86px;
    background-color: lime;
    margin-bottom: 8px;
}


#webtoon-main .webtoon-main-right .webtoon-popular {   
    background-color: #ffffff;
    margin-bottom: 8px;
}

/* 추후 다른 요소에 쓰이도록 flex 사용해줌 */
#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-header h2 {
    font-size: 14px;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: solid 1px #e1e1e1;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-tabs .tab {
    width: 50%;
    height: 30px;
    border-bottom: solid 1px #e1e1e1;
    text-align: center;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-tabs .tab:first-child {
    border-right: solid 1px #e1e1e1;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-tabs .tab span {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 30px;

    font-size: 12px;
}
/* border 없애지말고 흰색으로 처리 */
#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-tabs .tab.active {
    border-bottom: solid 1px #ffffff;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking {
    width: 100%;
    background-color: #ffffff;
    padding: 15px 0 7px;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 13px;

    font-size: 12px;
    margin-bottom: 7px;
}


.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-content a {
    display: inline-block;
    width: 140px;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-content a:hover {
    text-decoration: underline;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-content .rank {
    margin-right: 5px;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 30px;
    height: 12px;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-box .status {
    width: 12px;
    height: 12px;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-box .status.status-stay {
    background-color: black;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-box .status.status-up {
    background-color: red;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-box .status.status-down {
    background-color: blue;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking li .rank-box .number {
    position: relative;
    display: inline-block;
    top: -1px;
}


/* 썸네일 이미지가 포함된 랭킹 */
#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking .rank.rank-custom {
    position: relative;
    top: -10px;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking .img-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 140px;
}

#webtoon-main .webtoon-main-right .webtoon-popular .webtoon-popular-ranking .img-wrap img {
    width: 30px;
    height: 33px;
    margin-right: 5px;
}

#webtoon-main .webtoon-main-right .webtoon-popular-ranking .img-wrap .webtoon-info {
    width: 100px;
}

#webtoon-main .webtoon-main-right .webtoon-popular-ranking .img-wrap .webtoon-info .webtoon-title,
#webtoon-main .webtoon-main-right .webtoon-popular-ranking .img-wrap .webtoon-info .author {
    width: 100px;
    display: block;
}


#webtoon-footer {
    padding-bottom: 78px;
    font-size: 12px;
}

#webtoon-footer .webtoon-container {
    
    padding-top: 40px;
    border-top: solid 1px #e6e7e8;
}

#webtoon-footer .webtoon-container .webtoon-footer-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    margin-bottom: 32px;
}

#webtoon-footer .webtoon-container .webtoon-footer-wrap .webtoon-footer-left, 
#webtoon-footer .webtoon-container .webtoon-footer-wrap .webtoon-footer-right {
    width: 50%;
    padding-left: 25px;
}

#webtoon-footer .webtoon-container .webtoon-footer-wrap .webtoon-footer-right {
    border-left: solid 1px #d9d9d9;
}

#webtoon-footer .webtoon-container .webtoon-footer-wrap ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 8px;
}

#webtoon-footer .webtoon-container .webtoon-footer-wrap ul li::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 11px;
    background-color: #d9d9d9;
    margin: 0 5px;
    vertical-align: -1px;
}

#webtoon-footer .webtoon-container .webtoon-footer-wrap ul li:first-child:before {
    content: initial;
}

#webtoon-footer .webtoon-container .webtoon-footer-wrap span {
    text-transform: uppercase;
}

#webtoon-footer .webtoon-container .webtoon-footer-paragraph {
    padding-left: 25px;
}


.webtoon-detail {
    padding-top: 0;
}

.webtoon-detail .nav-1 {
    background-color: #fafafa;
    border-bottom: solid 1px #ededed;
}

.webtoon-detail .nav-1 ul {
    display: flex;
    align-items: center;
}

.webtoon-detail .nav-1 ul li {
    width: auto;
    height: 36px;
    margin-right: 14px;
}

.webtoon-detail .nav-1 ul li:last-child {
    margin-right: 0;
}

.webtoon-detail .nav-1 ul li.on a {
    color: black;
    font-weight: 700;
}

.webtoon-detail .nav-1 ul li a {
    display: block;
    width: 100%;
    height: 100%;

    line-height: 36px;
    text-align: center;
    font-size: 12px;
    color: #434343;
}

.webtoon-detail .nav-2 {
    padding-top: 20px;
    border-bottom: solid 1px #ededed;
}

.webtoon-detail .nav-2 ul {
    display: flex;
    align-items: center;
}

.webtoon-detail .nav-2 ul li {
    margin-right: 14px;
    padding-bottom: 5px;
    border-bottom: solid 2px transparent;
}

.webtoon-detail .nav-2 ul li:last-child {
    margin-right: 0;
}

.webtoon-detail .nav-2 ul li a {
    font-size: 13px;
}

.webtoon-detail .nav-2 ul li.on {
    border-color: #00d564;
    margin-bottom: -1px;
    font-weight: 700;
}

.webtoon-detail .nav-2 ul li.on a {
    color: #00d564;
}

.webtoon-detail #webtoon-this-month {
    padding: 20px 0;
}

.webtoon-detail #webtoon-this-month h2 {
    font-size: 16px;
    margin-bottom: 8px;
}

.webtoon-detail #webtoon-this-month .webtoon-monthly-lists {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.webtoon-detail #webtoon-this-month .webtoon-monthly-list {
    width: 218px;
}

.webtoon-detail #webtoon-this-month .webtoon-monthly-list .monthly-img-wrap {
    position: relative;
    width: 100%;
    height: 120px;
    margin-bottom: 5px;
}

.webtoon-detail #webtoon-this-month .webtoon-monthly-list .monthly-img-wrap img {
    position: absolute;
    width: 100%;
    height: 100%;
}

.webtoon-detail #webtoon-this-month .webtoon-monthly-list .monthly-img-wrap .new-mark {
    position: absolute;
    width: 30px;
    background-color: #00c85e;
    color: #ffffff;
}

.webtoon-detail #webtoon-this-month .webtoon-monthly-list h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.webtoon-detail #webtoon-this-month .webtoon-monthly-list .author {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.webtoon-detail #webtoon-this-month .webtoon-monthly-list p {
    font-size: 14px;
}

.webtoon-detail #webtoon-daily {
    padding-top: 20px;
}

.webtoon-detail #webtoon-daily .webtoon-daily-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: solid 1px #eaeaea;
}

.webtoon-detail #webtoon-daily .webtoon-daily-title-wrap h2 {
    font-size: 16px;
}

.webtoon-detail #webtoon-daily .webtoon-daily-title-wrap ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.webtoon-detail #webtoon-daily .webtoon-daily-title-wrap ul li {
    margin-right: 10px;
    font-size: 12px;
    font-weight: 700;
}

.webtoon-detail #webtoon-daily .webtoon-daily-title-wrap ul li:last-child {
    margin-right: 10px;
}

.webtoon-detail #webtoon-daily .webtoon-daily-title-wrap ul li.on a {
    color: #00d564;
}

.webtoon-detail #webtoon-daily .webtoon-daily-title-wrap ul li a {
    color: gray;
}

.webtoon-detail #webtoon-daily .webtoon-day-lists {
    display: flex;
    align-items: stretch;
    border-bottom: solid 1px #f4f4f4;
}

.webtoon-detail #webtoon-daily .webtoon-day-lists .webtoon-day-list {
    width: 14.2855%;
    text-align: center;
    border-right: solid 1px #f4f4f4;

    padding: 0 8px;
}

.webtoon-detail #webtoon-daily .webtoon-day-lists .webtoon-day-list:last-child {
    border-right: none;
}

.webtoon-detail #webtoon-daily .webtoon-day-list.active {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
    color: #fdcb00;
}

.webtoon-detail #webtoon-daily .webtoon-day-list.active a {
    color: #fdcb00;
}

.webtoon-detail #webtoon-daily .webtoon-day-list span {
    display: block;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
}

.webtoon-detail #webtoon-daily .webtoon-day-list .webtoon-lists .webtoon-list {
    margin-bottom: 10px;
}

.webtoon-detail #webtoon-daily .webtoon-day-list .webtoon-list a {
    display: block;
    width: 100%;
}
.webtoon-detail #webtoon-daily .webtoon-day-list .webtoon-list a img {
    width: 100%;
    margin-bottom: 5px;
}
.webtoon-detail #webtoon-daily .webtoon-day-list .webtoon-list a h3 {
    font-size: 12px;
}


/* 네이버 블로그 페이지 */
.blog-container {
    width: 1080px;
    margin: 0 auto;
}

#blog-header .blog-header-top {
    height: 60px;
    background-color: #00c73c;
    border-bottom: 1px solid #51b036;
}

#blog-header .blog-header-top .blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    align-items: center;
}

#blog-header .blog-header-top .blog-header-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* margin-top: 8px; */
}

#blog-header .blog-header-top .blog-header-left h2 {
    margin-right: 20px;
    font-size: 20px;
}

#blog-header .blog-header-top .blog-header-left h2 a {
    color: #ffffff;
    font-weight: 700;
}

#blog-header .blog-header-top .blog-header-input-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#blog-header .blog-header-top .blog-header-input-wrap .blog-search-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    width: 325px;
    height: 40px;
    background-color: #ffffff;

    margin-right: 5px;
}

#blog-header .blog-header-top .blog-header-input-wrap .blog-search-wrap input {
    width: calc(100% - 40px);
    height: 40px;
    background-color: #ffffff;
    border: solid 1px #4da733;
    padding: 0 15px;
}

#blog-header .blog-header-top .blog-header-input-wrap .blog-search-wrap input:focus {
    outline: none;
}

#blog-header .blog-header-top .blog-header-input-wrap .blog-search-wrap .btn-search {
    width: 40px;
    height: 40px;
    background-color: #28a93a;
    border: solid 1px #239e36;
}

#blog-header .blog-header-top .blog-header-input-wrap .btn-total-search {
    width: auto;
    height: 40px;
    background-color: #28a93a;
    border: solid 1px #239e36;
    padding: 0 5px;

    line-height: 40px;
    color: #ffffff;
}


#blog-header .blog-header-top .blog-header-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

#blog-header .blog-header-top .blog-header-right .btn-login {
    display: inline-block;
    padding: 5px 10px;
    border: solid 1px #239e36;
    margin-right: 20px;

    color: #ffffff;
    font-size: 12px;
}

#blog-header .blog-header-top .blog-header-right .btn-menu {
    width: 60px;
    height: 60px;
    
    border-left: solid 1px #239e36;
    border-right: solid 1px #239e36;
    cursor: pointer;
}

#blog-header .blog-header-nav {
    height: 40px;
    border-bottom: solid 1px #e5e5e5;
    background-color: #ffffff;
}
#blog-header .blog-header-nav .blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#blog-header .blog-header-nav .nav-left ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#blog-header .blog-header-nav .nav-left ul li {
    height: 40px;
    margin-right: 16px;
    border-bottom: 3px solid transparent;
}

#blog-header .blog-header-nav .nav-left ul li:hover,
#blog-header .blog-header-nav .nav-left ul li.on {
    border-bottom: 3px solid #00ab33;
}

#blog-header .blog-header-nav .nav-left ul li:hover a,
#blog-header .blog-header-nav .nav-left ul li.on a{
    color: #00ab33;
    font-weight: 700;
}

#blog-header .blog-header-nav .nav-left ul li a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 40px;
    font-size: 13px;
}

#blog-header .blog-header-nav .nav-right ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

#blog-header .blog-header-nav .nav-right ul li {
    width: auto;
    height: 26px;
    border: solid 1px rgba(0, 0, 0, 0.07);
    margin-left: 8px;
}

#blog-header .blog-header-nav .nav-right ul li a {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid #cecece;

    line-height: 20px;
    padding: 0 10px;
    font-size: 13px;
}

#blog-header .blog-header-nav .nav-right ul li.on a{
    background-color: #00c73c;
    border-color: rgba(0, 0, 0, 0.07);
    color: #ffffff;
}

#blog-main {
    padding-top: 0;
}

#blog-main #hot-topic {
    height: 305px;
    background-color: #f5f5f5;
    padding: 20px 0 15px;
}

#blog-main #hot-topic .blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#blog-main #hot-topic .hot-topic-left {
    position: relative;
    width: 770px;
}

#blog-main #hot-topic .hot-topic-left .topic-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 11px;
}

#blog-main #hot-topic .hot-topic-left .topic-heading h3 {
    font-size: 16px;
    font-weight: 600;
    color: #e55e5e;
}

#blog-main #hot-topic .hot-topic-left .topic-heading i {
    display: block;
    width: 8px;
    height: 13px;
    background-color: gray;
    margin: 0 8px;
}
#blog-main #hot-topic .hot-topic-left .topic-heading a {
    font-size: 16px;
}
#blog-main #hot-topic .hot-topic-left .topic-heading h3:hover, 
#blog-main #hot-topic .hot-topic-left .topic-heading a:hover {
    cursor: pointer;
    text-decoration: underline;
}


#blog-main #hot-topic .hot-topic-left .topic-lists {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#blog-main #hot-topic .hot-topic-left .topic-lists li {
    position: relative;
    width: 252px;
    height: 240px;
}

#blog-main #hot-topic .hot-topic-left .topic-lists li a img {
    position: absolute;
    width: 100%;
    height: 100%;
}

#blog-main #hot-topic .hot-topic-left .topic-lists li a p {
    position: absolute;
    width: 100%;
    background-color: rgba(55, 66, 87, 0.9);
    padding: 20px 18px;
    bottom: 0;
    color: #ffffff;
    text-align: center;
}

#blog-main #hot-topic .pagination-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;

    position: absolute;
    top: 0;
    right: 0;
}

#blog-main #hot-topic .pagination-wrap a {
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(221, 221, 223, 0.8);
    background-color: #f6f6f7;
    margin-left: 4px;

    color: #888;
    font-size: 12px;
    text-align: center;
    line-height: 17px;
}

#blog-main #hot-topic .pagination-wrap a.on {
    border: 1px solid #69707d;
    background-color: #69707d;
    color: #fff;
}

#blog-main #hot-topic .pagination-wrap a:hover {
    border: 1px solid #69707d;
}

#blog-main #hot-topic .hot-topic-right {
    position: relative;
    width: 280px;
    padding-top: 30px;
}

#blog-main #hot-topic .hot-topic-right .topic-banner {
    width: 100%;
    height: 240px;
    background-color: royalblue;
}


#blog-main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 20px;
}

#blog-main-content .blog-main-left {
    width: 770px;
    height: 2000px;
    /* background-color: skyblue; */
}

#blog-main-content .blog-main-left #blog-main-notification {
    background-color: #ffffff;
    padding: 54px 0;
    text-align: center;
}

#blog-main-content .blog-main-left #blog-main-notification p {
    line-height: 30px;
    font-size: 16px;
}

#blog-main-content .blog-main-left #blog-article .blog-article-nav {
    border-top: solid 1px #999;
    border-bottom: solid 1px #999;
    background-color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
}

#blog-main-content  #blog-article .blog-article-nav ul { 
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#blog-main-content  #blog-article .blog-article-nav ul li {
    margin-right: 22px;
}

#blog-main-content  #blog-article .blog-article-nav ul li.on a {
    color: #00ab33;
    font-weight: 700;
}

#blog-main-content  #blog-article .blog-article-nav ul li:hover a {
    text-decoration: underline;
}


#blog-main-content  #blog-article .blog-article-lists li {
    border-bottom: solid 1px #eeeeef;
    padding: 25px 0 23px;
}

#blog-main-content  #blog-article .blog-article-lists li a {
    display: block;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    height: 100%;
}

#blog-main-content .blog-article-lists .blog-article-info {
    width: 573px;
}

#blog-main-content .blog-article-lists .blog-article-info .blog-profile-wrap {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
}

#blog-main-content .blog-article-lists .blog-article-info .blog-profile-wrap img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

#blog-main-content .blog-article-lists .blog-article-info .blog-profile-wrap .blog-profile-info h3 {
    font-size: 14px;
    margin-bottom: 3px;
}
#blog-main-content .blog-article-lists .blog-article-info .blog-profile-wrap .blog-profile-info p {
    font-size: 11px;
    color: #959595;
}

#blog-main-content .blog-article-lists .blog-article-info h2 {
    margin-top: 16px;
    font-size: 17px;
}

#blog-main-content .blog-article-lists .blog-article-info .blog-profile-wrap .blog-profile-info:hover h3,
#blog-main-content .blog-article-lists .blog-article-info h2:hover,
#blog-main-content .blog-article-lists .blog-article-info .paragraph:hover {
    text-decoration: underline;
}

#blog-main-content .blog-article-lists .blog-article-info .paragraph {
    max-height: 60px;
    margin-top: 10px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 13px;
    color: #666666;
    line-height: 20px;
}

/* letter-spacing: 글자 좌우간격 */
#blog-main-content .blog-article-lists .blog-article-info .comments {
    margin-top: 14px;
    color: #959595;
    font-size: 12px;
    /* letter-spacing: -1px; */
}

#blog-main-content .blog-article-lists .blog-article-info .comments span {
    margin-right: 9px;
}

#blog-main-content .blog-article-lists .blog-article-info .comments span em {
    font-style: normal;
}

#blog-main-content .blog-article-lists .blog-article-img-wrap {
    position: relative;
    width: 167px;
    height: 167px;
}

#blog-main-content .blog-article-lists .blog-article-img-wrap img {
    position: absolute;
    width: 100%;
    height: 100%;
}

#blog-main-content .blog-article-lists .blog-article-img-wrap i {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.07);
    bottom: 0;
    right: 0;
}

#blog-main-content .blog-article-pagination-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    height: 28px;
    margin: 40px 0 70px;
    color: #666;
    text-align: center;
}

#blog-main-content .blog-article-pagination-wrap a {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 1px solid #ffffff;
    margin: 0 1px;
    padding: 0 6px;
    font-size: 13px;
    line-height: 24px;
}
#blog-main-content .blog-article-pagination-wrap a.on {
    border: 1px solid #e0e0e0;
    color: #00ab33;
    font-weight: 600;
}
#blog-main-content .blog-article-pagination-wrap a:hover {
    border: 1px solid #e0e0e0;
}

#blog-main-content .blog-article-pagination-wrap .btn-next {
    margin-left: 12px;
    height: 28px;
    padding-right: 15px;

    background-image: url(../img/next.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 12px 12px;

    text-align: center;
    font-size: 13px;
    line-height: 28px;
    cursor: pointer;
}
#blog-main-content .blog-article-pagination-wrap .btn-next:hover {
    text-decoration: underline;
}

#blog-main-content .blog-main-right {
    width: 280px;
    height: 2000px;
    /* background-color: skyblue; */
}

#blog-main-content .blog-main-right #blog-account {
    width: 100%;
    border: solid 1px #dddddf;
    background-color: #f5f5f6;
    padding: 20px 15px;
    margin-bottom: 12px;
}

#blog-main-content .blog-main-right #blog-account p {
    font-size: 11px;
    margin-bottom: 7px;
    color: #888;
}

#blog-main-content .blog-main-right #blog-account a {
    display: block;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    border: solid 1px #ccc;
    padding: 10px 0;
    margin-bottom: 14px;

    color: #000000;
    font-weight: 700;

    text-align: center;
    font-size: 13px;
}

#blog-main-content .blog-main-right #blog-account .account-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#blog-main-content .blog-main-right #blog-account .account-sub span {
    font-size: 11px;
    color: #888;
}

#blog-main-content .blog-main-right #blog-account .account-sub em {
    display: inline-block;
    width: 1px;
    height: 11px;
    background-color: #c5c5c5;
    vertical-align: -2px;
}


#blog-main-content .blog-main-right #blog-banner {
    width: 100%;
    height: 240px;
    border: solid 1px #dddddf;
    background-color: darkmagenta;
}

#blog-main-content .blog-main-right .blog-guide {
    border: solid 1px #dddddf;
    border-width: 0 1px 1px;
    padding: 19px 20px;
}

#blog-main-content .blog-main-right .blog-guide a {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    align-items: center;
}

#blog-main-content .blog-main-right .blog-guide p {
    width: 170px;
    font-size: 17px;
    line-height: 25px;
    color: #222;
}

#blog-main-content .blog-main-right .blog-guide p span {
    font-size: 18px;
    font-weight: 700;
}

#blog-main-content .blog-main-right .blog-guide i {
    display: inline-block;
    width: 65px;
    height: 65px;
    background-color: olivedrab;
}


#blog-main-content #blog-notice {
    border: solid 1px #dddddf;
    border-width: 0 1px 1px;
    padding: 24px 22px 22px;
}

#blog-main-content #blog-notice .blog-notice-heading {
    margin-bottom: 13px;
}

#blog-main-content #blog-notice .blog-notice-heading:hover a h3 {
    text-decoration: underline;
}

#blog-main-content #blog-notice .blog-notice-heading a {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    align-items: center;
}

#blog-main-content #blog-notice .blog-notice-heading a h3 {
    font-size: 14px;
    font-weight: 600;
}

#blog-main-content #blog-notice .blog-notice-heading a i {
    width: 8px;
    height: 13px;
    background-color: orange;
}

#blog-main-content #blog-notice .blog-notice-lists li:hover a {
    text-decoration: underline;
}
#blog-main-content #blog-notice .blog-notice-lists li a {
    font-size: 12px;
}

#blog-main-content #blog-helper {
    border: solid 1px #dddddf;
    border-width: 0 1px 1px;
    padding: 24px 16px;
}
#blog-main-content #blog-helper .blog-helper-lists li {
    font-size: 14px;
    margin-bottom: 10px;
}
#blog-main-content #blog-helper .blog-helper-lists li:hover a {
    text-decoration: underline;
}

#blog-main-content #blog-helper .blog-helper-lists li a {
    display: block;
    height: 35px;

    padding-left: 30px;
    background-image: url(../img/checkbox.png);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 20px 20px;

    line-height: 35px;
}


#blog-footer {
    padding-top: 40px;
    padding-bottom: 55px;
    background-color: #f6f6f6;

    text-align: center;
}

#blog-footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    margin-bottom: 20px;
}

#blog-footer ul li a {
    font-size: 13px;
}

#blog-footer ul li a::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 11px;
    background-color: #d7d7d7;
    margin: 0 10px;
    vertical-align: -1px;
}

#blog-footer ul li:first-child a::before {
    content: initial;
}

#blog-footer p {
    font-size: 11px;
}

css

  
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

ul,
li {
    list-style: none;
}

a {
    color: #000;
    text-decoration: none;
}

input,
textarea {
    outline: none;
}

button {
    border: none;
}

.clearfix {
    clear: both;
}

.container {
    width: 1130px;
    margin: 0 auto;
}

/*webtoon.html*/
/*header*/
.webtoon_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 960px;
    margin: 0 auto;
}

#webtoon_header {
    background-color: #fff;
}

.webtoon_header_top {
    padding: 10px 0 8px 0;
    border-bottom: solid 1px #f2f2f2;
    background-color: #fff;
}

.webtoon_header_left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 550px;
    vertical-align: middle;
}

.webtoon_header_left h2 a {
    font-size: 25px;
    margin-right: 10px;
}

.webtoon_header_left .naver_logo a {
    display: block;
    font-size: 13px;
    margin-right: 10px;
    font-weight: bold;
}

.bar {
    width: 1px;
    height: 15px;
    background-color: #d2d2d2;
    margin-right: 10px;
}

.webtoon_header_left h3 a {
    font-size: 16px;
    color: #434343;
    margin-right: 20px;
}

.webtoon_header_input_wrap {
    display: flex;
    flex-wrap: wrap;
    width: 315px;
    height: 37px;
    border: solid 1px #e5e5e5;
}

.webtoon_header_input_wrap input {
    width: calc(100% - 35px);
    height: 100%;
    border: none;
    padding: 0 10px;
}


.webtoon_header_input_wrap input:focus {
    outline: none;
}

.btn_search {
    width: 35px;
    height: 100%;
    background-color: #00d564;
    cursor: pointer;
}

.webtoon_header_right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.webtoon_header_right .btn_login {
    font-size: 12px;
    color: #666;
    border: solid 1px rgba(0, 0, 0, .4);
    margin-right: 14px;
    padding: 2px 4px;
}

.btn_menu {
    width: 16px;
    height: 16px;
    background-color: rgba(0, 0, 0, .1);
}

.webtoon_header_nav {
    border-bottom: solid 1px #e5e5e5;
}

.webtoon_header_nav .webtoon_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.webtoon_header_nav nav {}

.webtoon_header_nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.webtoon_header_nav li {
    width: auto;
    height: 40px;
    line-height: 40px;
}

.webtoon_header_nav li.on a {
    background-color: #00d564;
    color: #fff;
}

.webtoon_header_nav ul li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    font-size: 14px;
    font-weight: bold;
}

.webtoon_header_link_wrap {
    display: flex;
    justify-content: space-between;
}

.webtoon_header_link_wrap .icon_ex_mark {
    display: inline-block;
    width: 16px;
    height: 14px;
    background-color: #000;
    vertical-align: middle;
}

.webtoon_header_link_wrap a {
    display: inline-block;
    font-size: 12px;
    color: #606060;
    margin-left: 7px;
    vertical-align: middle;
}

.webtoon_header_link_wrap a:hover {
    text-decoration: underline;
}

/*webtoon_main*/
#webtoon_main {}

#webtoon_main .webtoon_container {
    overflow: hidden;
}

#webtoon_main .webtoon_main_left {
    float: left;
    width: 694px;
    height: 2000px; 
}

.webtoon_carousel {
    width: 694px;
    height: 252px;
    overflow: hidden;
    margin-top: 12px;
}

.webtoon_border {
    border: solid 1px #ced2d7;
}


.webtoon_carousel_left {
    float: left;
    width: 112px;
    padding: 20px 5px 0 15px;
}

.webtoon_carousel_left h2 {
    font-size: 23px;
    margin-bottom: 13px;
}

.webtoon_carousel_left h2 span{
    color: #00d564;
}

.webtoon_carousel_left p {
    font-size: 12px;
    color: #808285;
}

.webtoon_carousel_left ul {
    margin-top: 35px;
}

.webtoon_carousel_left li {
    margin-bottom: 5px;
}

.webtoon_carousel_left li.on a {
    color: #00d564;
}

.webtoon_carousel_left li:last-child {
    margin-bottom: 0; 
}

.webtoon_carousel_left a {
    font-size: 12px;
    font-weight: bold;
    color: #434343;
}

.webtoon_carousel_right {
    float: right;
    width: calc(100% - 112px);
}

.webtoon_carousel_banner {
    width: 582px;
    height: 195px;
}

.webtoon_carousel_banner img {
    width: 100%;
    height: 100%;
}

.webtoon_carousel_banner_nav {
    position: relative;
}

.webtoon_carousel_banner_nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 540px;
    margin: 0 auto;
}

.webtoon_carousel_banner_nav ul li {
    width: 135px;
    height: 57px;
    border-left: solid 1px #e5e5e5;
    border-right: solid 1px #e5e5e5;
}

.webtoon_carousel_banner_nav ul li:first-child {
    border-left: none;
}
.webtoon_carousel_banner_nav ul li:last-child {
    border-right: none;
}

.webtoon_carousel_banner_nav img {
    width: 100%;
    height: 100%;
}

.btn_prev {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 57px;
    background-color: rgba(0, 0, 0, 0.1);
}

.btn_next {
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 57px;
    background-color: rgba(0, 0, 0, 0.1);
}


#webtoon_main .webtoon_main_right {
    float: right;
    width: 240px;
    height: 2000px;
    background-color: rgba(0, 0, 0, 0.2);
}

.webtoon_main_right {
    margin-top: 12px;
}

어려운점

  • 페이지 버튼이나 작은 사각형 하나씩 일일이 설정을 해줘야 해서 적어야 할 것이 너무 많아져 헷갈리거나 오타가 너무 많이 발생함

  • 각종 태그나 입력을 할 때 어디서 막히는 건지 찾을 수가 없어 다시 작성하는 불상사가 발생함

해결방법

  • 어디가 문제인지 찾다가 보면 ; 혹은 오탈자 찾아내는데 시간을 씀

  • 가상선택자에 관한 개념이 헷갈림

학습소감

  • 개인적으로 강의를 보고 따라적었지만, 이렇게 하면 안될 것 같다는 불안감이 들어서 고민이 많이 됨
profile
Please be wonderful but don't be so serious, enjoy this journey with the good people!

0개의 댓글

관련 채용 정보