fix tabs
This commit is contained in:
parent
34346f32f9
commit
be2c52380c
21
.editorconfig
Normal file
21
.editorconfig
Normal file
@ -0,0 +1,21 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[{*.html,*.css,*.json}]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
[humans.txt]
|
||||
indent_style = tab
|
||||
indent_size = 2
|
||||
|
||||
[*.js]
|
||||
indent_style = space
|
||||
indent_size = 2
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
||||
*.sublime-*
|
@ -1,2 +1,5 @@
|
||||
# chola
|
||||
CHange Of LAyout ⌨
|
||||
# CHange Of LAyout ⌨
|
||||
|
||||
Меняем написанный текст буржуйской раскладки на нашинский.
|
||||
|
||||
И наоборот.
|
||||
|
@ -1,56 +1,60 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&subset=cyrillic');
|
||||
|
||||
:root {
|
||||
--color-primary: #fb4b4b;
|
||||
}
|
||||
|
||||
* {
|
||||
padding: 0; margin: 0; outline: 0;
|
||||
font-family: "Roboto";
|
||||
font-size: 1.1rem;
|
||||
padding: 0; margin: 0; outline: 0;
|
||||
font-family: "Roboto";
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
*::selection {
|
||||
color: #fb4b4b;
|
||||
background-color: var(--color-primary);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #ffffff;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
div.wrap {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
div.header {
|
||||
background-color: #fb4b4b;
|
||||
color: #ffffff;
|
||||
padding: 16px;
|
||||
background-color: var(--color-primary);
|
||||
color: #ffffff;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
div.content {
|
||||
margin: 16px 0;
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
button, textarea {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #fb4b4b;
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--color-primary);
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
button {
|
||||
color: #000000;
|
||||
background-color: #fb4b4b;
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
color: #000000;
|
||||
background-color: var(--color-primary);
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
button:hover {
|
||||
color: #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
textarea {
|
||||
|
||||
resize: none;
|
||||
resize: none;
|
||||
}
|
||||
textarea:disabled {
|
||||
background-color: #ffffff;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
BIN
docs/favicon.ico
Normal file
BIN
docs/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -1,23 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>chola</title>
|
||||
<link rel="stylesheet" href="css/app.css">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>chola</title>
|
||||
<link rel="stylesheet" href="css/app.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<div class="wrap">Change of Layout</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="wrap">
|
||||
<textarea id="one" rows="3" placeholder="Paste fail layout text" onchange="layoutReplace()"></textarea>
|
||||
<button>q > й</button>
|
||||
<textarea id="two" rows="3" disabled="disabled"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="wrap">Change of Layout</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="wrap">
|
||||
<textarea id="one" rows="3" placeholder="Paste fail layout text" onchange="layoutReplace()"></textarea>
|
||||
<button>q > й</button>
|
||||
<textarea id="two" rows="3" disabled="disabled"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="js/app.js"></script>
|
||||
<script src="js/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user