-
Notifications
You must be signed in to change notification settings - Fork 103
6212 СавиновМА Лаб. 2 #412
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
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| .list { | ||
| list-style-type: disc; | ||
| } | ||
| .list__item { | ||
| padding: 5px; | ||
| transition: color 0.3s ease; | ||
| } | ||
| .list__item:hover { | ||
| color: #f83030; | ||
| } | ||
| .family { | ||
| display: block; | ||
| } | ||
| .family__parent1 { | ||
| margin: 10px; | ||
| padding: 5px; | ||
| } | ||
|
|
||
| .parent1__child { | ||
| padding: 5px; | ||
| margin: 5px 10px; | ||
| color: red; | ||
| } | ||
| .family__parent2 { | ||
| color: orange; | ||
| margin: 10px; | ||
| padding: 5px; | ||
| } | ||
| .parent2__child { | ||
| color: #b4005a; | ||
| border: 1px dashed orange; | ||
| padding: 5px; | ||
| margin: 5px 10px; | ||
| } | ||
| .family__parent3 { | ||
| margin: 10px; | ||
| padding: 5px; | ||
| color: initial; | ||
| } | ||
| .parent3__child { | ||
| color: initial; | ||
| padding: 5px; | ||
| margin: 5px 10px; | ||
| } | ||
| .family__parent2 ~ .family__parent3, | ||
| .family__parent2 ~ .family__parent3 .parent3__child { | ||
| color: green; | ||
| } | ||
| .family__parent2 ~ .family__parent3 .parent2__child { | ||
| color: purple; | ||
| border: none; | ||
| } | ||
| .programming-text { | ||
| font-size: 16px; | ||
| } | ||
| .programming-text__link { | ||
| list-style-type: none; | ||
| text-decoration: none; | ||
| color: inherit; | ||
| font-weight: bold; | ||
| } | ||
| .programming-text__link::before { | ||
| content: "🌐"; | ||
| font-size: 10px; | ||
| } | ||
| .programming-list { | ||
| position: relative; | ||
| padding-bottom: 20px; | ||
| list-style-type: none | ||
| } | ||
| .programming-list::after { | ||
| content: ""; | ||
| display: block; | ||
| width: 200px; | ||
| height: 50px; | ||
| margin-top: 20px; | ||
| background-image: url('https://ssau.ru/i/logo/logo-white-ru.svg'); | ||
| background-repeat: no-repeat; | ||
| background-size: contain; | ||
| background-color: royalblue; | ||
| border-radius: 3px; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| <!DOCTYPE html> | ||
|
|
||
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <link rel="stylesheet" href="StyleSheet2.css"> | ||
| <title>Лабораторная работа №2</title> | ||
| </head> | ||
| <body> | ||
| <h1>Лабораторная работа 2</h1> | ||
| <section> | ||
| <h2>Задание 1</h2> | ||
| <p>Популярные стриминговые сервисы:</p> | ||
| <ul class="list"> | ||
| <li class="list__item">Netflix</li> | ||
| <li class="list__item">YouTube Premium</li> | ||
| <li class="list__item">Spotify</li> | ||
| <li class="list__item">Disney+</li> | ||
| <li class="list__item">Twitch</li> | ||
| </ul> | ||
| </section> | ||
| <section> | ||
| <h2>Задание 2</h2> | ||
| <div class="family"> | ||
| <div class="family__parent family__parent1"> | ||
| <h3>Parent 1</h3> | ||
| <div class="parent1__child">child 1</div> | ||
| <div class="parent1__child">child 2</div> | ||
| <div class="parent1__child">child 3</div> | ||
| <div class="parent1__child">child 4</div> | ||
| </div> | ||
|
|
||
| <div class="family__parent family__parent3"> | ||
| <h3>Parent 3</h3> | ||
| <div class="parent3__child">child 1</div> | ||
| <div class="parent3__child">child 2</div> | ||
| </div> | ||
|
|
||
| <div class="family__parent family__parent2"> | ||
| <h3>Parent 2</h3> | ||
| <div class="parent2__child">child 1</div> | ||
| <div class="parent2__child">child 2</div> | ||
| </div> | ||
|
|
||
| <div class="family__parent family__parent3"> | ||
| <h3>Parent 3</h3> | ||
| <div class="parent3__child">child 1</div> | ||
| <div class="parent3__child">child 2</div> | ||
| <div class="parent2__child">child 2</div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <section> | ||
| <div class=".programming-text"> | ||
| <h2>Задание 3</h2> | ||
| <p>Языки программирования — это инструменты, с помощью которых разработчики создают программное обеспечение, веб-приложения, игры, алгоритмы и многое другое. Каждый язык имеет свои особенности, синтаксис и сферу применения. Ниже представлены некоторые из наиболее известных языков:</p> | ||
| <ul class="programming-list"> | ||
| <li><a href="#" class="programming-text__link">Python</a> – высокоуровневый язык с простым синтаксисом, популярный в Data Science, веб-разработке и автоматизации.</li> | ||
| <li><a href="#" class="programming-text__link">JavaScript</a> – основной язык для фронтенд-разработки, работает в браузерах и на сервере (Node.js).</li> | ||
| <li><a href="#" class="programming-text__link">Java</a> – объектно-ориентированный язык, широко используется в корпоративных приложениях и Android-разработке.</li> | ||
| <li><a href="#" class="programming-text__link">C++</a> – мощный язык для системного программирования, игр и высокопроизводительных приложений.</li> | ||
| <li><a href="#" class="programming-text__link">C#</a> – язык от Microsoft, применяется в разработке под Windows, играх (Unity) и веб-приложениях.</li> | ||
| <li><a href="#" class="programming-text__link">Go (Golang)</a> – созданный Google, язык для высоконагруженных сетевых сервисов и облачных технологий.</li> | ||
| <li><a href="#" class="programming-text__link">Ruby</a> – известен благодаря фреймворку Ruby on Rails для веб-разработки.</li> | ||
| <li><a href="#" class="programming-text__link">Swift</a> – язык Apple для разработки под iOS и macOS.</li> | ||
| <li><a href="#" class="programming-text__link">Kotlin</a> – современный язык, официально поддерживаемый для Android-разработки.</li> | ||
| <li><a href="#" class="programming-text__link">Rust</a> – язык системного программирования с акцентом на безопасность и производительность.</li> | ||
| </ul> | ||
| <p>Это лишь малая часть из множества существующих языков, и выбор зависит от задач, которые нужно решить.</p> | ||
| </div> | ||
| </section> | ||
| </body> | ||
| </html> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Черные точки слева от элементов списка не очень красиво смотрятся, лучше уберите их, а символ "🌐" переместите слева от ссылки