Skip to content

Commit

Permalink
Merge branch 'development' into missing-students-499
Browse files Browse the repository at this point in the history
  • Loading branch information
horcsinbalint committed Apr 12, 2024
2 parents e864c90 + 66dc826 commit ba23b14
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 19 deletions.
Expand Up @@ -5,7 +5,6 @@
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Validator;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Mail;
use App\Mail\EpistolaCollegii;
use Image;
Expand Down
46 changes: 28 additions & 18 deletions resources/views/emails/epistola.blade.php
@@ -1,27 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml" lang="hu">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/app.css') }}">
</head>
<body>
<style>
@media only screen and (max-width: 600px) {
.inner-body {
width: 100% !important;
}
.footer {
width: 100% !important;
}
}
@media only screen and (max-width: 500px) {
.button {
width: 100% !important;
}
.article {
hyphens: auto;
}
</style>
<style>
@-ms-viewport{
width: extend-to-zoom;
zoom: 1.0;
Expand All @@ -31,6 +19,28 @@
width: extend-to-zoom;
}
</style>
<style>
@media only screen and (max-width: 600px) {
.inner-body {
width: 100% !important;
}
.footer {
width: 100% !important;
}
}
@media only screen and (max-width: 500px) {
.button {
width: 100% !important;
}
}
@media only screen and (max-width:1000px) {
p {
text-align: left !important;
}
}
</style>
</head>
<body>
<div style="max-width: 800px;">
<!--[if (gte mso 9)|(IE)]>
<table cellspacing="0" cellpadding="0" border="0" width="800"><tr><td>
Expand Down Expand Up @@ -98,7 +108,7 @@
</table>
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="content-cell">
<td class="content-cell article">
@foreach ($news as $article)
<h2>{{ $loop->iteration }}.<span>{{$article->title }}</span></h2>
<h3>{{$article->date_time}}</h3>
Expand Down

0 comments on commit ba23b14

Please sign in to comment.