aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/css_object_model
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-27 02:31:24 +0300
committerGitHub <noreply@github.com>2021-10-27 02:31:24 +0300
commit980fe00a74a9ad013b945755415ace2e5429c3c2 (patch)
treea1c6bb4b302e69bfa53eab13e44500eba55d1696 /files/ru/web/api/css_object_model
parent374a039b97a11ee7306539d16aaab27fed66b398 (diff)
downloadtranslated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.gz
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.tar.bz2
translated-content-980fe00a74a9ad013b945755415ace2e5429c3c2.zip
[RU] Remove notranslate (#2874)
Diffstat (limited to 'files/ru/web/api/css_object_model')
-rw-r--r--files/ru/web/api/css_object_model/managing_screen_orientation/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/ru/web/api/css_object_model/managing_screen_orientation/index.html b/files/ru/web/api/css_object_model/managing_screen_orientation/index.html
index 34c3cb7125..673a22eafa 100644
--- a/files/ru/web/api/css_object_model/managing_screen_orientation/index.html
+++ b/files/ru/web/api/css_object_model/managing_screen_orientation/index.html
@@ -25,7 +25,7 @@ original_slug: Web/API/CSS_Object_Model/ориентация_экрана
<p>Пример. Имеется HTML страница:</p>
-<pre class="brush: html notranslate">&lt;ul id="toolbar"&gt;
+<pre class="brush: html">&lt;ul id="toolbar"&gt;
&lt;li&gt;A&lt;/li&gt;
&lt;li&gt;B&lt;/li&gt;
&lt;li&gt;C&lt;/li&gt;
@@ -36,7 +36,7 @@ original_slug: Web/API/CSS_Object_Model/ориентация_экрана
<p>Соответствующий CSS:</p>
-<pre class="brush: css notranslate">/* Сначала зададим простые стили */
+<pre class="brush: css">/* Сначала зададим простые стили */
html, body {
width : 100%;
@@ -79,7 +79,7 @@ li {
<p>Теперь разберёмся с поведением страницы в различных случаях ориентации.</p>
-<pre class="brush: css notranslate">/* Для портретного режима отправим панель на верхнюю часть области отображения */
+<pre class="brush: css">/* Для портретного режима отправим панель на верхнюю часть области отображения */
@media screen and (orientation: portrait) {
#toolbar {
@@ -146,7 +146,7 @@ li {
<p>Событие {{event("orientationchange")}} возникает каждый раз, когда устройство изменяет ориентацию экрана и самого себя, и может быть отслежено свойством {{domxref("Screen.orientation")}}.</p>
-<pre class="brush: js notranslate">screen.addEventListener("orientationchange", function () {
+<pre class="brush: js">screen.addEventListener("orientationchange", function () {
console.log("The orientation of the screen is: " + screen.orientation);
});
</pre>
@@ -157,7 +157,7 @@ li {
<p>Метод {{domxref("Screen.lockOrientation()")}} принимает одну или несколько строк для определения типа блокировки: <code>portrait-primary</code>, <code>portrait-secondary</code>, <code>landscape-primary</code>, <code>landscape-secondary</code>, <code>portrait</code>, <code>landscape</code>. Подробнее: {{domxref("Screen.lockOrientation")}}.</p>
-<pre class="brush: js notranslate">screen.lockOrientation('landscape');</pre>
+<pre class="brush: js">screen.lockOrientation('landscape');</pre>
<div class="note">
<p><strong>Примечание:</strong> Положение экрана зависит от конкретной настройки приложения. Если в приложении A экран блокируется на альбомную ориентацию (<code>landscape</code>), а приложение B блокирует экран на портретный режим (<code>portrait</code>),
@@ -170,7 +170,7 @@ li {
<p>Для Firefox OS и Firefox Android (скоро заработает и в десктопном Firefox) существует более специфичный способ: в файле манифеста вашего приложения можно указать <a href="/en-US/Apps/Build/Manifest#orientation">ориентацию</a>:</p>
-<pre class="brush: json notranslate">"orientation": "portrait"</pre>
+<pre class="brush: json">"orientation": "portrait"</pre>
<h2 id="Смотрите_также">Смотрите также</h2>