-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop #668
base: master
Are you sure you want to change the base?
Develop #668
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"elementDivider": "__", | ||
"modifierDivider": "_", | ||
"ignore": [ | ||
"node_modules", | ||
"dist" | ||
], | ||
"rules": { | ||
"one-block": true, | ||
"one-element": true, | ||
"element-inside-parent-block": true, | ||
"no-double-element": true, | ||
"no-neighbour-parent-block": true, | ||
"modifiable-class": true | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ node_modules | |
# Generated files | ||
backstop_data | ||
dist | ||
.cache |
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,14 +1,29 @@ | ||||||||||||
<!doctype html> | ||||||||||||
<html lang="en"> | ||||||||||||
<head> | ||||||||||||
<meta charset="UTF-8"> | ||||||||||||
<meta name="viewport" | ||||||||||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||||||||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||||||||||||
<title>Enclosures</title> | ||||||||||||
<link rel="stylesheet" href="./style.css"> | ||||||||||||
</head> | ||||||||||||
<body> | ||||||||||||
<h1>Enclosures</h1> | ||||||||||||
</body> | ||||||||||||
<head> | ||||||||||||
<meta charset="UTF-8"> | ||||||||||||
<meta name="viewport" | ||||||||||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||||||||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||||||||||||
<title>Enclosures</title> | ||||||||||||
<link rel="stylesheet" href="./style.css"> | ||||||||||||
</head> | ||||||||||||
<body> | ||||||||||||
<!-- <h1>Enclosures</h1> --> | ||||||||||||
<div id="qa-block" class ="outer"> | ||||||||||||
<div class="med"> | ||||||||||||
<div class="inner">In programming languages, a closure is a technique for implementing lexically scoped name binding in a language with first-class functions. Operationally, a closure is a record storing a function together with an environment.</div> | ||||||||||||
</div> | ||||||||||||
</div > | ||||||||||||
<div class ="outer"> | ||||||||||||
<div class="med"> | ||||||||||||
<div class="inner">У програмуванні замиканням називають підпрограму, що виконується в середовищі, яке містить одну або більше зв’язаних змінних. Підпрограма має доступ до цих змінних під час виконання.</div> | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fix it like this everywhere |
||||||||||||
</div> | ||||||||||||
</div> | ||||||||||||
<div class ="outer"> | ||||||||||||
<div class="med"> | ||||||||||||
<div class="inner">Замыкание в программировании — функция первого класса, в теле которой присутствуют ссылки на переменные, объявленные вне тела этой функции в окружающем коде и не являющиеся её параметрами.</div> | ||||||||||||
</div> | ||||||||||||
</div> | ||||||||||||
</body> | ||||||||||||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
body { | ||
margin: 0; | ||
background-color: #000; | ||
font-size: 16px; | ||
} | ||
|
||
.outer { | ||
box-sizing: border-box; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. set box-sizing: border-box to all the elements with "*" selector |
||
width: 350px; | ||
padding: 10px; | ||
margin: 40px 20px; | ||
background-color: #0090c2; | ||
border: 1px solid #e95d49; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if border is the same for all the containers, then why not create another class for all the containers and write border there? |
||
} | ||
|
||
.med { | ||
box-sizing: border-box; | ||
padding: 10px; | ||
border: 1px solid #e95d49; | ||
background-color: #ffa100; | ||
} | ||
|
||
.inner { | ||
box-sizing: border-box; | ||
padding: 10px; | ||
border: 1px solid #e95d49; | ||
background-color: #dedede; | ||
} | ||
|
||
.outer:first-child { | ||
margin-top: 20px; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't make lines longer than 80 symbols