Skip to content

Commit

Permalink
사이즈 조절
Browse files Browse the repository at this point in the history
  • Loading branch information
JoJinho333 committed Dec 19, 2022
1 parent cf402ed commit 503a67f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
1 change: 1 addition & 0 deletions cafe/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -11552,6 +11552,7 @@ html {
height: 4.375rem;
}


.topbar #sidebarToggleTop {
height: 2.5rem;
width: 2.5rem;
Expand Down
2 changes: 1 addition & 1 deletion cafe/templates/cafe/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% block content %}

<!-- 세로 : 768 가로 : 1024-->
<!-- 가로 : 1640 세로 : 2360-->
<style>
.py-custom {
padding-top: 21.5% !important;
Expand Down
23 changes: 19 additions & 4 deletions cafe/templates/cafe/old_order.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
background-color: #399B83;
border-color: #399B83;
cursor: pointer;
padding: 15px 35px;
padding: 50px 80px;
display: inline-block;
margin: 0 0 1rem;
border-radius: 0.5rem;
Expand Down Expand Up @@ -144,20 +144,35 @@
.tab_cont div.on{
display: block;
}

.box3 {
width: 400px;
height: 400px;
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.top_box {
height: 150px;
}

.btn_height {
width: 300px;
height: 100px;
margin-top : 15px;
}

.si {
margin-top : 130px;
}
</style>

<nav class="topbar navbar-expand-lg navbar-light py-2" style="background-color: #B9DFD5;">
<nav class="topbar navbar-expand-lg navbar-light py-2 top_box" style="background-color: #B9DFD5;">
<div class="container px-4 px-lg-5">
<div class="collapse navbar-collapse" id="navbarSupportedContent" OnClick="location.href ='{% url 'cafe:home' %}'" style="cursor:pointer;">
<button class="btn btn-primary btn-lg">
<button class="btn btn-primary btn-lg btn_height">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-globe-asia-australia" viewBox="0 0 16 16">
<path d="m10.495 6.92 1.278-.619a.483.483 0 0 0 .126-.782c-.252-.244-.682-.139-.932.107-.23.226-.513.373-.816.53l-.102.054c-.338.178-.264.626.1.736a.476.476 0 0 0 .346-.027ZM7.741 9.808V9.78a.413.413 0 1 1 .783.183l-.22.443a.602.602 0 0 1-.12.167l-.193.185a.36.36 0 1 1-.5-.516l.112-.108a.453.453 0 0 0 .138-.326ZM5.672 12.5l.482.233A.386.386 0 1 0 6.32 12h-.416a.702.702 0 0 1-.419-.139l-.277-.206a.302.302 0 1 0-.298.52l.761.325Z"/>
<path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM1.612 10.867l.756-1.288a1 1 0 0 1 1.545-.225l1.074 1.005a.986.986 0 0 0 1.36-.011l.038-.037a.882.882 0 0 0 .26-.755c-.075-.548.37-1.033.92-1.099.728-.086 1.587-.324 1.728-.957.086-.386-.114-.83-.361-1.2-.207-.312 0-.8.374-.8.123 0 .24-.055.318-.15l.393-.474c.196-.237.491-.368.797-.403.554-.064 1.407-.277 1.583-.973.098-.391-.192-.634-.484-.88-.254-.212-.51-.426-.515-.741a6.998 6.998 0 0 1 3.425 7.692 1.015 1.015 0 0 0-.087-.063l-.316-.204a1 1 0 0 0-.977-.06l-.169.082a1 1 0 0 1-.741.051l-1.021-.329A1 1 0 0 0 11.205 9h-.165a1 1 0 0 0-.945.674l-.172.499a1 1 0 0 1-.404.514l-.802.518a1 1 0 0 0-.458.84v.455a1 1 0 0 0 1 1h.257a1 1 0 0 1 .542.16l.762.49a.998.998 0 0 0 .283.126 7.001 7.001 0 0 1-9.49-3.409Z"/>
Expand Down Expand Up @@ -188,7 +203,7 @@ <h3 class="masthead-heading text-center text-uppercase text-white mb-0" style="p
</ul>

</div>
<div class="row justify-content-center">
<div class="row justify-content-center si">

<div class="row justify-content-center" id="menu_content--hotcoffee" style="display: auto;">
{% for menu in hot_coffee_all %}
Expand Down

0 comments on commit 503a67f

Please sign in to comment.