<commit_before>
main > header {
  text-align: center;
  padding: 1%;
  margin-bottom: 0%;
}

.main-nav ul {
  display: none;
  list-style-type: none;
  padding-left: 3%;
}

.main-nav:hover ul {
  display: block;
  margin-top: 0%;
  margin-bottom: 0%
}

.main-nav li {
  padding-top: 1%;
  padding-bottom: 1%;
}

main > section{
  padding-left: 3%;
  /*these are mixed because I want the left padding to be responsive, but the top padding should always be based on the height of the icon, which is static */
  padding-top: 36px;
}

@media  only screen and (min-width: 600px) {

  .main-nav ul {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    display: block;
    list-style-type: none;
  }

  .main-nav:hover ul {
    margin-top: 0%;
  }

  .main-nav li {
    display: inline;
    margin-left: 5%;
    margin-right: 5%;
  }

  main > section {
    padding-top: 1em;
    margin-right: 3%
  }
}<commit_msg>solved the same problem in a smarter way<commit_after>
main > header {
  text-align: center;
  padding: 1%;
  margin-bottom: 0%;
}
.main-nav {
        /*these are mixed because I want the left padding to be responsive, but the top padding should always be based on the height of the icon, which is static */
  margin-bottom: 36px;
}
.main-nav ul {
  display: none;
  list-style-type: none;
  padding-left: 3%;
}

.main-nav:hover ul {
  display: block;
  margin-top: 0%;
  margin-bottom: 0%
}

.main-nav li {
  padding-top: 1%;
  padding-bottom: 1%;
}

main > section{
  padding-left: 3%;
}

@media  only screen and (min-width: 600px) {

  .main-nav ul {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    display: block;
    list-style-type: none;
  }

  .main-nav:hover ul {
    margin-top: 0%;
  }

  .main-nav li {
    display: inline;
    margin-left: 5%;
    margin-right: 5%;
  }

  main > section {
    margin-right: 3%
  }
}
{'fraction_non_alphanumeric': 0.1399793388429752, 'fraction_numerical': 0.02427685950413223, 'mean_word_length': 2.5541284403669726, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '610304', 'n_tokens_mistral': 777, 'n_tokens_neox': 719, 'n_words': 214}