You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
327 lines
4.5 KiB
327 lines
4.5 KiB
/**********************************************************************************************************************
|
|
* RESET
|
|
***********************************************************************************************************************/
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-family: sans-serif; // 2
|
|
line-height: 1.15; // 3
|
|
-webkit-text-size-adjust: 100%; // 4
|
|
-ms-text-size-adjust: 100%; // 4
|
|
-ms-overflow-style: scrollbar; // 5
|
|
-webkit-tap-highlight-color: rgba(#000, 0); // 6
|
|
}
|
|
|
|
// IE10+ 에서 viewport 메타 태그가 먹지않는경우를 대비
|
|
@at-root {
|
|
@-ms-viewport {
|
|
width: device-width;
|
|
}
|
|
}
|
|
|
|
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
|
display: block;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: $font-family-base;
|
|
font-size: $font-size-base;
|
|
font-weight: $font-weight-base;
|
|
line-height: $line-height-base;
|
|
color: $body-color;
|
|
text-align: left;
|
|
background-color: $body-bg-color;
|
|
}
|
|
|
|
[tabindex="-1"]:focus {
|
|
outline: 0 !important;
|
|
}
|
|
|
|
hr {
|
|
box-sizing: content-box;
|
|
height: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
margin:0;
|
|
font-family:$font-family-heading;
|
|
}
|
|
|
|
p {
|
|
margin:0;
|
|
}
|
|
|
|
abbr[title],
|
|
abbr[data-original-title] {
|
|
text-decoration: underline;
|
|
text-decoration: underline dotted;
|
|
cursor: help; // 3
|
|
border-bottom: 0; // 1
|
|
}
|
|
|
|
address {
|
|
margin:0;
|
|
font-style: normal;
|
|
line-height: inherit;
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
dl {
|
|
margin:0;
|
|
}
|
|
|
|
|
|
ol ol,
|
|
ul ul,
|
|
ol ul,
|
|
ul ol {
|
|
margin:0;
|
|
}
|
|
|
|
dt {
|
|
font-weight: $font-weight-base;
|
|
}
|
|
|
|
dd {
|
|
margin:0;
|
|
}
|
|
|
|
blockquote {
|
|
margin:0;
|
|
}
|
|
|
|
dfn {
|
|
font-style: italic;
|
|
}
|
|
|
|
b,
|
|
strong {
|
|
font-weight: $font-weight-bold;
|
|
}
|
|
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
|
|
sub,
|
|
sup {
|
|
position: relative;
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub { bottom: -.25em; }
|
|
sup { top: -.5em; }
|
|
|
|
// 링크
|
|
a {
|
|
color: $link-color;
|
|
text-decoration: none;
|
|
background-color: transparent;
|
|
-webkit-text-decoration-skip: objects;
|
|
|
|
&:hover {
|
|
color: $link-hover-color;
|
|
text-decoration:none;
|
|
}
|
|
|
|
&:not([href]):not([tabindedx]) {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:focus {
|
|
outline: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 코드 관련
|
|
pre,
|
|
code,
|
|
kbd,
|
|
samp {
|
|
font-family: $font-family-base;
|
|
font-size: 1em;
|
|
}
|
|
|
|
pre {
|
|
margin:0;
|
|
overflow: auto;
|
|
-ms-overflow-style: scrollbar;
|
|
}
|
|
|
|
// 이미지 관련
|
|
figure {
|
|
margin: 0;
|
|
}
|
|
|
|
img {
|
|
vertical-align: middle;
|
|
border-style: none;
|
|
}
|
|
|
|
svg:not(:root) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
// 테이블 관련
|
|
table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
caption {
|
|
padding-top: $table-cell-padding;
|
|
padding-bottom: $table-cell-padding;
|
|
color: $body-color;
|
|
text-align: left;
|
|
caption-side: bottom;
|
|
}
|
|
|
|
th {
|
|
text-align: inherit;
|
|
}
|
|
|
|
// 폼관련
|
|
label {
|
|
display: inline-block;
|
|
margin:0;
|
|
}
|
|
|
|
button {
|
|
border-radius: 0;
|
|
|
|
&:focus {
|
|
outline: 1px dotted;
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
}
|
|
}
|
|
|
|
input,
|
|
button,
|
|
select,
|
|
optgroup,
|
|
textarea {
|
|
margin: 0;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
}
|
|
|
|
button,
|
|
input {
|
|
overflow: visible;
|
|
}
|
|
|
|
button,
|
|
select {
|
|
text-transform: none;
|
|
}
|
|
|
|
button,
|
|
html [type="button"],
|
|
[type="reset"],
|
|
[type="submit"] {
|
|
-webkit-appearance: button;
|
|
}
|
|
|
|
button::-moz-focus-inner,
|
|
[type="button"]::-moz-focus-inner,
|
|
[type="reset"]::-moz-focus-inner,
|
|
[type="submit"]::-moz-focus-inner {
|
|
padding: 0;
|
|
border-style: none;
|
|
}
|
|
|
|
input[type="radio"],
|
|
input[type="checkbox"] {
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
}
|
|
|
|
input[type="date"],
|
|
input[type="time"],
|
|
input[type="datetime-local"],
|
|
input[type="month"] {
|
|
-webkit-appearance: listbox;
|
|
}
|
|
|
|
textarea {
|
|
overflow: auto;
|
|
resize: vertical;
|
|
}
|
|
|
|
fieldset {
|
|
min-width: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
border: 0;
|
|
}
|
|
|
|
legend {
|
|
display: block;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
padding: 0;
|
|
margin:0;
|
|
font-size: 1.5rem;
|
|
line-height: inherit;
|
|
color: inherit;
|
|
white-space: normal;
|
|
}
|
|
|
|
progress {
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
[type="number"]::-webkit-inner-spin-button,
|
|
[type="number"]::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
[type="search"] {
|
|
outline-offset: -2px;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
[type="search"]::-webkit-search-cancel-button,
|
|
[type="search"]::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
|
|
::-webkit-file-upload-button {
|
|
font: inherit;
|
|
-webkit-appearance: button;
|
|
}
|
|
|
|
|
|
output {
|
|
display: inline-block;
|
|
}
|
|
|
|
summary {
|
|
display: list-item;
|
|
cursor: pointer;
|
|
}
|
|
|
|
template {
|
|
display: none;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|