\documentclass[a4paper,11pt]{article}
\usepackage[polish]{babel}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{xcolor}

\begin{document}

\fcolorbox{black!90}{gray}{\color{white}
\begin{minipage}{7cm}
Istnieje ponad sto geometrycznych dowodów twierdzenia Pitagorasa.
\end{minipage}}

\end{document}