<commit_before>window.onload = function() {
    var $body = $("body"),
        $window = $(window),
        $window_width = $window.width(),
        $window_height = $window.height(),
        $section_2 = $(".section-2"),
        $skill_row = $section_2.find(".skill-row"),
        $init_loading = $("#init-loading"),
        $loading_div = $init_loading.find("div"),
        $loading_div_height = $loading_div.height(),
        $skill_item = $(".skill-row").find(".item"),
        $skill_item_width = 0,
        $skill_row_height = 0,
        $section_2_padding_height = 0;

    $init_loading.css("height", 0).css("top", -$loading_div_height+"px");

    setTimeout(function() {
        $loading_div.css("display", "none");
        $body.removeClass("loading");
    }, 3000);

    if($skill_item.length > 0) {
        console.log($skill_row_height);
        console.log($skill_row.width()*0.2);
        if($skill_row_height > $skill_row.width()*0.2) {
            //가로 길이 사용
            console.log("가로사용");
            $skill_item_width = $skill_item.width();
            $skill_item.height($skill_item_width);
        } else {
            //세로 길이 사용
            console.log("세로사용");
            $section_2.addClass("height");
            $section_2_padding_height = $section_2.closest(".section").find(".border-section").innerHeight();
            $section_2.css("padding-top", $section_2_padding_height+"px");
            $skill_row_height = $skill_row.height();
            $skill_item.width($skill_row_height);
            $skill_item.height($skill_row_height);

        }
<commit_msg>메인 > 스킬 영역 스타일 개선 완료<commit_after>window.onload = function() {
    var $body = $("body"),
        $window = $(window),
        $window_width = $window.width(),
        $window_height = $window.height(),
        $section_2 = $(".section-2"),
        $skill_row = $section_2.find(".skill-row"),
        $init_loading = $("#init-loading"),
        $loading_div = $init_loading.find("div"),
        $loading_div_height = $loading_div.height(),
        $skill_item = $(".skill-row").find(".item"),
        $skill_item_width = 0,
        $skill_row_height = 0,
        $section_2_padding_height = 0;

    $init_loading.css("height", 0).css("top", -$loading_div_height+"px");

    setTimeout(function() {
        $loading_div.css("display", "none");
        $body.removeClass("loading");
    }, 3000);

    if($skill_item.length > 0) {
        $section_2_padding_height = $section_2.closest(".section").find(".border-section").innerHeight();
        $section_2.css("padding-top", $section_2_padding_height+"px");
        if($section_2.height() * 0.3 > $skill_row.width()*0.2) {
            //가로 길이 사용
            $skill_item_width = $skill_item.width();
            $skill_item.height($skill_item_width);
        } else {
            //세로 길이 사용
            $section_2.addClass("height");
            $skill_row_height = $skill_row.height();
            $skill_item.width($skill_row_height);
            $skill_item.height($skill_row_height);

        }

{'fraction_non_alphanumeric': 0.17424242424242425, 'fraction_numerical': 0.014822134387351778, 'mean_word_length': 2.4948216340621405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5973264', 'n_tokens_mistral': 1016, 'n_tokens_neox': 1058, 'n_words': 130}