Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rapikan css #740

Merged
merged 2 commits into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ Di rilis v2307.0.1 berisi perbaikan yang diminta Komunitas OpenDK.
1. [#685](https://github.com/OpenSID/OpenDK/issues/685) Tambahkan flag HttpOnly pada setiap Cookie.
2. [#687](https://github.com/OpenSID/OpenDK/issues/687) Tambahkan Header Anti-MIME-Sniffing X-Content-Type-Options tidak disetel ke 'nosniff'.
3. [#686](https://github.com/OpenSID/OpenDK/issues/686) Memindahkan file sumber JavaScript dari domain yang berbeda.
4. [#684](https://github.com/OpenSID/OpenDK/issues/684) Perbaikan terkait Content-Security-Policy header.
4. [#684](https://github.com/OpenSID/OpenDK/issues/684) Perbaikan terkait Content-Security-Policy header.
5. [#737](https://github.com/OpenSID/OpenDK/issues/737) Rapikan css inline.
107 changes: 107 additions & 0 deletions public/css/desa.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
.select2-container--default {
padding: 5px !important;
font-size: 12px !important;
}

.card-body {
padding: 10px;
background-color: white;
}

.page-header {
background: rgb(0, 43, 105);
background: linear-gradient(180deg, rgba(0, 43, 105, 1) 0%, rgba(0, 25, 142, 1) 50%, rgba(0, 43, 105, 1) 100%);
color: white;
}

p {
font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
font-size: 14px;
font-style: normal;
font-variant: normal;
font-weight: 400;
line-height: 21px;
}

.page-header strong {
padding-left: 90px;
font-family: 'Lato', sans-serif;
}

@media(max-width:980px) {
.page-header strong {
font-size: 18px;
}

.card-body p {
text-align: justify;
}
}

.fat-arrow {
display: flex;
align-items: center;
width: 60px;
height: 40px;
position: absolute;
background: #ff4900;
margin-right: 20px;
color: white;
text-align: left;
line-height: 15px;

}

.fat-arrow:before {
content: "";
position: absolute;
right: -20px;
bottom: 0;
width: 0;
height: 0;
border-left: 20px solid #ff4900;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
}

.flo-arrow {
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
justify-content: center;
width: 30px;
height: 25px;
position: absolute;
left: 3px;
padding-left: 8px;
background: #fff;
color: #000;
font-weight: bold;
z-index: 2;
box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
}

.flo-arrow:before {
content: "";
position: absolute;
right: -7px;
bottom: 0;
width: 0;
height: 0;
border-left: 7px solid #FFF;
border-top: 13px solid transparent;
border-bottom: 12px solid transparent;
}

.title-artikel {
font-size: 14px;
font-family: 'Lato', sans-serif;
/* font-family: 'Varela', sans-serif; */
/* font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 21px; */
}

.card-horizontal {
display: flex;
flex: 1 1 auto;
}
102 changes: 1 addition & 101 deletions resources/views/pages/berita/desa.blade.php
Original file line number Diff line number Diff line change
@@ -1,106 +1,6 @@
@extends('layouts.app')
@push('css')
<style>
.select2-container--default {
padding: 5px !important;
font-size: 12px !important;
}

.card-body {
padding: 10px;
background-color: white;
}

.page-header{
background: rgb(0, 43, 105);
background: linear-gradient(180deg, rgba(0, 43, 105, 1) 0%, rgba(0, 25, 142, 1) 50%, rgba(0, 43, 105, 1) 100%);
color:white;
}
p {
font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 21px;
}

.page-header strong{
padding-left: 90px;
font-family: 'Lato', sans-serif;
}

@media(max-width:980px){
.page-header strong{
font-size: 18px;
}

.card-body p{
text-align: justify;
}
}
.fat-arrow {
display: flex;
align-items:center;
width: 60px;
height: 40px;
position: absolute;
background: #ff4900;
margin-right: 20px;
color: white;
text-align: left;
line-height: 15px;

}

.fat-arrow:before {
content: "";
position: absolute;
right: -20px;
bottom: 0;
width: 0;
height: 0;
border-left: 20px solid #ff4900;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
}

.flo-arrow {
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
justify-content: center;
width: 30px;
height: 25px;
position: absolute;
left: 3px;
padding-left: 8px;
background: #fff;
color: #000;
font-weight:bold;
z-index: 2;
box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.75);
}

.flo-arrow:before {
content: "";
position: absolute;
right: -7px;
bottom: 0;
width: 0;
height: 0;
border-left: 7px solid #FFF;
border-top: 13px solid transparent;
border-bottom: 12px solid transparent;
}
.title-artikel{
font-size: 14px;
font-family: 'Lato', sans-serif;
/* font-family: 'Varela', sans-serif; */
/* font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 21px; */
}

.card-horizontal {
display: flex;
flex: 1 1 auto;
}
</style>
<link rel="stylesheet" href="{{ asset('/css/desa.css') }}">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap" rel="stylesheet">
@endpush
Expand Down
102 changes: 1 addition & 101 deletions resources/views/pages/index.blade.php
Original file line number Diff line number Diff line change
@@ -1,107 +1,7 @@
@extends('layouts.app')
@section('title','Beranda')
@push('css')
<style>
.select2-container--default {
padding: 5px !important;
font-size: 12px !important;
}

.card-body {
padding: 10px;
background-color: white;
}

.page-header{
background: rgb(0, 43, 105);
background: linear-gradient(180deg, rgba(0, 43, 105, 1) 0%, rgba(0, 25, 142, 1) 50%, rgba(0, 43, 105, 1) 100%);
color:white;
}
p {
font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 21px;
}

.page-header strong{
padding-left: 90px;
font-family: 'Lato', sans-serif;
}

@media(max-width:980px){
.page-header strong{
font-size: 18px;
}

.card-body p{
text-align: justify;
}
}
.fat-arrow {
display: flex;
align-items:center;
width: 60px;
height: 40px;
position: absolute;
background: #ff4900;
margin-right: 20px;
color: white;
text-align: left;
line-height: 15px;

}

.fat-arrow:before {
content: "";
position: absolute;
right: -20px;
bottom: 0;
width: 0;
height: 0;
border-left: 20px solid #ff4900;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
}

.flo-arrow {
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
justify-content: center;
width: 30px;
height: 25px;
position: absolute;
left: 3px;
padding-left: 8px;
background: #fff;
color: #000;
font-weight:bold;
z-index: 2;
box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.75);
}

.flo-arrow:before {
content: "";
position: absolute;
right: -7px;
bottom: 0;
width: 0;
height: 0;
border-left: 7px solid #FFF;
border-top: 13px solid transparent;
border-bottom: 12px solid transparent;
}
.title-artikel{
font-size: 14px;
font-family: 'Lato', sans-serif;
/* font-family: 'Varela', sans-serif; */
/* font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 21px; */
}

.card-horizontal {
display: flex;
flex: 1 1 auto;
}
</style>
<link rel="stylesheet" href="{{ asset('/css/desa.css') }}">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap" rel="stylesheet">
@endpush
Expand Down