Commit 18909cc7 authored by Simon's avatar Simon

Code review

parent 71fdd745
......@@ -74,6 +74,7 @@
height: 348px;
}
}
/* critical:end */
.l-section { background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; }
......@@ -91,7 +92,6 @@
background-size: 80%;
}
}
/* critical:end */
.l-section--landing-1 { background-position: 25% 0;
@media (--min--medium) {
......
......@@ -11,14 +11,11 @@
}
.c-nav--sub { display: none; }
/* critical:end */
/* critical:start */
.c-nav--main-item { position: relative; /* height: 70px; margin-right: 26px; padding: 23px 0 0; */ z-index: 500;
.c-nav--main-item { position: relative; z-index: 500;
&:first-child {
@media (--max--medium) {
text-align: left;
/* .c-nav--sub { left: 0; right: auto; } */
}
}
@media (--max--medium) {
......@@ -34,7 +31,6 @@
color: var(--color--blue-dark);
}
}
/* critical:end */
.c-nav--main-anchor { display: block; padding: 5px 0 4px; text-transform: uppercase; border-bottom: 2px solid transparent; font-weight: bold; letter-spacing: 1px; opacity: 0.6;
......@@ -45,9 +41,6 @@
@media (--max--medium) {
margin: 20px 0;
}
/* @media (--max--medium) {
right: 0; left: auto; top: 150%;
} */
@media (--min--medium) {
position: absolute; top: 100%;
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -33,7 +33,7 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2" crossorigin="anonymous" >
<style><?php include 'css/core-b6db19769a.min.css'; ?></style>
<style><?php include 'css/core-d4cda94f71.min.css'; ?></style>
<script>
document.documentElement.classList.replace('no-js', 'js');
......@@ -42,13 +42,13 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2" crossorigin="anonymous" >
<link rel="preload" href="/wp-content/themes/biuro/css/main-91df623b54.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/css/main-082b26472f.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-91df623b54.min.css">
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-082b26472f.min.css">
</noscript>
<?php wp_head(); ?>
......
......@@ -33,7 +33,7 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2" crossorigin="anonymous" >
<style><?php include 'css/core-b6db19769a.min.css'; ?></style>
<style><?php include 'css/core-d4cda94f71.min.css'; ?></style>
<script>
document.documentElement.classList.replace('no-js', 'js');
......@@ -42,13 +42,13 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2" crossorigin="anonymous" >
<link rel="preload" href="/wp-content/themes/biuro/css/main-91df623b54.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/css/main-082b26472f.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-91df623b54.min.css">
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-082b26472f.min.css">
</noscript>
<?php wp_head(); ?>
......
......@@ -19,8 +19,6 @@
<?php
endif;
?>
<meta name="description" content="<?php echo get_post_meta(get_the_ID(), '_yoast_wpseo_metadesc', true); ; ?>">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
......@@ -46,7 +44,7 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2" crossorigin="anonymous" >
<style><?php include 'css/core-b6db19769a.min.css'; ?></style>
<style><?php include 'css/core-d4cda94f71.min.css'; ?></style>
<script>
document.documentElement.classList.replace('no-js', 'js');
......@@ -55,18 +53,22 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2" crossorigin="anonymous" >
<link rel="preload" href="/wp-content/themes/biuro/css/main-91df623b54.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/css/main-082b26472f.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-91df623b54.min.css">
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-082b26472f.min.css">
</noscript>
<?php
if (get_post_meta( get_the_ID(), 'load-scripts', true ) == true):
wp_head();
else:
?>
<meta name="description" content="<?php echo get_post_meta(get_the_ID(), '_yoast_wpseo_metadesc', true); ; ?>">
<?php
endif;
if (get_post_type() == 'page'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment