Commit e604d2f6 authored by Craig Norris's avatar Craig Norris

Merge branch 'patch-265' into 'master'

Style guide: Removed info about image shadows

See merge request gitlab-org/gitlab!45919
parents 959ca190 8168397c
...@@ -14,7 +14,7 @@ environment, reducing the effort to assess the impact of changes. Thus, when we ...@@ -14,7 +14,7 @@ environment, reducing the effort to assess the impact of changes. Thus, when we
and it will immediately be clear that the application can still be properly built and deployed. After all, you can _see_ it and it will immediately be clear that the application can still be properly built and deployed. After all, you can _see_ it
running! running!
<img src="img/deployed_dependency_update.png" alt="dependencies.io" class="image-noshadow"> <img src="img/deployed_dependency_update.png" alt="dependencies.io">
However, looking at the freshly deployed code to check whether it still looks and behaves as However, looking at the freshly deployed code to check whether it still looks and behaves as
expected is repetitive manual work, which means it is a prime candidate for automation. This is expected is repetitive manual work, which means it is a prime candidate for automation. This is
......
...@@ -1237,16 +1237,6 @@ that: ...@@ -1237,16 +1237,6 @@ that:
- Are accurate, succinct, and unique. - Are accurate, succinct, and unique.
- Don't use _image of…_ or _graphic of…_ to describe the image. - Don't use _image of…_ or _graphic of…_ to describe the image.
### Remove image shadow
All images displayed on the [GitLab documentation site](https://docs.gitlab.com)
have a box shadow by default. To remove the box shadow, use the image class
`.image-noshadow` applied directly to an HTML `img` tag:
```html
<img src="path/to/image.jpg" alt="Alt text (required)" class="image-noshadow">
```
### Compress images ### Compress images
You should always compress any new images you add to the documentation. One You should always compress any new images you add to the documentation. One
......
...@@ -29,7 +29,7 @@ directly from a repository in GitLab. ...@@ -29,7 +29,7 @@ directly from a repository in GitLab.
</ul> </ul>
</p> </p>
</div> </div>
<div class="col-md-3"><img src="img/ssgs_pages.png" alt="Examples of SSGs supported by Pages" class="image-noshadow middle display-block"></div> <div class="col-md-3"><img src="img/ssgs_pages.png" alt="Examples of SSGs supported by Pages" class="middle display-block"></div>
</div> </div>
To publish a website with Pages, you can use any SSG, To publish a website with Pages, you can use any SSG,
...@@ -89,7 +89,7 @@ need admin access to your domain's registrar (or control panel) to set it up wit ...@@ -89,7 +89,7 @@ need admin access to your domain's registrar (or control panel) to set it up wit
The following diagrams show the workflows you might follow to get started with Pages. The following diagrams show the workflows you might follow to get started with Pages.
<img src="img/new_project_for_pages_v12_5.png" alt="New projects for GitLab Pages" class="image-noshadow"> <img src="img/new_project_for_pages_v12_5.png" alt="New projects for GitLab Pages">
## Access to your Pages site ## Access to your Pages site
......
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