Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2022-05-30 01:14:14 +0300
committerEvan Read <eread@gitlab.com>2022-05-30 01:14:14 +0300
commit7e06b75fa56205a5dbaf4a3245ed149d558368ea (patch)
treeba45774782e6647863cf589677f211e185e73153 /layouts
parentfc3b62d327d6a06cfab3c1d7bdd48051fb3755dd (diff)
Replace Bootstrap CSS with GitLab UI CSS
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.html2
-rw-r--r--layouts/head.html3
-rw-r--r--layouts/header.html4
3 files changed, 5 insertions, 4 deletions
diff --git a/layouts/default.html b/layouts/default.html
index 49da148d..9b2d91cc 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -8,7 +8,7 @@
<body itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target="#doc-nav" data-offset="90">
<%= render '/gtm.*' %>
<%= render '/header.*' %>
- <section class="gl-docs container-fluid mt-5">
+ <section class="gl-docs container-fluid mt-7">
<div class="row">
<div class="col-0 col-xl-2 pl-0">
<div class="nav-wrapper active">
diff --git a/layouts/head.html b/layouts/head.html
index c36d15ad..8ff3b090 100644
--- a/layouts/head.html
+++ b/layouts/head.html
@@ -29,7 +29,8 @@
<% end %>
<!-- End of CSP headers -->
-<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
+<link rel="stylesheet" href="/assets/stylesheets/gitlab-ui/index.css">
+<link rel="stylesheet" href="/assets/stylesheets/gitlab-ui/utility_classes.css">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>">
diff --git a/layouts/header.html b/layouts/header.html
index f22633c4..f77ff133 100644
--- a/layouts/header.html
+++ b/layouts/header.html
@@ -1,5 +1,5 @@
-<nav class="navbar navbar-expand-md navbar-dark py-lg-0 fixed-top">
- <a class="navbar-brand d-flex align-items-center justify-content-center" href="/">
+<nav class="navbar navbar-expand-md navbar-dark py-lg-0 px-3 fixed-top">
+ <a class="navbar-brand d-flex align-items-center justify-content-center mr-3" href="/">
<img src="<%= @items['/assets/images/gitlab-logo-header.svg'].path %>" alt="GitLab documentation home" class="logo" />
<span class="border-left border-light ml-2 pl-2">Docs</strong>
</a>