This commit is contained in:
itqop 2024-03-17 21:45:52 +03:00
parent b5b9236a78
commit 13dbea88fa
1 changed files with 22 additions and 3 deletions

View File

@ -11,7 +11,26 @@
=======================*/ =======================*/
.page_404{ padding:40px 0; background:#fff; font-family: 'Arvo', serif; .page_404{
padding:40px 0;
background:#fff;
display: table;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.middle {
display: table-cell;
vertical-align: middle;
}
.inner {
margin-left: auto;
margin-right: auto;
width: 400px;
/* Whatever width you want */
} }
.page_404 img{ width:100%;} .page_404 img{ width:100%;}
@ -42,10 +61,10 @@
.contant_box_404{ margin-top:-50px;} .contant_box_404{ margin-top:-50px;}
</style> </style>
<section class="page_404"> <section class="page_404">
<div class="container"> <div class="container middle">
<div class="row"> <div class="row">
<div class="col-sm-12 "> <div class="col-sm-12 ">
<div class="col-sm-10 col-sm-offset-1 text-center"> <div class="col-sm-10 col-sm-offset-1 text-center inner">
<div class="four_zero_four_bg"> <div class="four_zero_four_bg">
<h1 class="text-center ">404</h1> <h1 class="text-center ">404</h1>