|
| 1 | + |
| 2 | +*, |
| 3 | +*:before, |
| 4 | +*:after { |
| 5 | + box-sizing: border-box; |
| 6 | + outline: none; |
| 7 | +} |
| 8 | + |
| 9 | +html { |
| 10 | + font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', |
| 11 | + Roboto, 'Helvetica Neue', Arial, sans-serif; |
| 12 | + font-size: 16px; |
| 13 | + word-spacing: 1px; |
| 14 | + -ms-text-size-adjust: 100%; |
| 15 | + -webkit-text-size-adjust: 100%; |
| 16 | + -moz-osx-font-smoothing: grayscale; |
| 17 | + -webkit-font-smoothing: antialiased; |
| 18 | + box-sizing: border-box; |
| 19 | +} |
| 20 | + |
| 21 | +body { |
| 22 | + margin: 0; |
| 23 | + padding: 0; |
| 24 | + overflow-x: hidden; |
| 25 | + background: #f2f3f5; |
| 26 | +} |
| 27 | + |
| 28 | +#app { |
| 29 | + font-family: 'Avenir', Helvetica, Arial, sans-serif; |
| 30 | + -webkit-font-smoothing: antialiased; |
| 31 | + -moz-osx-font-smoothing: grayscale; |
| 32 | + color: black; |
| 33 | + font-size: 16px; |
| 34 | + line-height: 1.6; |
| 35 | +} |
| 36 | + |
| 37 | +#main { |
| 38 | + min-height: calc(100vh - 275px); |
| 39 | + margin-top: 60px; |
| 40 | + margin-bottom: 40px; |
| 41 | + background: white; |
| 42 | + padding-top: 20px; |
| 43 | + padding-bottom: 20px; |
| 44 | + position: relative; |
| 45 | +} |
| 46 | + |
| 47 | +h1, |
| 48 | +h2, |
| 49 | +h3, |
| 50 | +h4, |
| 51 | +h5 { |
| 52 | + margin: 0; |
| 53 | +} |
| 54 | + |
| 55 | +.container { |
| 56 | + padding-right: 15px; |
| 57 | + padding-left: 15px; |
| 58 | + margin-right: auto; |
| 59 | + margin-left: auto; |
| 60 | + max-width: 768px; |
| 61 | + width: 100%; |
| 62 | +} |
| 63 | + |
| 64 | +code { |
| 65 | + padding: 2px 4px; |
| 66 | + font-size: 90%; |
| 67 | + color: #c7254e; |
| 68 | + background-color: #f9f2f4; |
| 69 | + border-radius: 4px; |
| 70 | + word-break: break-word; |
| 71 | + |
| 72 | + .good & { |
| 73 | + color: green; |
| 74 | + } |
| 75 | +} |
| 76 | + |
| 77 | +img { |
| 78 | + max-width: 100%; |
| 79 | + height: auto; |
| 80 | + display: block; |
| 81 | + margin-left: auto; |
| 82 | + margin-right: auto; |
| 83 | +} |
| 84 | + |
| 85 | +figure, |
| 86 | +.wp-caption { |
| 87 | + max-width: 100%; |
| 88 | + margin: 1em 0; |
| 89 | + clear: both; |
| 90 | + display: block; |
| 91 | + margin-left: auto; |
| 92 | + margin-right: auto; |
| 93 | +} |
| 94 | + |
| 95 | +.wp-caption { |
| 96 | + .wp-caption-text { |
| 97 | + margin: 0.8075em 0; |
| 98 | + text-align: center; |
| 99 | + } |
| 100 | +} |
| 101 | + |
| 102 | +.page-enter-active, |
| 103 | +.page-leave-active { |
| 104 | + transition: opacity .4s |
| 105 | +} |
| 106 | + |
| 107 | +.page-enter, |
| 108 | +.page-leave-active { |
| 109 | + opacity: 0 |
| 110 | +} |
| 111 | + |
| 112 | +.layout-enter-active, .layout-leave-active { |
| 113 | + transition: opacity .5s |
| 114 | +} |
| 115 | + |
| 116 | +.layout-enter, .layout-leave-active { |
| 117 | + opacity: 0 |
| 118 | +} |
| 119 | + |
| 120 | +.slide-left-enter, |
| 121 | +.slide-right-leave-active { |
| 122 | + opacity: 0; |
| 123 | + transform: translate(30px, 0); |
| 124 | + transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0); |
| 125 | +} |
| 126 | + |
| 127 | +.slide-left-leave-active, |
| 128 | +.slide-right-enter { |
| 129 | + opacity: 0; |
| 130 | + transform: translate(-30px, 0); |
| 131 | + transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0); |
| 132 | +} |
| 133 | + |
| 134 | + |
| 135 | +.slide-fade-enter-active { |
| 136 | + transition: all .3s ease; |
| 137 | +} |
| 138 | + |
| 139 | +.slide-fade-leave-active { |
| 140 | + transition: all .5s cubic-bezier(1.0, 0.5, 0.8, 1.0); |
| 141 | +} |
| 142 | + |
| 143 | +.slide-fade-enter, .slide-fade-leave-to { |
| 144 | + transform: translateX(10px); |
| 145 | + opacity: 0; |
| 146 | +} |
0 commit comments